Here's the Flow
T3700.txt (69.5 KB)
Here's what I did. There are multiple ways to achieve this.
While in OpenHAB Paper UI, create a new "Generic MQTT Thing" named HVAC. Then create a "Number" Channel with MQTT state topic set to "HVAC/Upstairs/Temp" and MQTT command topic set to "HVAC/Upstairs/SetTemp". Repeat for whatever else you want to add to OH.
- I use a flow named "Injection Master" that handles all my communications in and out of Node Red. i.e. MQTT, email, and other APIs. Therefore, you will see "Link Nodes" where the MQTT would normally be. I do this to keep the number of calls and puts down.
- I've added "Comment Nodes" for notes in this flow. You'll see MQTT command topics and MQTT state topics for OH integration.
vennstar-api.pdf (76.2 KB)