node-red-contrib-enocean listening to incomming data

this is an example flow to show how to use the actor node in node-red-contrib-enocean version 0.5.0-alpha.1 or higher. showing how to teach in and delete sensors automatically or manually using messages. this flow is for version 0.5.0-alpha.1 and higher

image

[{"id":"a6d29d13.3c30c","type":"tab","label":"Flow 4","disabled":false,"info":""},{"id":"cc35e6a6.347f58","type":"enocean-in","z":"a6d29d13.3c30c","serialport":"cfcf4fbc.4250e","name":"","x":190,"y":40,"wires":[["75dd71b9.5c90a"]],"info":"Light and Blind Control - Application Style 1"},{"id":"75dd71b9.5c90a","type":"enocean-actor","z":"a6d29d13.3c30c","name":"","x":450,"y":40,"wires":[["b2a7a955.ec75d8"]]},{"id":"b8da7324.ac706","type":"inject","z":"a6d29d13.3c30c","name":"LRN","topic":"","payload":"{\"type\":\"LRN\",\"duration\":3}","payloadType":"json","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":210,"y":220,"wires":[["75dd71b9.5c90a"]]},{"id":"336f88c5.932b18","type":"inject","z":"a6d29d13.3c30c","name":"DEL","topic":"","payload":"{\"type\":\"DEL\",\"duration\":3}","payloadType":"json","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":210,"y":180,"wires":[["75dd71b9.5c90a"]]},{"id":"d5957ef5.439f","type":"inject","z":"a6d29d13.3c30c","name":"manuell teach in","topic":"","payload":"{\"type\":\"LRN\",\"senderId\":\"002a1d7e\",\"eep\":\"f6-02-03\",\"name\":\"Button5\"}","payloadType":"json","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":170,"y":140,"wires":[["75dd71b9.5c90a"]]},{"id":"b2a7a955.ec75d8","type":"debug","z":"a6d29d13.3c30c","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"true","targetType":"full","x":650,"y":40,"wires":[]},{"id":"e529c437.4c4f18","type":"inject","z":"a6d29d13.3c30c","name":"manuell delete","topic":"","payload":"{\"type\":\"DEL\",\"senderId\":\"002a1d7e\",\"eep\":\"f6-02-01\"}","payloadType":"json","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":180,"y":100,"wires":[["75dd71b9.5c90a"]]},{"id":"cfcf4fbc.4250e","type":"enocean-config-node","z":"","serialport":"/dev/ttyUSB0"}]

Flow Info

Created 6 years ago
Updated 4 years, 5 months ago
Rating: not yet rated

Owner

Actions

Rate:

Node Types

Core
  • debug (x1)
  • inject (x4)
Other

Tags

  • enocean
  • node-red-contrib-enocean
  • iot
Copy this flow JSON to your clipboard and then import into Node-RED using the Import From > Clipboard (Ctrl-I) menu option