node-red-contrib-enocean sending data

an example flow showing how to send data with node-red-contrib-enocean version 0.5.0-alpha.1

image

[{"id":"e0dd44b7.b17f88","type":"tab","label":"Flow 1","disabled":false,"info":""},{"id":"6543211a.397f9","type":"debug","z":"e0dd44b7.b17f88","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","x":600,"y":100,"wires":[]},{"id":"99feefe0.76382","type":"enocean-out","z":"e0dd44b7.b17f88","serialport":"cfcf4fbc.4250e","name":"","x":580,"y":140,"wires":[]},{"id":"173673bc.389dcc","type":"enocean-btn","z":"e0dd44b7.b17f88","name":"","x":320,"y":120,"wires":[["99feefe0.76382","6543211a.397f9"]]},{"id":"f6178d3.4ae237","type":"inject","z":"e0dd44b7.b17f88","name":"ON","topic":"","payload":"{\"button\":0,\"channel\":1,\"event\":\"click\"}","payloadType":"json","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":90,"y":100,"wires":[["173673bc.389dcc"]]},{"id":"e23dc5e9.1d5c28","type":"inject","z":"e0dd44b7.b17f88","name":"OFF","topic":"","payload":"{\"button\":1,\"channel\":1,\"event\":\"click\"}","payloadType":"json","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":90,"y":140,"wires":[["173673bc.389dcc"]]},{"id":"cfcf4fbc.4250e","type":"enocean-config-node","z":"","serialport":"/dev/ttyUSB0"}]

Flow Info

Created 6 years ago
Rating: 5 1

Owner

Actions

Rate:

Node Types

Core
  • debug (x1)
  • inject (x2)
Other
  • enocean-btn (x1)
  • enocean-config-node (x1)
  • enocean-out (x1)
  • tab (x1)

Tags

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