Node-RED nodes for hubitat

  • I use global.mode variable for mode checking inside of other flows (see "mode" switch nodes in picture below).
  • I use the mode node + link out to trigger other flows on mode change.
  • I use the inject node 10s after startup + mode node + link out node to trigger mode event at startup (to ensure logic is in correct state).

Link in to a random delay to the rest of ther flow to set behavior based on mode.

mode switch node:

3 Likes