-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
368 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,366 @@ | ||
[ | ||
{ | ||
"id": "d7c35c04cc0c5b68", | ||
"type": "tab", | ||
"label": "infrared_panel", | ||
"disabled": false, | ||
"info": "", | ||
"env": [] | ||
}, | ||
{ | ||
"id": "36dc1da28ea112aa", | ||
"type": "group", | ||
"z": "d7c35c04cc0c5b68", | ||
"name": "notify", | ||
"style": { | ||
"label": true | ||
}, | ||
"nodes": [ | ||
"8f7ef08c7aea9511", | ||
"51bb0a67f9282d5f", | ||
"dfe89d053727bf74", | ||
"98c964aa61c96938", | ||
"5959cdf78bae2b4a", | ||
"87b3630fa6681255", | ||
"b334886da3d39e67" | ||
], | ||
"x": 1234, | ||
"y": 39, | ||
"w": 472, | ||
"h": 202 | ||
}, | ||
{ | ||
"id": "5959cdf78bae2b4a", | ||
"type": "junction", | ||
"z": "d7c35c04cc0c5b68", | ||
"g": "36dc1da28ea112aa", | ||
"x": 1260, | ||
"y": 100, | ||
"wires": [ | ||
[ | ||
"51bb0a67f9282d5f", | ||
"8f7ef08c7aea9511", | ||
"87b3630fa6681255", | ||
"b334886da3d39e67" | ||
] | ||
] | ||
}, | ||
{ | ||
"id": "0eb4e43996470004", | ||
"type": "cronplus", | ||
"z": "d7c35c04cc0c5b68", | ||
"name": "Trigger at 19:00", | ||
"outputField": "payload", | ||
"timeZone": "", | ||
"storeName": "", | ||
"commandResponseMsgOutput": "output1", | ||
"defaultLocation": "", | ||
"defaultLocationType": "default", | ||
"outputs": 1, | ||
"options": [ | ||
{ | ||
"name": "schedule1", | ||
"topic": "topic1", | ||
"payloadType": "default", | ||
"payload": "", | ||
"expressionType": "cron", | ||
"expression": "0 19 * * *", | ||
"location": "", | ||
"offset": "0", | ||
"solarType": "all", | ||
"solarEvents": "sunrise,sunset" | ||
} | ||
], | ||
"x": 120, | ||
"y": 60, | ||
"wires": [ | ||
[ | ||
"4c51a48e529813e3" | ||
] | ||
] | ||
}, | ||
{ | ||
"id": "2fdc370fce5756c2", | ||
"type": "comment", | ||
"z": "d7c35c04cc0c5b68", | ||
"name": "Flow that turns off the infrared heating panel when it is still on at 19:00", | ||
"info": "", | ||
"x": 270, | ||
"y": 20, | ||
"wires": [] | ||
}, | ||
{ | ||
"id": "4c51a48e529813e3", | ||
"type": "api-current-state", | ||
"z": "d7c35c04cc0c5b68", | ||
"name": "shellyplug infrared panel is on", | ||
"server": "4ba92433.2478cc", | ||
"version": 3, | ||
"outputs": 2, | ||
"halt_if": "on", | ||
"halt_if_type": "str", | ||
"halt_if_compare": "is", | ||
"entity_id": "switch.shellyplugplus_infraredpanel_switch_0", | ||
"state_type": "str", | ||
"blockInputOverrides": false, | ||
"outputProperties": [ | ||
{ | ||
"property": "payload", | ||
"propertyType": "msg", | ||
"value": "", | ||
"valueType": "entityState" | ||
}, | ||
{ | ||
"property": "data", | ||
"propertyType": "msg", | ||
"value": "", | ||
"valueType": "entity" | ||
} | ||
], | ||
"for": "0", | ||
"forType": "num", | ||
"forUnits": "minutes", | ||
"override_topic": false, | ||
"state_location": "payload", | ||
"override_payload": "msg", | ||
"entity_location": "data", | ||
"override_data": "msg", | ||
"x": 350, | ||
"y": 60, | ||
"wires": [ | ||
[ | ||
"27cd8b7d93b39f6b" | ||
], | ||
[] | ||
] | ||
}, | ||
{ | ||
"id": "27cd8b7d93b39f6b", | ||
"type": "api-call-service", | ||
"z": "d7c35c04cc0c5b68", | ||
"name": "shellyplug infrared panel turn off ", | ||
"server": "4ba92433.2478cc", | ||
"version": 5, | ||
"debugenabled": false, | ||
"domain": "switch", | ||
"service": "turn_off", | ||
"areaId": [], | ||
"deviceId": [], | ||
"entityId": [ | ||
"switch.shellyplugplus_infraredpanel_switch_0" | ||
], | ||
"data": "", | ||
"dataType": "jsonata", | ||
"mergeContext": "", | ||
"mustacheAltTags": false, | ||
"outputProperties": [], | ||
"queue": "none", | ||
"x": 630, | ||
"y": 60, | ||
"wires": [ | ||
[ | ||
"a53dfc3e8dba22d8" | ||
] | ||
] | ||
}, | ||
{ | ||
"id": "a53dfc3e8dba22d8", | ||
"type": "delay", | ||
"z": "d7c35c04cc0c5b68", | ||
"name": "", | ||
"pauseType": "delay", | ||
"timeout": "5", | ||
"timeoutUnits": "seconds", | ||
"rate": "1", | ||
"nbRateUnits": "1", | ||
"rateUnits": "second", | ||
"randomFirst": "1", | ||
"randomLast": "5", | ||
"randomUnits": "seconds", | ||
"drop": false, | ||
"allowrate": false, | ||
"outputs": 1, | ||
"x": 840, | ||
"y": 60, | ||
"wires": [ | ||
[ | ||
"d395c081040b56b4" | ||
] | ||
] | ||
}, | ||
{ | ||
"id": "d395c081040b56b4", | ||
"type": "api-call-service", | ||
"z": "d7c35c04cc0c5b68", | ||
"name": "shellyplug infrared panel turn on", | ||
"server": "4ba92433.2478cc", | ||
"version": 5, | ||
"debugenabled": false, | ||
"domain": "switch", | ||
"service": "turn_on", | ||
"areaId": [], | ||
"deviceId": [], | ||
"entityId": [ | ||
"switch.shellyplugplus_infraredpanel_switch_0" | ||
], | ||
"data": "", | ||
"dataType": "jsonata", | ||
"mergeContext": "", | ||
"mustacheAltTags": false, | ||
"outputProperties": [], | ||
"queue": "none", | ||
"x": 1050, | ||
"y": 60, | ||
"wires": [ | ||
[ | ||
"5959cdf78bae2b4a" | ||
] | ||
] | ||
}, | ||
{ | ||
"id": "8f7ef08c7aea9511", | ||
"type": "template", | ||
"z": "d7c35c04cc0c5b68", | ||
"g": "36dc1da28ea112aa", | ||
"name": "icon", | ||
"field": "notify.icon", | ||
"fieldType": "msg", | ||
"format": "handlebars", | ||
"syntax": "mustache", | ||
"template": "", | ||
"output": "str", | ||
"x": 1370, | ||
"y": 120, | ||
"wires": [ | ||
[ | ||
"98c964aa61c96938" | ||
] | ||
] | ||
}, | ||
{ | ||
"id": "51bb0a67f9282d5f", | ||
"type": "template", | ||
"z": "d7c35c04cc0c5b68", | ||
"g": "36dc1da28ea112aa", | ||
"name": "title", | ||
"field": "notify.title", | ||
"fieldType": "msg", | ||
"format": "handlebars", | ||
"syntax": "mustache", | ||
"template": "Infrarood paneel", | ||
"output": "str", | ||
"x": 1370, | ||
"y": 80, | ||
"wires": [ | ||
[ | ||
"98c964aa61c96938" | ||
] | ||
] | ||
}, | ||
{ | ||
"id": "dfe89d053727bf74", | ||
"type": "link out", | ||
"z": "d7c35c04cc0c5b68", | ||
"g": "36dc1da28ea112aa", | ||
"name": "link_out_notify_infrared_panel", | ||
"mode": "link", | ||
"links": [ | ||
"8ed3b0974336e55b" | ||
], | ||
"x": 1665, | ||
"y": 140, | ||
"wires": [] | ||
}, | ||
{ | ||
"id": "98c964aa61c96938", | ||
"type": "join", | ||
"z": "d7c35c04cc0c5b68", | ||
"g": "36dc1da28ea112aa", | ||
"name": "", | ||
"mode": "custom", | ||
"build": "merged", | ||
"property": "notify", | ||
"propertyType": "msg", | ||
"key": "topic", | ||
"joiner": "\\n", | ||
"joinerType": "str", | ||
"accumulate": false, | ||
"timeout": "", | ||
"count": "4", | ||
"reduceRight": false, | ||
"reduceExp": "", | ||
"reduceInit": "", | ||
"reduceInitType": "", | ||
"reduceFixup": "", | ||
"x": 1570, | ||
"y": 140, | ||
"wires": [ | ||
[ | ||
"dfe89d053727bf74" | ||
] | ||
] | ||
}, | ||
{ | ||
"id": "87b3630fa6681255", | ||
"type": "template", | ||
"z": "d7c35c04cc0c5b68", | ||
"g": "36dc1da28ea112aa", | ||
"name": "notification id", | ||
"field": "notify.notification_id", | ||
"fieldType": "msg", | ||
"format": "handlebars", | ||
"syntax": "mustache", | ||
"template": "infrared_panel", | ||
"output": "str", | ||
"x": 1390, | ||
"y": 160, | ||
"wires": [ | ||
[ | ||
"98c964aa61c96938" | ||
] | ||
] | ||
}, | ||
{ | ||
"id": "b334886da3d39e67", | ||
"type": "template", | ||
"z": "d7c35c04cc0c5b68", | ||
"g": "36dc1da28ea112aa", | ||
"name": "message", | ||
"field": "notify.message", | ||
"fieldType": "msg", | ||
"format": "handlebars", | ||
"syntax": "mustache", | ||
"template": "Het Infrarood paneel in de souterrain stond nog aan en is nu automatisch uitgeschakeld", | ||
"output": "str", | ||
"x": 1380, | ||
"y": 200, | ||
"wires": [ | ||
[ | ||
"98c964aa61c96938" | ||
] | ||
] | ||
}, | ||
{ | ||
"id": "4ba92433.2478cc", | ||
"type": "server", | ||
"name": "Home Assistant", | ||
"version": 5, | ||
"addon": false, | ||
"rejectUnauthorizedCerts": false, | ||
"ha_boolean": "y|yes|true|on|home|open", | ||
"connectionDelay": true, | ||
"cacheJson": true, | ||
"heartbeat": true, | ||
"heartbeatInterval": "30", | ||
"areaSelector": "id", | ||
"deviceSelector": "id", | ||
"entitySelector": "id", | ||
"statusSeparator": "at: ", | ||
"statusYear": "hidden", | ||
"statusMonth": "short", | ||
"statusDay": "numeric", | ||
"statusHourCycle": "h23", | ||
"statusTimeFormat": "h:m", | ||
"enableGlobalContextStore": true | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters