UNPKG

node-red-contrib-sun-position

Version:
430 lines 14 kB
[ { "id": "6e01a45fcbd51a8c", "type": "group", "z": "c224c971b366d1da", "name": "Example 2:", "style": { "label": true }, "nodes": [ "d195485526ad453e", "eb392274d76a0414", "aeda8f25a9820661", "48348f9d010c1fde", "2cb4ea2aba0c5c11", "2913211db6773ad0", "3b271cc23ececaf8", "6a69e7605bb1ab83" ], "x": 304, "y": 299, "w": 552, "h": 277 }, { "id": "d195485526ad453e", "type": "blind-control", "z": "c224c971b366d1da", "g": "6e01a45fcbd51a8c", "name": "", "topic": "", "addIdType": "none", "addId": "", "positionConfig": "", "autoTrigger": true, "autoTriggerTime": "600000", "startDelayTime": "0", "results": [ { "p": "", "pt": "msgTopic", "v": "", "vt": "topic" }, { "p": "", "pt": "msgPayload", "v": "", "vt": "level" }, { "p": "slat", "pt": "msg", "v": "", "vt": "slat" }, { "p": "blindCtrl", "pt": "msg", "v": "", "vt": "ctrlObj" } ], "blindIncrement": "0.01", "blindOpenPos": "1", "blindClosedPos": 0, "blindPosDefault": "open (max)", "blindPosDefaultType": "levelFixed", "slatPosDefault": "", "slatPosDefaultType": "none", "overwriteExpire": "14400000", "rules": [ { "index": 0, "name": "", "version": 3, "isValid": true, "conditions": [], "level": { "type": "levelFixed", "value": "closed (min)", "operator": 0, "operatorText": "↕ Absolut" }, "slat": { "type": "none", "value": "" }, "topic": "", "importance": 0, "resetOverwrite": false, "time": { "type": "pdsTime", "value": "civilDawn", "operator": 0, "operatorText": "↥ bis", "offsetType": "none", "offset": "1", "multiplier": 60000, "days": "*", "months": "*" }, "timeMin": { "type": "entered", "value": "6:30", "offsetType": "none", "offset": "1", "multiplier": 60000 }, "description": "<div><i class=\"fa fa-clock-o\" aria-hidden=\"true\"></i> ↥ bis <var>bürgerliche Morgendämmerung</var><div class=\"indent-time-text\"><i class=\"fa fa-step-backward\" aria-hidden=\"true\"></i> <span>frühestens (min)</span> <var>6:30</var></div></div><div><div class=\"indent-level-text\"> <i class=\"fa fa-angle-down\" aria-hidden=\"true\"></i><span>Rollladenposition: </span> ↕ Absolut <var>geschlossen (min)</var></div></div>" }, { "index": 1, "name": "", "version": 3, "isValid": true, "conditions": [ { "valueType": "flow", "value": "dayInfo.today.isWeekendOrHoliday", "operator": "true", "operatorText": "ist true", "thresholdType": "str", "threshold": "" } ], "level": { "type": "levelFixed", "value": "closed (min)", "operator": 0, "operatorText": "↕ Absolut" }, "slat": { "type": "none", "value": "" }, "topic": "", "importance": 0, "resetOverwrite": false, "time": { "type": "pdsTime", "value": "civilDawn", "operator": 0, "operatorText": "↥ bis", "offsetType": "none", "offset": "1", "multiplier": 60000, "days": "*", "months": "*" }, "timeMin": { "type": "entered", "value": "7:25", "offsetType": "none", "offset": "1", "multiplier": 60000 }, "description": "<div><i class=\"fa fa-code-fork\" aria-hidden=\"true\"></i> <var>flow....fo.today.isWeekendOrHoliday</var> ist true</div><div><i class=\"fa fa-clock-o\" aria-hidden=\"true\"></i> ↥ bis <var>bürgerliche Morgendämmerung</var><div class=\"indent-time-text\"><i class=\"fa fa-step-backward\" aria-hidden=\"true\"></i> <span>frühestens (min)</span> <var>7:25</var></div></div><div><div class=\"indent-level-text\"> <i class=\"fa fa-angle-down\" aria-hidden=\"true\"></i><span>Rollladenposition: </span> ↕ Absolut <var>geschlossen (min)</var></div></div>" }, { "index": 2, "name": "", "version": 3, "isValid": true, "conditions": [ { "valueType": "flow", "value": "dayInfo.tomorrow.isWeekendOrHoliday", "operator": "false", "operatorText": "ist false", "thresholdType": "str", "threshold": "" } ], "level": { "type": "levelFixed", "value": "closed (min)", "operator": 0, "operatorText": "↕ Absolut" }, "slat": { "type": "none", "value": "" }, "topic": "", "importance": 0, "resetOverwrite": false, "time": { "type": "pdsTime", "value": "civilDusk", "operator": 1, "operatorText": "↧ von", "offsetType": "none", "offset": "1", "multiplier": 60000, "days": "*", "months": "*" }, "timeMax": { "type": "entered", "value": "22:35", "offsetType": "none", "offset": "1", "multiplier": 60000 }, "description": "<div><i class=\"fa fa-code-fork\" aria-hidden=\"true\"></i> <var>flow....tomorrow.isWeekendOrHoliday</var> ist false</div><div><i class=\"fa fa-clock-o\" aria-hidden=\"true\"></i> ↧ von <var>bürgerliche Abenddämmerung</var><div class=\"indent-time-text\"><i class=\"fa fa-step-forward\" aria-hidden=\"true\"></i> <span>spätestens (max)</span> <var>22:35</var></div></div><div><div class=\"indent-level-text\"> <i class=\"fa fa-angle-down\" aria-hidden=\"true\"></i><span>Rollladenposition: </span> ↕ Absolut <var>geschlossen (min)</var></div></div>" }, { "index": 3, "name": "", "version": 3, "isValid": true, "conditions": [], "level": { "type": "levelFixed", "value": "closed (min)", "operator": 0, "operatorText": "↕ Absolut" }, "slat": { "type": "none", "value": "" }, "topic": "", "importance": 0, "resetOverwrite": false, "time": { "type": "pdsTime", "value": "civilDusk", "operator": 1, "operatorText": "↧ von", "offsetType": "none", "offset": "1", "multiplier": 60000, "days": "*", "months": "*" }, "timeMax": { "type": "entered", "value": "23:15", "offsetType": "none", "offset": "1", "multiplier": 60000 }, "description": "<div><i class=\"fa fa-clock-o\" aria-hidden=\"true\"></i> ↧ von <var>bürgerliche Abenddämmerung</var><div class=\"indent-time-text\"><i class=\"fa fa-step-forward\" aria-hidden=\"true\"></i> <span>spätestens (max)</span> <var>23:15</var></div></div><div><div class=\"indent-level-text\"> <i class=\"fa fa-angle-down\" aria-hidden=\"true\"></i><span>Rollladenposition: </span> ↕ Absolut <var>geschlossen (min)</var></div></div>" } ], "sunControlMode": "0", "sunFloorLengthType": "num", "sunFloorLength": "", "sunMinDelta": "", "blindPosMin": "closed (min)", "blindPosMinType": "levelFixed", "blindPosMax": "open (max)", "blindPosMaxType": "levelFixed", "sunSlat": "", "sunSlatType": "none", "smoothTime": "", "sunTopic": "", "windowTopType": "num", "windowTop": "", "windowBottomType": "num", "windowBottom": "", "windowAzimuthStartType": "numAzimuth", "windowAzimuthStart": "", "windowAzimuthEndType": "numAzimuth", "windowAzimuthEnd": "", "oversteers": [], "oversteerTopic": "", "x": 480, "y": 340, "wires": [ [ "eb392274d76a0414" ], [] ] }, { "id": "eb392274d76a0414", "type": "debug", "z": "c224c971b366d1da", "g": "6e01a45fcbd51a8c", "name": "", "active": true, "tosidebar": true, "console": false, "tostatus": false, "complete": "false", "x": 695, "y": 340, "wires": [] }, { "id": "aeda8f25a9820661", "type": "change", "z": "c224c971b366d1da", "g": "6e01a45fcbd51a8c", "name": "dayInfo.today.isWeekendOrHoliday", "rules": [ { "t": "set", "p": "dayInfo.today.isWeekendOrHoliday", "pt": "flow", "to": "payload", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 670, "y": 400, "wires": [ [] ] }, { "id": "48348f9d010c1fde", "type": "inject", "z": "c224c971b366d1da", "g": "6e01a45fcbd51a8c", "name": "", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "true", "payloadType": "bool", "x": 400, "y": 400, "wires": [ [ "aeda8f25a9820661" ] ] }, { "id": "2cb4ea2aba0c5c11", "type": "inject", "z": "c224c971b366d1da", "g": "6e01a45fcbd51a8c", "name": "", "repeat": "", "crontab": "", "once": true, "onceDelay": 0.1, "topic": "", "payload": "false", "payloadType": "bool", "x": 400, "y": 445, "wires": [ [ "aeda8f25a9820661" ] ] }, { "id": "2913211db6773ad0", "type": "change", "z": "c224c971b366d1da", "g": "6e01a45fcbd51a8c", "name": "dayInfo.tomorrow.isWeekendOrHoliday", "rules": [ { "t": "set", "p": "dayInfo.tomorrow.isWeekendOrHoliday", "pt": "flow", "to": "payload", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 680, "y": 490, "wires": [ [] ] }, { "id": "3b271cc23ececaf8", "type": "inject", "z": "c224c971b366d1da", "g": "6e01a45fcbd51a8c", "name": "", "repeat": "", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "true", "payloadType": "bool", "x": 400, "y": 490, "wires": [ [ "2913211db6773ad0" ] ] }, { "id": "6a69e7605bb1ab83", "type": "inject", "z": "c224c971b366d1da", "g": "6e01a45fcbd51a8c", "name": "", "repeat": "", "crontab": "", "once": true, "onceDelay": 0.1, "topic": "", "payload": "false", "payloadType": "bool", "x": 400, "y": 535, "wires": [ [ "2913211db6773ad0" ] ] } ]