Smick_08_transmitter_v2

Example

[{"id":"275be6c8.9765ca","type":"tab","label":"RF_transmitter"},{"id":"adef054f.686cc8","type":"link out","z":"275be6c8.9765ca","name":"command","links":["1096456f.bfc93b"],"x":555,"y":320,"wires":[]},{"id":"915a1708.ded2b8","type":"comment","z":"275be6c8.9765ca","name":"Description","info":"Smick_03_digital_output\n____________________________________________________________________\nPackage : Smick v.1\nModule  : digital output\nAuthor  : Curci\nLicence : (CC) BY-NC-SA\n\nThis work is licensed under a Creative Commons \nAttribution-NonCommercial-ShareAlike \n4.0 International License.\n\nHistory\n\nDate        Author  Description\n2016.12.26  Curci   genesis\n_______________________________________________________________________________\n\nDescription\n\ntodo\n\n_______________________________________________________________________________\n\nBill Of Material\n\nHardware:\n\n    1 Human internet terminal (PC, tablet or smartphone) connected to the internet\n    1 Smick Wi-Fi connected to the internet\n\nHW Connections:\n\n    None.\n\nFlow Connections:\n\n    None\n\nAccount:\n\n    Wi-Fi router\n    MQTT broker\n    FRED\n","x":160,"y":80,"wires":[]},{"id":"64b2430f.5d517c","type":"ui_switch","z":"275be6c8.9765ca","name":"","label":"LED off/on","group":"aa924b55.c86d28","order":1,"width":"3","height":"1","passthru":true,"topic":"","style":"","onvalue":"RF1=1000010000","onvalueType":"str","onicon":"","oncolor":"","offvalue":"RF0=1000010000","offvalueType":"str","officon":"","offcolor":"","x":310,"y":260,"wires":[["adef054f.686cc8"]]},{"id":"c5fa727b.6ea9e","type":"ui_switch","z":"275be6c8.9765ca","name":"","label":"Light off/on","group":"aa924b55.c86d28","order":2,"width":"3","height":"1","passthru":true,"topic":"","style":"","onvalue":"RF1=1000001000","onvalueType":"str","onicon":"","oncolor":"","offvalue":"RF0=1000001000","offvalueType":"str","officon":"","offcolor":"","x":310,"y":320,"wires":[["adef054f.686cc8"]]},{"id":"3d9a845b.9bf70c","type":"ui_switch","z":"275be6c8.9765ca","name":"","label":"Printer off/on","group":"aa924b55.c86d28","order":3,"width":"3","height":"1","passthru":true,"topic":"","style":"","onvalue":"RF1=1000000100","onvalueType":"str","onicon":"","oncolor":"","offvalue":"RF0=1000000100","offvalueType":"str","officon":"","offcolor":"","x":310,"y":380,"wires":[["adef054f.686cc8"]]},{"id":"1befd5bc.ef783a","type":"ui_switch","z":"275be6c8.9765ca","name":"","label":"Speaker off/on","group":"aa924b55.c86d28","order":4,"width":"3","height":"1","passthru":true,"topic":"","style":"","onvalue":"RF1=1000000010","onvalueType":"str","onicon":"","oncolor":"","offvalue":"RF0=1000000010","offvalueType":"str","officon":"","offcolor":"","x":320,"y":440,"wires":[["adef054f.686cc8"]]},{"id":"38bcadd4.879262","type":"ui_switch","z":"275be6c8.9765ca","name":"","label":"disable/enable","group":"42bc99ae.399958","order":1,"width":"6","height":"1","passthru":true,"topic":"","style":"","onvalue":"RFT::D7","onvalueType":"str","onicon":"","oncolor":"","offvalue":"RFT::NULL","offvalueType":"str","officon":"","offcolor":"","x":320,"y":200,"wires":[["adef054f.686cc8"]]},{"id":"23086c65.a55844","type":"ui_switch","z":"275be6c8.9765ca","name":"","label":"All off/on","group":"aa924b55.c86d28","order":4,"width":"6","height":"1","passthru":true,"topic":"","style":"","onvalue":"RF1=1000010000;RF1=1000001000;RF1=1000000100;RF1=1000000010","onvalueType":"str","onicon":"","oncolor":"","offvalue":"RF0=1000010000;RF0=1000001000;RF0=1000000100;RF0=1000000010","offvalueType":"str","officon":"","offcolor":"","x":300,"y":500,"wires":[["adef054f.686cc8"]]},{"id":"a4760823.746b58","type":"function","z":"275be6c8.9765ca","name":"RF=n","func":"msg.payload=\"RFT::D7;RF=\"+msg.payload+\";RFT::NULL\";\nreturn msg;","outputs":1,"noerr":0,"x":290,"y":660,"wires":[["dbf71680.151758"]]},{"id":"dbf71680.151758","type":"ui_button","z":"275be6c8.9765ca","name":"","group":"cc55b72f.70a438","order":2,"width":"2","height":"1","label":"send","color":"","icon":"","payload":"","payloadType":"str","topic":"","x":410,"y":660,"wires":[["adef054f.686cc8"]]},{"id":"e69bfa2f.bde938","type":"ui_text","z":"275be6c8.9765ca","group":"cc55b72f.70a438","order":1,"width":"4","height":"1","name":"","label":"RF code","format":"{{msg.payload}}","layout":"row-left","x":300,"y":600,"wires":[]},{"id":"ba735d6f.e56d3","type":"link in","z":"275be6c8.9765ca","name":"RF send code","links":["9c54051a.e8d0a8"],"x":175,"y":620,"wires":[["e69bfa2f.bde938","a4760823.746b58"]]},{"id":"aa924b55.c86d28","type":"ui_group","z":"","name":"appliances","tab":"27378c0c.6e2e24","order":2,"disp":true,"width":"6"},{"id":"42bc99ae.399958","type":"ui_group","z":"","name":"remote control","tab":"27378c0c.6e2e24","order":1,"disp":true,"width":"6"},{"id":"cc55b72f.70a438","type":"ui_group","z":"","name":"send code","tab":"27378c0c.6e2e24","order":3,"disp":true,"width":"6"},{"id":"27378c0c.6e2e24","type":"ui_tab","z":"","name":"RF transmitter","icon":"dashboard","order":5}]

Flow Info

Created 7 years, 10 months ago
Rating: not yet rated

Owner

Actions

Rate:

Node Types

Core
  • comment (x1)
  • function (x1)
  • link in (x1)
  • link out (x1)
Other
  • tab (x1)
  • ui_button (x1)
  • ui_group (x3)
  • ui_switch (x6)
  • ui_tab (x1)
  • ui_text (x1)

Tags

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