Comments (2)
There are some challenging parts to this problem, taking the last bit first.
Because you are using a VPN connection the BACnet address used by your application needs to be the one provided to you by the VPN server and provided to your workstation as an interface and address. For example, my device in my office has an IPv4 address on eth0 has something like 192.168.0.15/24 but when authenticated with the VPN server there is an additional interface csctun0 (Cisco AnyConnect Client) with an address like 10.0.99.16/24.
You are probably not going to be connected to a network that has a BBMD, so for broadcast traffic (like Who-Is-Router-To-Network) your application needs to register as a foreign device with an existing BBMD and you need to use the foreign device version of the application.
Assume you need to send a read request to MAC address 12 on BACnet network 75 and there is an IPv4 router to that network at address 10.0.75.17. The usual address form is 75:12
and the library will find the router, bind the router address to the network, and then send a unicast message to the router saying please forward this packet. If you register as a foreign device the library will send the routing request wrapped inside a Distribute-Broadcast-To-Network message to the BBMD which will forward it.
If for some reason you don't want to or can't register as a foreign device, there is a "route aware" option you can turn on and then specify the router directly in the address, in this case 75:[email protected]
. The routing table lookup is bypassed and your request is unicast directly to the router.
from bacpypes.
Awesome! thank you so much for this information @JoelBender . I'll try the "route aware" option and let you know.
from bacpypes.
Related Issues (20)
- asyncore removed from python 3.12 HOT 4
- Issue in dockerising an MSTP application using Misty and BACpypes HOT 1
- Problem with ConfirmedEventNotification in BACpypes Sample HOT 2
- BACnet device is not discoverable in Yabe HOT 4
- MAC Address from I-Am HOT 2
- Do we need to modify our code if we are prefering BACnet port as TCP over UDP? HOT 1
- Clearing / Releasing a priority HOT 2
- Dependency asyncore has been removed in python 3.12. HOT 2
- How do I alter the object properties' values while the simulator is running? HOT 1
- Remote network responds to WhoIsIAm but not ReadProperty HOT 5
- COV - how is Priority handled HOT 1
- COV subscription setting lifetime to 0 causes Error HOT 2
- Erroneous Day-of-week code in packet when building readRange log-buffer request with time-range HOT 6
- Upload GitHub release and PyPI archive HOT 2
- Python 3.12 Unsupported version of Python HOT 2
- Priority Array HOT 2
- External Device writing to one of My Objects HOT 7
- Is there a way to detect where a change came from in the BACnet Stack? HOT 2
- Issue with first use of set_timeout of IOCB when updating from v0.16 to v0.18 HOT 2
- [HELP] Unable to detect multiple devices connected to the same panel address HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bacpypes.