Bo cały flow idzie w niebyt.
obczaj to:
[
{
"id": "6856dac1c73a1af3",
"type": "api-call-service",
"z": "9a88866cb7433752",
"g": "54e8549e6afcfd23",
"name": "Siren melody",
"server": "5c488a9c.119d74",
"version": 5,
"debugenabled": true,
"domain": "select",
"service": "select_option",
"areaId": [],
"deviceId": [],
"entityId": [
"select.alarm_melody"
],
"data": "{\"option\":\"11\",\"entity_id\":\"select.alarm_melody\"}",
"dataType": "json",
"mergeContext": "",
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"x": 510,
"y": 440,
"wires": [
[
"3afafb3c0887f9b4"
]
]
},
{
"id": "3afafb3c0887f9b4",
"type": "api-call-service",
"z": "9a88866cb7433752",
"g": "54e8549e6afcfd23",
"name": "Siren duration",
"server": "5c488a9c.119d74",
"version": 5,
"debugenabled": true,
"domain": "number",
"service": "set_value",
"areaId": [],
"deviceId": [],
"entityId": [
"number.alarm_duration"
],
"data": "{\"value\":\"1800\",\"entity_id\":\"number.alarm_duration\"}",
"dataType": "json",
"mergeContext": "",
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"x": 800,
"y": 480,
"wires": [
[
"9c8e3631fd1fea31"
]
]
},
{
"id": "9c8e3631fd1fea31",
"type": "api-call-service",
"z": "9a88866cb7433752",
"g": "54e8549e6afcfd23",
"name": "Siren volume",
"server": "5c488a9c.119d74",
"version": 5,
"debugenabled": true,
"domain": "select",
"service": "select_option",
"areaId": [],
"deviceId": [],
"entityId": [
"select.alarm_volume"
],
"data": "{\"option\":\"low\",\"entity_id\":\"select.alarm_volume\"}",
"dataType": "json",
"mergeContext": "",
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"x": 1010,
"y": 460,
"wires": [
[
"a5c5073278a19dab"
]
]
},
{
"id": "a5c5073278a19dab",
"type": "api-call-service",
"z": "9a88866cb7433752",
"g": "54e8549e6afcfd23",
"name": "Siren enable",
"server": "5c488a9c.119d74",
"version": 5,
"debugenabled": false,
"domain": "switch",
"service": "turn_on",
"areaId": [],
"deviceId": [],
"entityId": [
"switch.alarm_alarm"
],
"data": "",
"dataType": "json",
"mergeContext": "",
"mustacheAltTags": false,
"outputProperties": [],
"queue": "none",
"x": 1230,
"y": 440,
"wires": [
[]
]
}
]
albo zaimportuj to do siebie
siren_flow.json (3,0 KB)