I’m using Node-RED with the node-red-contrib-rfxcom plugin, a demo flow:
[
{
"id": "9d69f6bb.905698",
"type": "tab",
"label": "Novy",
"disabled": false,
"info": ""
},
{
"id": "5ca8a509.685e8c",
"type": "rfx-fan-out",
"z": "9d69f6bb.905698",
"name": "Novy Fan",
"port": "15853799.477678",
"topicSource": "node",
"topic": "NOVY/0",
"x": 500,
"y": 260,
"wires": []
},
{
"id": "bcceeca2.7d306",
"type": "inject",
"z": "9d69f6bb.905698",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "+",
"payloadType": "str",
"x": 230,
"y": 360,
"wires": [
[
"5ca8a509.685e8c"
]
]
},
{
"id": "31ecb5a3.e32b6a",
"type": "inject",
"z": "9d69f6bb.905698",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "power",
"payloadType": "str",
"x": 230,
"y": 260,
"wires": [
[
"5ca8a509.685e8c"
]
]
},
{
"id": "4de05d82.36a3d4",
"type": "inject",
"z": "9d69f6bb.905698",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "toggle",
"payloadType": "str",
"x": 230,
"y": 200,
"wires": [
[
"5093fb32.9f3084"
]
]
},
{
"id": "4b8ade6f.c085d",
"type": "inject",
"z": "9d69f6bb.905698",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "-",
"payloadType": "str",
"x": 230,
"y": 400,
"wires": [
[
"5ca8a509.685e8c"
]
]
},
{
"id": "83eea30b.8458e",
"type": "inject",
"z": "9d69f6bb.905698",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "program",
"payloadType": "str",
"x": 220,
"y": 460,
"wires": [
[
"5ca8a509.685e8c"
]
]
},
{
"id": "5093fb32.9f3084",
"type": "rfx-lights-out",
"z": "9d69f6bb.905698",
"name": "Novy Light",
"port": "15853799.477678",
"topicSource": "node",
"retransmit": "none",
"retransmitInterval": 20,
"topic": "NOVY/0",
"x": 510,
"y": 200,
"wires": []
},
{
"id": "61a7eb66.540df4",
"type": "inject",
"z": "9d69f6bb.905698",
"name": "Time (2x power)",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "time",
"payloadType": "str",
"x": 200,
"y": 300,
"wires": [
[
"5ca8a509.685e8c"
]
]
},
{
"id": "15853799.477678",
"type": "rfxtrx-port",
"z": "",
"port": "/dev/ttyUSB1",
"enableDebug": true,
"rfyVenetianMode": "EU"
}
]