Skip to content

Instantly share code, notes, and snippets.

@infosmick
Created January 1, 2017 06:47
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save infosmick/82c7b6dfbb247fcd3132ddd6815c260d to your computer and use it in GitHub Desktop.
Save infosmick/82c7b6dfbb247fcd3132ddd6815c260d to your computer and use it in GitHub Desktop.
Smick_08_RF_transmitter

RF remote control example

[
{
"id": "275be6c8.9765ca",
"type": "tab",
"label": "RF_transmitter"
},
{
"id": "adef054f.686cc8",
"type": "link out",
"z": "275be6c8.9765ca",
"name": "command",
"links": [
"1096456f.bfc93b"
],
"x": 455,
"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": "6",
"height": "1",
"passthru": true,
"topic": "",
"style": "",
"onvalue": "RF1=1000010000",
"onvalueType": "str",
"onicon": "",
"oncolor": "",
"offvalue": "RF0=1000010000",
"offvalueType": "str",
"officon": "",
"offcolor": "",
"x": 210,
"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": "6",
"height": "1",
"passthru": true,
"topic": "",
"style": "",
"onvalue": "RF1=1000001000",
"onvalueType": "str",
"onicon": "",
"oncolor": "",
"offvalue": "RF0=1000001000",
"offvalueType": "str",
"officon": "",
"offcolor": "",
"x": 210,
"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": "6",
"height": "1",
"passthru": true,
"topic": "",
"style": "",
"onvalue": "RF1=1000000100",
"onvalueType": "str",
"onicon": "",
"oncolor": "",
"offvalue": "RF0=1000000100",
"offvalueType": "str",
"officon": "",
"offcolor": "",
"x": 210,
"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": "6",
"height": "1",
"passthru": true,
"topic": "",
"style": "",
"onvalue": "RF1=1000000010",
"onvalueType": "str",
"onicon": "",
"oncolor": "",
"offvalue": "RF0=1000000010",
"offvalueType": "str",
"officon": "",
"offcolor": "",
"x": 220,
"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": 220,
"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": 200,
"y": 500,
"wires": [
[
"adef054f.686cc8"
]
]
},
{
"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": "27378c0c.6e2e24",
"type": "ui_tab",
"z": "",
"name": "RF transmitter",
"icon": "dashboard",
"order": 5
}
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment