Closed bbartling closed 1 year ago
Yes, it's trying to do a broadcast Who-Is-Router-To-Network and your settings and/or environment don't have enough information to figure out what the local broadcast address should be. There are two ways to solve this:
1) add --address 192.168.0.99/24
to the command line giving it the correct IPv4 address and network size (the number of 1-bits in your subnet mask)
2) install ifaddr with pip install ifaddr
and run again, if the module is available then it will be used to scan through your interfaces and try to pick the right one. It's fine most of the time, but if you have some docker networking and VPN tunnels and such it can get confused.
Note that ifaddr is the replacement for netifaces which hasn't found someone to continue development.
Works great with the pip install ifaddr
! I added that to my notes.
Am trying out the read-proprety.py from the sample running locally on Ubuntu with Pypi installed bacpypes 3 updated to
Also curious to know for my own learning purposes when a read request is sent out is there also broadcast sent out as well? Is that
who-is
? I notice theno broadcast
error.The device I am working with are old Schneider electric MSTP devices sent out to pasture where in their retirement they are just test bench devices to play with.
Thanks!