volttron

volttron read BACnet points to message bus

妖精的绣舞 提交于 2021-01-07 06:49:05
问题 I am setting up a rasp pi on a test bench with a MSTP BACnet controller with 2 temp sensors. How can I continuously read/publish these sensor readings to the VOLTTRON message bus? RPi->ethernet->router->mstpdevice I think I am missing some initial step with how to view VOLTTRON log file in the pi terminal. Is it possible to view through SSH the pi terminal and the tail of the VOLTTRON .log/message bus? I have volttron setup and running on the pi, with running python3 bacnet_scan.py I can see

bacnet_scan output a csv file error TypeError: a bytes-like object is required, not 'str'

左心房为你撑大大i 提交于 2020-12-15 01:35:25
问题 When running bacnet_scan.py it looks like this: (volttron) (base) bartlino@bartlino-Latitude-E5530-non-vPro:~/Desktop/volttron/scripts/bacnet$ python bacnet_scan.py Device Address = <Address 192.168.0.190> Device Id = 0 maxAPDULengthAccepted = 1476 segmentationSupported = noSegmentation vendorID = 245 Device Address = <Address 192.168.0.102> Device Id = 3056183 maxAPDULengthAccepted = 1024 segmentationSupported = segmentedBoth vendorID = 842 Device Address = <RemoteStation 12345:2> Device Id

volttron.platform.vip.agent.core ERROR: Possible conflicting identity

北战南征 提交于 2020-01-07 07:50:29
问题 I have been working towards building my agent development skills in Volttron. I am completely new to the platform and trying to understand how to create basic agents that publish and subscribe to the Volttron bus. I'm not alone in this venture and get help from a few other people with experience, but even they are stumped. We are using the same agent files we share through GitHub, but the agent works on their computers and not on mine. The publishing agent reads from a CSV file that is in the

How can I debug a connection issue within VOLTTRON?

╄→гoц情女王★ 提交于 2019-12-25 06:32:49
问题 I am connecting to an external VOLTTRON instance. I am not getting a response from the connection. What's the issue? I am writing a simple python script to connect to an external platform and retrieve the peers. If I get the serverkey, clientkey, and/or publickey incorrect I don't know how to determine which is the culprit, from the client side. I just get a gevent timeout. Is there a way to know? import os import gevent from volttron.platform.vip.agent import Agent secret = "secret" public =

Volttron enters what seems like an almost endless loop

随声附和 提交于 2019-12-25 00:52:58
问题 I have installed about 40 agents to run some simulation. But I run into some threading errors. The errors are shown below. 2019-08-06 10:56:24,120 (socialagent-3.0 16231) ERROR: Exception in thread Thread-31: 2019-08-06 10:56:24,124 (socialagent-3.0 16231) ERROR: Traceback (most recent call last): 2019-08-06 10:56:24,135 (socialagent-3.0 16231) ERROR: File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner 2019-08-06 10:56:24,162 (socialagent-3.0 16231) ERROR: self.run() 2019

What is CURVE I : cannot open client INITIATE vouch?

删除回忆录丶 提交于 2019-12-25 00:06:46
问题 I have a problem about forward historian. I install volttron_central on PC called A, and then instlal volttron_sub on Raspberry pi. I entered the command 'vctl auth keypair' on volttron_central, and then I got the serverkey and secretkey. and I install forward historian on volttron-sub, and running volttron-sub & volttron-central. but I saw that 'CURVE I : cannot open client INITIATE vouch' on VOLTTRON_Central terminal. I want to install forward historian on volttron-sub and send device

Error: volttron.platform.web INFO: Web server not started

痴心易碎 提交于 2019-12-13 09:22:28
问题 I am having a hard time creating my first example listener agent on the Volttron platform. This is the error I am getting when I enter the (tail volttron.log) command after creating and starting the agent: 2017-01-13 13:12:56,664 (listeneragent-3.2 16153) volttron.platform.vip.agent.core ERROR: No response to hello message after 10 seconds. 2017-01-13 13:12:56,664 (listeneragent-3.2 16153) volttron.platform.vip.agent.core ERROR: A common reason for this is a conflicting VIP IDENTITY. 2017-01

vip.pubsub.publish method does not timeout

╄→гoц情女王★ 提交于 2019-12-12 04:25:35
问题 This question was previously asked here, VIP publish function not timing out when remote platform is dead, but unfortunately went unanswered. This gist of the problem is that the vip.pubsub.publish method does not timeout if a remote platform drops off the network. Specifically, I have an agent that publishes both locally and to several different external platforms. If individual agents drop off the remote platform there is no problem. However, if the entire remote platform drops off the

RPC crashes with AttributeError: 'NoneType' object has no attribute 'call'

一世执手 提交于 2019-12-12 02:16:02
问题 I am trying to develop an agent that queries platform.historian but got this error message when using RPC query method: AttributeError: 'NoneType' object has no attribute 'call' class TCMAgent(Agent): def __init__(self, config_path, **kwargs): super(TCMAgent, self).__init__(**kwargs) self.config = utils.load_config(config_path) self.site = self.config.get('campus') self.building = self.config.get('building') self.unit = self.config.get('unit') self.subdevices = self.config.get('subdevices')