You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ive been experimenting in bacpypes making simple BACnet servers where the intention would be to integrate it into the building automation system (BAS).
Could I ever run BACnet server idea in a separate agent along side the existing BACnet Proxy Agent?? For example the BACnet proxy agent would run as normal with publishing data to the bus, then my BACnet server agent would listen to the message bus, make some calculations, and there would be BACnet "discoverable" objects to the BAS, like BACnet Analog Value (AV) and Binary Value (BV) points?
Asking Joel Bender this question about running 2 bacpypes applications side by side on the same machine:
JoelBender (Joel Bender)
You can run two BACpypes applications on the same machine if they are using different UDP port numbers. For example, run python3 -m bacpypes3 --address 10.0.1.90/24 in one window/terminal and python3 -m bacpypes3 --address 10.0.1.90/24:47809 in another. They will be on different BACnet networks, so unicast traffic between the two will be fine but they won't be able to "see" each other (Who-Is/I-Am). For that...
JoelBender (Joel Bender)
Run python3 -m bacpypes3 --address 10.0.1.90/24 --bbmd 10.0.1.90/24 --instance 998 in one window, notice that this is a BBMD. Run python3 -m bacpypes3 --instance 999 --address 10.0.1.90:47809 --foreign 10.0.1.90 --ttl 30 in a second window, notice that there is no network size in the address and it is running as a foreign device. Now both windows can put in whois * and display the I-Am response.
If the VOLTTRON agent isn't showing up during a discovery, it's probably defined with a simple IPv4 address like 192.168.0.12 rather than the CIDR notation 192.168.0.12/24. It could be that it isn't defined with a device object, but that would be unusual.
JoelBender (Joel Bender)
You can run both BACnet stacks in the same application at the same time, but that requires a little bit of fiddling with config files. In both of the applications above you can enter config yaml or config json (or even config rdf if you'd like) to see the configuration. The samples/router-json.py example has a single BACnet application layer but two network layers (two network port objects) and acts as a router between the two.
I'm working on a router-to-vlan.py sample floating around someplace that allows you to have an IPv4 network connection and act as a router to a virtual LAN and any number of other devices, but it's not ready yet and might not be for a while (unless you need it!).
Could this be accomplished in the VOLTTRON frame work on the edge device?? There is also another use case I could this as well for another research project regarding a lighting control system, automated shard system, and HVAC system..
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Ive been experimenting in bacpypes making simple BACnet servers where the intention would be to integrate it into the building automation system (BAS).
This is just a concept idea where I was experimenting with fault equation defined by ASHRAE Guideline 36:
https://github.com/bbartling/g36-fdd-bacnet-app
QUESTION, trying inside VOLTTRON on the edge?
Could I ever run BACnet server idea in a separate agent along side the existing BACnet Proxy Agent?? For example the BACnet proxy agent would run as normal with publishing data to the bus, then my BACnet server agent would listen to the message bus, make some calculations, and there would be BACnet "discoverable" objects to the BAS, like BACnet Analog Value (AV) and Binary Value (BV) points?
Asking Joel Bender this question about running 2 bacpypes applications side by side on the same machine:
Could this be accomplished in the VOLTTRON frame work on the edge device?? There is also another use case I could this as well for another research project regarding a lighting control system, automated shard system, and HVAC system..
Beta Was this translation helpful? Give feedback.
All reactions