volttron

Add a new page to Volttron Central

孤街醉人 提交于 2019-12-12 01:50:09
问题 I have a standalone HTML page with jQuery. The jQuery is used to do AJAX call to the Python backend. I need to integrate it with Volttron Central. I have looked at the documentation but there is no section talking about this. I think it would be nice to have this kind of info in the doc. My current approach is to convert the backend Python to be a Volttron agent but I don't know how to integrate the front end HTML page with VC. Any suggestion where to start? Thanks. 回答1: When you have an

VIP publish function not timing out when remote platform is dead

我是研究僧i 提交于 2019-12-12 00:38:48
问题 I am following the example in this thread to try to publish messages to a remote VOLTTRON platform, and it is working fine when the remote platform is running and set-up correctly. However, when the remote platform is not running, the publish function remains blocking forever and won't time out. This prevents detection of when the remote platform is not running, and also prevents execution of rest of the code. from volttron.platform.vip.agent import Core, Agent import gevent def vip_publish

Switching between or adding multiple VOLTTRON Historian Framework

假如想象 提交于 2019-12-11 17:03:19
问题 I have below agent installed in my Volttron platform: AGENT - IDENTITY - TAG sqlhistorianagent-3.6.1 - platform.historian - platform_historian Following the documentation: http://volttron.readthedocs.io/en/4.1/core_services/historians/index.html I tried to install another Historian -( Mongo Historian ) following this doc.:http://volttron.readthedocs.io/en/4.1/core_services/historians/Mongo-Historian.html#prerequisites Below the steps followed to install mongodb on Ubuntu: Prerequisites 1

Error while running the bemoss, I am getting AttributeError: 'gevent._event.AsyncResult' object has no attribute 'ident'

别等时光非礼了梦想. 提交于 2019-12-11 11:54:56
问题 File "src/gevent/greenlet.py", line 705, in gevent._greenlet.Greenlet.run File "/home/interview/BEMOSS3.5/volttron/platform/auth.py", line 147, in zap_loop time = gevent.core.time AttributeError: 'module' object has no attribute 'core' 2018-05-16T09:52:00Z <Greenlet "Greenlet-0" at 0x7f37102cd998: <bound method AuthService.zap_loop of <volttron.platform.auth.AuthService object at 0x7f3718630050>>(<volttron.platform.vip.agent.core.Core object at 0)> failed with AttributeError 2018-05-16 15:22

In VOLTTRON, how to use VIP to get agents talk across remote platform instances?

时光怂恿深爱的人放手 提交于 2019-12-02 15:51:47
问题 I am trying to get agents talk to each other across remote platform instances. For example, Agent1 running on machine1 (192.168.1.10) wants to talk to Agent2 running on machine2 (192.168.1.11) with VOLTTRON environment . I think VOLTTRON Interconnect Protocol (VIP) may be a good choice to implement that, but how to set it? Can anyone show me an example? Thanks. 回答1: Are you trying to have two agents talk directly or is the goal for them to publish messages to a remote bus for the other agent

In VOLTTRON, how to use VIP to get agents talk across remote platform instances?

纵然是瞬间 提交于 2019-12-02 09:52:42
I am trying to get agents talk to each other across remote platform instances. For example, Agent1 running on machine1 (192.168.1.10) wants to talk to Agent2 running on machine2 (192.168.1.11) with VOLTTRON environment . I think VOLTTRON Interconnect Protocol (VIP) may be a good choice to implement that, but how to set it? Can anyone show me an example? Thanks. Are you trying to have two agents talk directly or is the goal for them to publish messages to a remote bus for the other agent to see? If it's the latter, you can see an example in the ForwardHistorian: https://github.com/VOLTTRON