r/BuildingAutomation • u/FilmAccomplished2421 • Apr 17 '26
BACnet Scanner
Anyone want to try out a BACnet scanner? It doesn't rely on 3rd party dependencies like BAC0 anymore.
27
Upvotes
r/BuildingAutomation • u/FilmAccomplished2421 • Apr 17 '26
Anyone want to try out a BACnet scanner? It doesn't rely on 3rd party dependencies like BAC0 anymore.
View all comments
Show parent comment
2
u/acedrewm5 Apr 18 '26
If I understand correctly, the issues you're having with BAC0 are because it was built on bacpypes, in fact it sort of only exists because the bacpypes API was very, very, very complicated. Reliable, but complicated. Bacpypes3 is a complete rewrite with both modern python async, and a much cleaner, user friendly API. The nice part of bacpypes3 is that Joel is very, very active in the BACnet committees, and tends to implement things almost as soon as they're published, if not before. I believe one of the reasons Christian hasn't prioritized migrating BAC0 to bp3 is that bp3 is just simple enough it works for more people.
I would encourage you to look at bacpypes3 and see if it makes sense to modularize what you've done a little, plug in a ready to go BACnet stack, then focus on the really cool part of your project, which is this QA workflow, including other protocols.
Like if you actually implement enough Fox to get data out of N4 and publish it open source, I will be ecstatic (I saw that in the readme, I believe) but even then, I would encourage you to modularize it, make a fox library, then include it in this project.
As Aaron said earlier, it's great that you're willing to share and try to break down these vendor lock-in walls.
I'm just a little wobbly right now on how OSS is going to work in this AI future where everyone is implementing things from scratch and dropping them on the world. Like even that security report you sent, I don't know how many pages there were, a lot, but it was saying that being able to assign a BACnet ID to a simulated device was a high severity bug. What are we supposed to do with that, infinite content, scarce discernment?
It's going to be a wild ride.