Connect EnOcean Switch to Node-RED Follow
This walkthrough shows how to add an EnOcean switch to Mobius and have its switch pushed events published to Node-RED.
- Add an enocean-TCM300-driver service and check its Run At Start. Click Save Changes
- Add an enocean-devices service and check its Run At Start. Click Save Changes
- Add an enocean_F6-02-XX (EnOcean profile for a switch) object to the enocean-devices service and enter the switch's EnOcean UID. Click Save Changes
- Add a node-red-connector service and check its Run At Start.
- Enter the Host, Port and PSK properties.
- Click Save Changes
- Go to the Diagnostics page
- Manually start all services by clicking on their Start buttons and wait for them to start
- Go to the Node-RED Flows page
- Drag a Mobius enocean switch from the Node-RED palette onto the flow
- Double click on the switch node to open its configuration page
- Click on the pencil icon to enter the Mobius connection information
- Enter the Mobius connection details using the same information that you added to the node-red-connector service in step 4
- Click Add, followed by Done
- Click Deploy and ignore the error
- Double click on the switch node to re-open its configuration page
- Click on the search icon to get a list of all configured EnOcean switches and select the previously configured switch
- Click on Done
- From the Node-RED palette, drag in a debug Node-RED node and connect all four switch outputs to the debug input
- Click on Deploy
- Select the Node-RED debug tab on the right
- Push the EnOcean switch and verify that the messages show up in the debug tab
Comments
0 comments
Please sign in to leave a comment.