bitpool / edge-bacnet

A bitpool-edge bacnet gateway for Node-RED
MIT License
9 stars 6 forks source link

Cannot discover devices #26

Open doubleopinter opened 2 weeks ago

doubleopinter commented 2 weeks ago

Hi, I'm trying to use the driver and am having issues discovering devices. Details

The device discovers itself but nothing else. I have another software (skyspark) that I also run in a container on that device and it is able to discover the devices (I don't run skyspark and node red at the same time). I've tried setting the network interface to every option but still nothing.

Please let me know what else I can provide.

dblanchie commented 2 weeks ago

Hi there,

Send a screen capture of the adapter list dropped down and your entire network settings view.

Also for discussion it is good to jump into the discord

Thanks

doubleopinter commented 2 weeks ago

Hello, I'll send it asap. What network settings view are you referring to?

dblanchie commented 2 weeks ago

The ones in nodered, on the gateway node

doubleopinter commented 2 weeks ago
Screenshot 2024-06-20 at 7 16 29 PM Screenshot 2024-06-20 at 7 16 36 PM Screenshot 2024-06-20 at 7 16 41 PM
doubleopinter commented 2 weeks ago

Just as a quick reference this is what Skyspark finds. I'm not comparing or expecting this to be skyspark, just as a sanity check. The list at the bottom are the devices it discovered on that one subnet.

Screenshot 2024-06-20 at 7 20 10 PM
bitpool-dev commented 2 weeks ago

Hi @doubleopinter - Are you able to try and change the broadcast address on the gateway node to "10.254.251.255" while leaving the network interface option as "0.0.0.0" ? Please restart node-red after deploying this change

Also can you please confirm that you are not running multiple BACnet services on the same device concurrently ? Port 47808 does not like sharing network traffic, especially with node-red

doubleopinter commented 1 week ago

Hi @bitpool-dev that worked! It instantly found the devices. Thank you. Related question. If we were in a situation where both interfaces had bacnet devices on them, would it work to scan both of those individually and then reading would still work on both trunks?