Motion sensor (PIR)
Install EnOcean stuff
A EnOcean USB dongle is needed and a EnOcean software should be installed once.
Look at the dedicated sheet to install the EnOcean USB dongle and the dedicated software.
Register the sensor
On the back, you can find the “Menu” (sometime called “LEARN”) button.
Its exact place depends of the device:
Press it.
A new node will be created (you get notified to refresh the browser to see it on the workspace).
The Number displayed is a unique identifier of the sensor.
Build the flow
This node provides presence information on the flow: - msg.payload contains the status - msg.message contains a message for a human
Lets use the Display node to see the result:
Lets now use the Debug node to see the technical internal content of the flow.
Edit the Debug Node to display the complete msg:
In the Display panel,
- msg.payload 1 means presence on
- msg.payload 0 means presence off
How to use the sensor
Some ideas to use this sensor:
- Send an email when someone enters your home
- Turn a light red when someone is in a particular room