Ultimately I am hoping to understand the work flow on how to make continuous BACnet read requests @ 60 second intervals to the temp sensor. (maybe eventually save the data to SQL)
I did this command highlighted yellow to install contrib-bacnet
But how do I pull these blue colored blocks from the pallete?
I suggest you start by watching the Node red Essentials videos. An hour or so watching those will give you a great introduction into what node-red is all about.
Yes same machine but when I run the BACnet discovery tool I have to kill the node-red.
The author of the node-red-bacnet-contrib finally got back to me saying that at the time MSTP isnt supported which is a bummer.
I would highly recommend going this route, its a wrapper code around Python bacpypes super easy to use and the author is real friendly on helping you get started.
Ok so now that I know the node BACnet stack cannot be used for MSTP BACnet networks (2-wire communication) I am experimenting with the Python BAC0 stack which is pretty cool btw, executing the Python script from node-red flow works. But how do I get the data back into Node Red work flow? I have a stackoverflow post on this, any advice? Also worth mentioning when I installed node-red it automatically installed Python 3.9 and I had to install the BAC0 bacnet package pip install BAC0 in order to get it to work successfully thru node-red...
We don’t install python so something else put that there. But no matter. Fir single calls out you can use the exec node and get a response. For long running processes the look at the node-red-node-daemon node that will start an app. Wait for responses but can also be sent new commands etc.
For what it is worth getting around the node-bacstack not supporting BACnet MSTP devices. I created a Python rest api app. See link for Git Gist. Basically the idea (that I have to learn next) on the node red side would be to make http requests to the Python bacnet app to get the bacnet data into node red.
bacnet_api_app.py (Python Flask http app) would run along side node-red hoping to do testing soon