vd Brink Home Automations

Home automations: Home Assistant, ESPHome, Node-RED and more.

Follow me on GitHub

Node-RED Light flows

Node-RED logo

Node-RED example flows related to light.


Table of Contents


Light on based on motion

Keep the lights on while there is motion detected.

Node-RED flow

You can download this flow here.

Scenario:

This flow turns on the light if someone enters the room and turn it off when nobody is detected for a while.

  • [MQTT node] Motion sensor
  • [Change node] Filter if the motion field

Explanation of each node:

  • [inject node]

  • This get node is part of the additional nodes set, named node-red-contrib-zigbee2mqtt. You must install this first to used it. Via the menu > Manage Palette > Palette

Additions to this flow:


Table of Content ^

<< See also my other Node-RED pages


^^ Top | Homepage | Best Buy Tips | Automation Ideas