[
{
"id": "594490b18b08bc96",
"type": "group",
"z": "33295e77705cae31",
"style": {
"stroke": "#999999",
"stroke-opacity": "1",
"fill": "none",
"fill-opacity": "1",
"label": true,
"label-position": "nw",
"color": "#a4a4a4"
},
"nodes": [
"aab38c244688cd63",
"41e07a2c45cfcc9d",
"3ff0c534c313f4f7",
"2517bd6dba53e36e",
"f113aaf8d4ffeffb",
"a08015c90d109885",
"7d241de5acc0278d"
],
"x": 174,
"y": 139,
"w": 972,
"h": 142
},
{
"id": "aab38c244688cd63",
"type": "control-device",
"z": "33295e77705cae31",
"g": "594490b18b08bc96",
"name": "",
"server": "e37d70fa8f41c384",
"list": "{\"type\":\"ihost\",\"deviceId\":\"ihost\",\"ihostParams\":{\"ModeType\":\"alarmBell\",\"securityMode\":null,\"systemVolume\":\"\",\"systemVolumeValue\":\"\",\"alarmSound\":\"alert1\",\"alarmVolume\":\"50\",\"armedTime\":\"customize\",\"minute\":\"\",\"second\":\"5\"}}",
"category": "all",
"device": "ihost",
"action": "",
"x": 1040,
"y": 180,
"wires": [
[]
]
},
{
"id": "41e07a2c45cfcc9d",
"type": "function",
"z": "33295e77705cae31",
"g": "594490b18b08bc96",
"name": "function 2",
"func": "return msg.payload.emeters;",
"outputs": 1,
"timeout": 0,
"noerr": 0,
"initialize": "",
"finalize": "",
"libs": [],
"x": 500,
"y": 180,
"wires": [
[
"3ff0c534c313f4f7",
"f113aaf8d4ffeffb"
]
]
},
{
"id": "3ff0c534c313f4f7",
"type": "switch",
"z": "33295e77705cae31",
"g": "594490b18b08bc96",
"name": "",
"property": "power",
"propertyType": "msg",
"rules": [
{
"t": "gt",
"v": "3700",
"vt": "str"
}
],
"checkall": "true",
"repair": false,
"outputs": 1,
"x": 650,
"y": 180,
"wires": [
[
"2517bd6dba53e36e"
]
]
},
{
"id": "2517bd6dba53e36e",
"type": "delay",
"z": "33295e77705cae31",
"g": "594490b18b08bc96",
"name": "",
"pauseType": "rate",
"timeout": "5",
"timeoutUnits": "seconds",
"rate": "1",
"nbRateUnits": "1",
"rateUnits": "minute",
"randomFirst": "1",
"randomLast": "5",
"randomUnits": "seconds",
"drop": true,
"allowrate": false,
"outputs": 1,
"x": 850,
"y": 180,
"wires": [
[
"aab38c244688cd63"
]
]
},
{
"id": "f113aaf8d4ffeffb",
"type": "debug",
"z": "33295e77705cae31",
"g": "594490b18b08bc96",
"name": "Power Output",
"active": true,
"tosidebar": true,
"console": false,
"tostatus": false,
"complete": "true",
"targetType": "full",
"statusVal": "",
"statusType": "auto",
"x": 680,
"y": 240,
"wires": []
},
{
"id": "a08015c90d109885",
"type": "inject",
"z": "33295e77705cae31",
"g": "594490b18b08bc96",
"name": "",
"props": [
{
"p": "payload"
},
{
"p": "topic",
"vt": "str"
}
],
"repeat": "",
"crontab": "",
"once": false,
"onceDelay": 0.1,
"topic": "",
"payload": "",
"payloadType": "date",
"x": 280,
"y": 240,
"wires": [
[
"7d241de5acc0278d"
]
]
},
{
"id": "7d241de5acc0278d",
"type": "shelly-gen1",
"z": "33295e77705cae31",
"g": "594490b18b08bc96",
"hostname": "192.168.2.33",
"description": "",
"mode": "polling",
"server": "",
"outputmode": "event",
"uploadretryinterval": 5000,
"pollinginterval": "10000",
"pollstatus": true,
"getstatusoncommand": true,
"devicetype": "Measure",
"outputs": 2,
"x": 270,
"y": 180,
"wires": [
[
"41e07a2c45cfcc9d"
],
[]
]
},
{
"id": "e37d70fa8f41c384",
"type": "api-server",
"name": "Token",
"ip": "127.0.0.1",
"ipaddr": "",
"token": "bef487e7-889e-43ac-8df2-2943ee5957cf"
}
]