Hi,
please find the flow attached:
flows(1).json (2.7 KB)
or here:
[
{
"id": "bc0e2b9ac2648d94",
"type": "tab",
"label": "Flow 3",
"disabled": false,
"info": "",
"env": []
},
{
"id": "0b6ed99e2d913072",
"type": "mqtt in",
"z": "bc0e2b9ac2648d94",
"name": "",
"topic": "shelly_RGBset/rpc",
"qos": "2",
"datatype": "auto-detect",
"broker": "bf3cd836.8e48e8",
"nl": false,
"rap": false,
"inputs": 0,
"x": 170,
"y": 60,
"wires": [
[
"d944826d26d7d71e"
]
]
},
{
"id": "d944826d26d7d71e",
"type": "debug",
"z": "bc0e2b9ac2648d94",
"name": "debug 2",
"active": false,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "payload",
"targetType": "msg",
"statusVal": "",
"statusType": "auto",
"x": 490,
"y": 60,
"wires": []
},
{
"id": "a3da6a5fae1a470a",
"type": "inject",
"z": "bc0e2b9ac2648d94",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "{\"id\":100000,\"src\":\"shelly_RGBset\",\"method\":\"RGB.set\",\"params\":{\"id\":0,\"on\":true,\"brightness\":50,\"rgb\":[255,255,255]}}",
"payloadType": "json",
"x": 130,
"y": 120,
"wires": [
[
"26f0ff2931ca1ba8"
]
]
},
{
"id": "26f0ff2931ca1ba8",
"type": "mqtt out",
"z": "bc0e2b9ac2648d94",
"name": "",
"topic": "shellyplusrgbwpm-30c92257ad08/rpc",
"qos": "2",
"retain": "",
"respTopic": "",
"contentType": "",
"userProps": "",
"correl": "",
"expiry": "",
"broker": "bf3cd836.8e48e8",
"x": 430,
"y": 120,
"wires": []
},
{
"id": "bf3cd836.8e48e8",
"type": "mqtt-broker",
"name": "",
"broker": "192.168.1.30",
"port": "1883",
"clientid": "",
"usetls": false,
"compatmode": false,
"keepalive": "60",
"cleansession": true,
"birthTopic": "",
"birthQos": "0",
"birthPayload": "",
"closeTopic": "",
"closeQos": "0",
"closePayload": "",
"willTopic": "",
"willQos": "0",
"willPayload": ""
}
]