Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BAC0 running in docker is not able to discover devices in network #449

Closed
shivangishakya opened this issue Mar 20, 2024 · 4 comments
Closed

Comments

@shivangishakya
Copy link

I am not able to discover bacnet devices if runs BAC0 script in docker. It is working fine in local machine (windows). Tried: network_mode = host and creating a network with gateway as my router's IP.

@ChristianTremblay
Copy link
Owner

This is a common issue with docker as UDP broadcast are not passing through...

Discovery will fail but I think you will be able to connect directly to a device (unicast)

@shivangishakya
Copy link
Author

Any way of bacnet discovery?

@ChristianTremblay
Copy link
Owner

Using docker, it's hard and I haven't done a lot of tests.

Last time I worked on that, I found this : https://www.youtube.com/watch?v=bKFMS5C4CG0

But I haven't had time to fully test everything. Basically, it really is down to the UDP broadcast that need to travel to the container and from the container.

Copy link

This issue had no activity for a long period of time. If this issue is still required, please update the status or else, it will be closed. Please note that an issue can be reopened if required.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants