NEWS
Shelly 2.5 - Schalter detektieren?
-
Hallo zusammen,
ich betreibe einen Shelly 2.5 im Jalousie-Modus mit angeschlossenem Doppelsperrschalter. Standardmäßig ist eine Automatik aktiv, die je nach Sonnenstand etc. die Jalousie fährt. Jetzt möchte ich die Automatik deaktivieren, wenn der Schalter manuell bedient wird.
Hat jemand eine Idee, wie ich das umzusetzen kann? Meine Logik mache ich übrigens mit Node Red.Gruß
SuperElmi -
@SuperElmi last thakes president. warum willst du die automatik deaktivieren? du machst mit dem schalter, zum nächsten zeitpunk greift wieder die automatik.
-
@da_Woody
Die Automatik fährt die Jalousie herunter, wenn die Terrassentür zu ist, die Strahlung einen gewissen Wert und die Sonne einen gewissen Stand hat. Die Automatik soll aktiv sein, solange niemand daheim ist bzw. niemand eingreift. Wenn wir zuhause sind und uns das aber zu dunkel ist, muss ich die Automatik deaktivieren. Wenn ich den Schalter manuell bediene, möchte ich ja genau das. Momentan muss ich das noch am Tablet machen. Aber das möchte ich gerne automatisierenGruß
SuperElmi -
@SuperElmi sagte in Shelly 2.5 - Schalter detektieren?:
Hat jemand eine Idee, wie ich das umzusetzen kann
shuttercontrol macht genau das
-
@Homoran Danke für den Hinweis.
D.h. Shuttercontrol erkennt, wenn der Shelly geschaltet wird und es nicht die Automatik ist und schaltet dann die automatik ab, bis sie wieder aktiviert wird? -
@SuperElmi sagte:
die Automatik deaktivieren, wenn der Schalter manuell bedient wird.
Wie soll die Automatik wieder aktiviert werden ?
-
Wenn die Automatik über einen Node Red Flow implementiert ist und du einen Datenpunkt bzw. Indikator für deine Anwesenheit hast. Dann sollte das doch kein Problem sein. Poste halt mal Deinen Flow wenn du magst
-
@SuperElmi ok. dann mal anwesenheitserkennung?
oops, @mickym überlesen...
-
@SuperElmi sagte in Shelly 2.5 - Schalter detektieren?:
und schaltet dann die automatik ab, bis sie wieder aktiviert wird?
im Prinzip ja!
Shuttercontrol aktiviert die Automatik wieder irgendwann.
Ich weiß im Moment nur nicht ob das mit der abendlichen Verdunklung, oder mit der morgendlichen Öffnung der Rolladen passiert -
Danke für die rege Beteiligung!
Meine Problemstellung ist weniger das aktivieren der Automatik, das kann man zeitlich machen, oder mit Sonnenaufgang, etc.
Ich hab bei den Objekten des Shelly-Adapters keines gefunden, das ein Betätigen das manuellen Schalters anzeigt. Im Prinzip müsste man das doch durch Vergleich verschiedener Zustände herausfinden können, oder? Z.B. durch Vergleich einer Soll- und einer Ist-Position... -
@SuperElmi sagte in Shelly 2.5 - Schalter detektieren?:
Ich hab bei den Objekten des Shelly-Adapters keines gefunden, das ein Betätigen das manuellen Schalters anzeigt.
dann gugg dir mal den Datenpunkt Input unter Relay an
-
@SuperElmi laut der API von Shelly (https://shelly-api-docs.shelly.cloud/#shelly-family-overview)
-
@SuperElmi Nein nicht unter relay - aber unter input - ich nutze es zwar als schalter und nicht für rolläden und mit mqtt. Aber unter input siehst Du entweder unter 0 und 1 - das müsste bei Dir dann hoch oder runter sein - den aktuellen Status des Schalters (physisch) - der ist unabhängig von dem command - der Dir den Zustand des relays anzeigt. Also kannst Du auf Veränderungen beim input prüfen und siehst ob der Schalter manuell betätigt wurde oder nur ein Kommando den Schalter geschaltet hat.
OK hat @harrym alles schon geschrieben - dann ist es halt doppelt. Aber wichtiger wäre Dein Flow um Dir helfen zu können.
-
Danke euch allen, mit diesen Hinweise komme ich sicher weiter!
Der Vollständigkeit halber hier noch mein Flow (ohne die Automatik abzuschalten):
[ { "id": "149b5426.0caf34", "type": "tab", "label": "Jalousie", "disabled": false, "info": "" }, { "id": "19881415.7350c4", "type": "astrodata dayvalues", "z": "149b5426.0caf34", "name": "Astrodaten", "lon": "9", "lat": "49", "height": "0", "lang": "de", "offset": 0, "x": 330, "y": 227, "wires": [ [ "d17ffb18.038ca8", "ff14b746.134b8", "8e84a054.9ec8c8", "e258e1af.e05bf" ] ] }, { "id": "d17ffb18.038ca8", "type": "switch", "z": "149b5426.0caf34", "name": "Sonne zw. 3° und 35°", "property": "sunAltitude", "propertyType": "msg", "rules": [ { "t": "btwn", "v": "3", "vt": "num", "v2": "35", "v2t": "num" }, { "t": "else" } ], "checkall": "true", "repair": false, "outputs": 2, "x": 543, "y": 282, "wires": [ [ "d39f9342.e3f088" ], [ "87fadea3.083448" ] ], "outputLabels": [ "< 30°", "> 30°" ] }, { "id": "bbcaba2d.e5f578", "type": "ioBroker out", "z": "149b5426.0caf34", "name": "Position Jalousie", "topic": "shelly.0.SHSW-25#E098068D287A#1.Shutter.Position", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 1995, "y": 252, "wires": [] }, { "id": "7a2e903.86d457", "type": "switch", "z": "149b5426.0caf34", "name": "> 200 W/m²", "property": "payload", "propertyType": "msg", "rules": [ { "t": "gt", "v": "200", "vt": "str" }, { "t": "else" } ], "checkall": "true", "repair": false, "outputs": 2, "x": 590, "y": 423, "wires": [ [ "dd03e80c.baccb" ], [ "249790e3.6dab9" ] ] }, { "id": "784d93d5.33bfb4", "type": "BooleanLogic", "z": "149b5426.0caf34", "name": "", "operation": "AND", "inputCount": "3", "topic": "result", "x": 1020, "y": 342, "wires": [ [ "71ffc65f.c7663" ] ] }, { "id": "3cd97efd.d152d2", "type": "change", "z": "149b5426.0caf34", "name": "50% offen", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "50", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1575, "y": 232, "wires": [ [ "990999d6.a0d7f" ] ] }, { "id": "29fd1a97.30c116", "type": "inject", "z": "149b5426.0caf34", "name": "", "props": [ { "p": "payload" }, { "p": "topic", "vt": "str" } ], "repeat": "5", "crontab": "", "once": false, "onceDelay": 0.1, "topic": "", "payload": "", "payloadType": "date", "x": 99, "y": 227, "wires": [ [ "19881415.7350c4", "fe55b784.a56b5", "5a48f837.786fe8", "822aa29c.a4c0c" ] ] }, { "id": "fe55b784.a56b5", "type": "ioBroker get", "z": "149b5426.0caf34", "name": "Sonnenstrahlung", "topic": "weatherunderground.0.forecast.current.solarRadiation", "attrname": "payload", "payloadType": "value", "x": 350, "y": 422, "wires": [ [ "7a2e903.86d457" ] ] }, { "id": "dd03e80c.baccb", "type": "change", "z": "149b5426.0caf34", "name": "set to true", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "true", "tot": "bool" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 790, "y": 402, "wires": [ [ "784d93d5.33bfb4" ] ] }, { "id": "d39f9342.e3f088", "type": "change", "z": "149b5426.0caf34", "name": "set to true", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "true", "tot": "bool" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 790, "y": 260, "wires": [ [ "784d93d5.33bfb4" ] ] }, { "id": "46470648.b8697", "type": "switch", "z": "149b5426.0caf34", "name": "true / false", "property": "payload", "propertyType": "msg", "rules": [ { "t": "true" }, { "t": "false" } ], "checkall": "true", "repair": false, "outputs": 2, "x": 1375, "y": 260, "wires": [ [ "3cd97efd.d152d2" ], [ "9687b3a6.ddec8" ] ], "outputLabels": [ "true", "false" ] }, { "id": "9687b3a6.ddec8", "type": "change", "z": "149b5426.0caf34", "name": "Ganz offen", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "0", "tot": "num" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1575, "y": 279, "wires": [ [ "990999d6.a0d7f" ] ] }, { "id": "5a48f837.786fe8", "type": "ioBroker get", "z": "149b5426.0caf34", "name": "Terrassentür zu / auf", "topic": "zigbee.0.00158d00040bfa58.contact", "attrname": "payload", "payloadType": "value", "x": 360, "y": 342, "wires": [ [ "784d93d5.33bfb4" ] ] }, { "id": "780cfb23.149174", "type": "ioBroker out", "z": "149b5426.0caf34", "name": "Sonnenstand", "topic": "0_userdata.0.Sonnenstand", "ack": "true", "autoCreate": "false", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 1320, "y": 122, "wires": [] }, { "id": "d30e5320.b8f5b8", "type": "time-inject", "z": "149b5426.0caf34", "name": "", "nameInt": "⏲ sunrise = true", "positionConfig": "c97591f4.be7838", "payload": "true", "payloadType": "bool", "payloadTimeFormat": 0, "payloadOffset": 0, "payloadOffsetType": "none", "payloadOffsetMultiplier": 60000, "topic": "", "injectTypeSelect": "time", "intervalCount": 1, "intervalCountType": "num", "intervalCountMultiplier": 60000, "time": "sunrise", "timeType": "pdsTime", "offset": 0, "offsetType": "none", "offsetMultiplier": 60000, "timeEnd": "", "timeEndType": "entered", "timeEndOffset": 0, "timeEndOffsetType": "none", "timeEndOffsetMultiplier": 60000, "timeDays": "*", "timeOnlyOddDays": false, "timeOnlyEvenDays": false, "timeMonths": "*", "timedatestart": "", "timedateend": "", "property": "", "propertyType": "none", "propertyCompare": "true", "propertyThreshold": "", "propertyThresholdType": "num", "timeAlt": "", "timeAltType": "entered", "timeAltDays": "*", "timeAltOnlyOddDays": false, "timeAltOnlyEvenDays": false, "timeAltMonths": "*", "timeAltOffset": 0, "timeAltOffsetType": "none", "timeAltOffsetMultiplier": 60000, "once": false, "onceDelay": 0.1, "addPayload1": "payload", "addPayload1Type": "msg", "addPayload1Value": "true", "addPayload1ValueType": "bool", "addPayload1Format": "0", "addPayload1Offset": 0, "addPayload1OffsetType": "none", "addPayload1OffsetMultiplier": 60000, "addPayload1Next": true, "addPayload1Days": "*", "addPayload2": "", "addPayload2Type": "none", "addPayload2Value": "", "addPayload2ValueType": "date", "addPayload2Format": "0", "addPayload2Offset": 0, "addPayload2OffsetType": "none", "addPayload2OffsetMultiplier": 60000, "addPayload2Next": true, "addPayload2Days": "*", "addPayload3": "", "addPayload3Type": "none", "addPayload3Value": "", "addPayload3ValueType": "date", "addPayload3Format": "0", "addPayload3Offset": 0, "addPayload3OffsetType": "none", "addPayload3OffsetMultiplier": 60000, "addPayload3Next": true, "addPayload3Days": "*", "recalcTime": 2, "x": 200, "y": 702, "wires": [ [ "a8e25d7b.096c9" ] ] }, { "id": "a8e25d7b.096c9", "type": "ioBroker out", "z": "149b5426.0caf34", "name": "Jalousie_Auto", "topic": "0_userdata.0.Jalousie_Auto", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 470, "y": 702, "wires": [] }, { "id": "ff14b746.134b8", "type": "change", "z": "149b5426.0caf34", "name": "Filter sunAltitude", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "sunAltitude", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 568, "y": 125, "wires": [ [ "780cfb23.149174" ] ] }, { "id": "990999d6.a0d7f", "type": "gate", "z": "149b5426.0caf34", "name": "", "controlTopic": "control", "defaultState": "open", "openCmd": "true", "closeCmd": "false", "toggleCmd": "toggle", "defaultCmd": "default", "persist": false, "x": 1795, "y": 252, "wires": [ [ "bbcaba2d.e5f578" ] ] }, { "id": "7284d6a5.473c88", "type": "change", "z": "149b5426.0caf34", "name": "offen / zu", "rules": [ { "t": "change", "p": "payload", "pt": "msg", "from": "false", "fromt": "str", "to": "close", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1555, "y": 520, "wires": [ [ "990999d6.a0d7f" ] ] }, { "id": "822aa29c.a4c0c", "type": "ioBroker get", "z": "149b5426.0caf34", "name": "Automatik an / aus", "topic": "0_userdata.0.Jalousie_Auto", "attrname": "payload", "payloadType": "value", "x": 350, "y": 522, "wires": [ [ "83d92ee1.228db" ] ] }, { "id": "83d92ee1.228db", "type": "change", "z": "149b5426.0caf34", "name": "Topic für Gate ändern", "rules": [ { "t": "set", "p": "topic", "pt": "msg", "to": "control", "tot": "str" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 1340, "y": 520, "wires": [ [ "7284d6a5.473c88" ] ] }, { "id": "3796d88d.b1d66", "type": "ioBroker out", "z": "149b5426.0caf34", "name": "Azimut Sonne", "topic": "0_userdata.0.Azimut_Sonne", "ack": "true", "autoCreate": "false", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 1320, "y": 60, "wires": [] }, { "id": "8e84a054.9ec8c8", "type": "change", "z": "149b5426.0caf34", "name": "Filter sunAzimut", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "sunAzimut", "tot": "msg" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 568, "y": 63, "wires": [ [ "3796d88d.b1d66" ] ] }, { "id": "e258e1af.e05bf", "type": "switch", "z": "149b5426.0caf34", "name": "Nachmittag?", "property": "sunAzimut", "propertyType": "msg", "rules": [ { "t": "btwn", "v": "180", "vt": "num", "v2": "270", "v2t": "num" }, { "t": "else" } ], "checkall": "true", "repair": false, "outputs": 2, "x": 560, "y": 180, "wires": [ [ "e6358b47.f397c8" ], [ "f2f06c79.c314e" ] ] }, { "id": "e6358b47.f397c8", "type": "change", "z": "149b5426.0caf34", "name": "set to true", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "true", "tot": "bool" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 770, "y": 160, "wires": [ [ "71ffc65f.c7663" ] ] }, { "id": "71ffc65f.c7663", "type": "BooleanLogic", "z": "149b5426.0caf34", "name": "", "operation": "AND", "inputCount": "2", "topic": "result", "x": 1200, "y": 260, "wires": [ [ "46470648.b8697" ] ] }, { "id": "f2f06c79.c314e", "type": "change", "z": "149b5426.0caf34", "name": "set to false", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "false", "tot": "bool" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 770, "y": 200, "wires": [ [ "71ffc65f.c7663" ] ] }, { "id": "87fadea3.083448", "type": "change", "z": "149b5426.0caf34", "name": "set to false", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "false", "tot": "bool" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 790, "y": 300, "wires": [ [ "784d93d5.33bfb4" ] ] }, { "id": "249790e3.6dab9", "type": "change", "z": "149b5426.0caf34", "name": "set to false", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "false", "tot": "bool" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 790, "y": 440, "wires": [ [ "784d93d5.33bfb4" ] ] }, { "id": "8c6cc358.c1ae2", "type": "comment", "z": "149b5426.0caf34", "name": "Automatik einschalten täglich bei Sonnenaufgang", "info": "", "x": 300, "y": 660, "wires": [] }, { "id": "c97591f4.be7838", "type": "position-config", "z": "", "name": "", "isValide": "true", "longitude": "0", "latitude": "0", "angleType": "deg", "timeZoneOffset": "99", "timeZoneDST": "0", "stateTimeFormat": "3", "stateDateFormat": "12" } ]
-
@SuperElmi Ich habe mir Deinen Flow gerade angeschaut. Da Du Deine Automatik eh über einen Datenpunkt steuerst, kannst Du ja zusätzlich zu Deiner AstroNode noch eine Logic davor bauen.
Du wirst ja wahrscheinlich Taster für die Rolladensteuerung haben - da wird der input nichts helfen, da der Taster ja immer in der gleichen Stellung verbleibt.
Aber Du hast in meinen Augen noch folgende Möglichkeiten die Schalterbetätigung zu ermitteln.
Entweder wertest Du longpush aus (0 oder 1) für langen Tastendruck oder nicht oder den input event.
{"event":"","event_cnt":0}
Der event ist "S" oder "L" je nach Länge des Tastendrucks und dahinter ist ein Zähler.
Im Prinzip kannst Du den Inhalt oder die Art der Tasterbetätigung ja ignorieren - da Du ja nur die Schalterbetätigung an sich brauchst, um die Automatik zu deaktivieren.
-
@mickym Ich hab das Ganze jetzt so gelöst, sollte funktionieren:
[ { "id": "d30e5320.b8f5b8", "type": "time-inject", "z": "149b5426.0caf34", "name": "", "nameInt": "⏲ sunrise = true", "positionConfig": "c97591f4.be7838", "payload": "true", "payloadType": "bool", "payloadTimeFormat": 0, "payloadOffset": 0, "payloadOffsetType": "none", "payloadOffsetMultiplier": 60000, "topic": "", "injectTypeSelect": "time", "intervalCount": 1, "intervalCountType": "num", "intervalCountMultiplier": 60000, "time": "sunrise", "timeType": "pdsTime", "offset": 0, "offsetType": "none", "offsetMultiplier": 60000, "timeEnd": "", "timeEndType": "entered", "timeEndOffset": 0, "timeEndOffsetType": "none", "timeEndOffsetMultiplier": 60000, "timeDays": "*", "timeOnlyOddDays": false, "timeOnlyEvenDays": false, "timeMonths": "*", "timedatestart": "", "timedateend": "", "property": "", "propertyType": "none", "propertyCompare": "true", "propertyThreshold": "", "propertyThresholdType": "num", "timeAlt": "", "timeAltType": "entered", "timeAltDays": "*", "timeAltOnlyOddDays": false, "timeAltOnlyEvenDays": false, "timeAltMonths": "*", "timeAltOffset": 0, "timeAltOffsetType": "none", "timeAltOffsetMultiplier": 60000, "once": false, "onceDelay": 0.1, "addPayload1": "payload", "addPayload1Type": "msg", "addPayload1Value": "true", "addPayload1ValueType": "bool", "addPayload1Format": "0", "addPayload1Offset": 0, "addPayload1OffsetType": "none", "addPayload1OffsetMultiplier": 60000, "addPayload1Next": true, "addPayload1Days": "*", "addPayload2": "", "addPayload2Type": "none", "addPayload2Value": "", "addPayload2ValueType": "date", "addPayload2Format": "0", "addPayload2Offset": 0, "addPayload2OffsetType": "none", "addPayload2OffsetMultiplier": 60000, "addPayload2Next": true, "addPayload2Days": "*", "addPayload3": "", "addPayload3Type": "none", "addPayload3Value": "", "addPayload3ValueType": "date", "addPayload3Format": "0", "addPayload3Offset": 0, "addPayload3OffsetType": "none", "addPayload3OffsetMultiplier": 60000, "addPayload3Next": true, "addPayload3Days": "*", "recalcTime": 2, "x": 200, "y": 702, "wires": [ [ "a8e25d7b.096c9" ] ] }, { "id": "a8e25d7b.096c9", "type": "ioBroker out", "z": "149b5426.0caf34", "name": "Jalousie_Auto", "topic": "0_userdata.0.Jalousie_Auto", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 740, "y": 700, "wires": [] }, { "id": "8c6cc358.c1ae2", "type": "comment", "z": "149b5426.0caf34", "name": "Automatik einschalten täglich bei Sonnenaufgang", "info": "", "x": 300, "y": 660, "wires": [] }, { "id": "bd122212.63d968", "type": "trigger", "z": "149b5426.0caf34", "name": "", "op1": "false", "op2": "0", "op1type": "bool", "op2type": "str", "duration": "0", "extend": false, "units": "ms", "reset": "", "bytopic": "all", "topic": "topic", "outputs": 1, "x": 480, "y": 856, "wires": [ [ "a8e25d7b.096c9" ] ] }, { "id": "123dcf3e.b406d9", "type": "ioBroker in", "z": "149b5426.0caf34", "name": "Input / Detach Relay 0", "topic": "shelly.0.SHSW-25#E098068D287A#1.Relay0.Input", "payloadType": "value", "onlyack": "", "func": "all", "gap": "", "fireOnStart": "false", "x": 200, "y": 816, "wires": [ [ "bd122212.63d968" ] ] }, { "id": "a5e4ca86.6d10d8", "type": "ioBroker in", "z": "149b5426.0caf34", "name": "Input / Detach Relay 1", "topic": "shelly.0.SHSW-25#E098068D287A#1.Relay1.Input", "payloadType": "value", "onlyack": "", "func": "all", "gap": "", "fireOnStart": "false", "x": 200, "y": 876, "wires": [ [ "bd122212.63d968" ] ] }, { "id": "2a35cade.2e905e", "type": "comment", "z": "149b5426.0caf34", "name": "Automatik ausschalten bei Schalterbetätigung", "info": "", "x": 280, "y": 780, "wires": [] }, { "id": "c97591f4.be7838", "type": "position-config", "z": "", "name": "", "isValide": "true", "longitude": "0", "latitude": "0", "angleType": "deg", "timeZoneOffset": "99", "timeZoneDST": "0", "stateTimeFormat": "3", "stateDateFormat": "12" } ]
Ich werde über Erfahrungswerte berichten.
Danke euch allen!Gruß
SuperElmi -
@SuperElmi Meines Erachtens gibt es dann kein Auslösen. Du hättest das einfacher mit einem Change-Node - der einfach false sendet auch lösen können - weil mehr wird die trigger node nie machen und er wird NIE zurückgesetzt - was ggf. dann nach dem ersten Mal nicht mehr funktioniert. Also ich hätte einfach mit einem Change-Node - false an Deinen Datenpunkt gesetzt.
-
@mickym Hm, hat eigentlich funktioniert, aber vielleicht hab ich nicht alle Fälle durchgetestet. Du meinst also eher so:
[ { "id": "d30e5320.b8f5b8", "type": "time-inject", "z": "149b5426.0caf34", "name": "", "nameInt": "⏲ sunrise = true", "positionConfig": "c97591f4.be7838", "payload": "true", "payloadType": "bool", "payloadTimeFormat": 0, "payloadOffset": 0, "payloadOffsetType": "none", "payloadOffsetMultiplier": 60000, "topic": "", "injectTypeSelect": "time", "intervalCount": 1, "intervalCountType": "num", "intervalCountMultiplier": 60000, "time": "sunrise", "timeType": "pdsTime", "offset": 0, "offsetType": "none", "offsetMultiplier": 60000, "timeEnd": "", "timeEndType": "entered", "timeEndOffset": 0, "timeEndOffsetType": "none", "timeEndOffsetMultiplier": 60000, "timeDays": "*", "timeOnlyOddDays": false, "timeOnlyEvenDays": false, "timeMonths": "*", "timedatestart": "", "timedateend": "", "property": "", "propertyType": "none", "propertyCompare": "true", "propertyThreshold": "", "propertyThresholdType": "num", "timeAlt": "", "timeAltType": "entered", "timeAltDays": "*", "timeAltOnlyOddDays": false, "timeAltOnlyEvenDays": false, "timeAltMonths": "*", "timeAltOffset": 0, "timeAltOffsetType": "none", "timeAltOffsetMultiplier": 60000, "once": false, "onceDelay": 0.1, "addPayload1": "payload", "addPayload1Type": "msg", "addPayload1Value": "true", "addPayload1ValueType": "bool", "addPayload1Format": "0", "addPayload1Offset": 0, "addPayload1OffsetType": "none", "addPayload1OffsetMultiplier": 60000, "addPayload1Next": true, "addPayload1Days": "*", "addPayload2": "", "addPayload2Type": "none", "addPayload2Value": "", "addPayload2ValueType": "date", "addPayload2Format": "0", "addPayload2Offset": 0, "addPayload2OffsetType": "none", "addPayload2OffsetMultiplier": 60000, "addPayload2Next": true, "addPayload2Days": "*", "addPayload3": "", "addPayload3Type": "none", "addPayload3Value": "", "addPayload3ValueType": "date", "addPayload3Format": "0", "addPayload3Offset": 0, "addPayload3OffsetType": "none", "addPayload3OffsetMultiplier": 60000, "addPayload3Next": true, "addPayload3Days": "*", "recalcTime": 2, "x": 200, "y": 702, "wires": [ [ "a8e25d7b.096c9" ] ] }, { "id": "a8e25d7b.096c9", "type": "ioBroker out", "z": "149b5426.0caf34", "name": "Jalousie_Auto", "topic": "0_userdata.0.Jalousie_Auto", "ack": "false", "autoCreate": "false", "stateName": "", "role": "", "payloadType": "", "readonly": "", "stateUnit": "", "stateMin": "", "stateMax": "", "x": 740, "y": 700, "wires": [] }, { "id": "8c6cc358.c1ae2", "type": "comment", "z": "149b5426.0caf34", "name": "Automatik einschalten täglich bei Sonnenaufgang", "info": "", "x": 300, "y": 660, "wires": [] }, { "id": "123dcf3e.b406d9", "type": "ioBroker in", "z": "149b5426.0caf34", "name": "Input / Detach Relay 0", "topic": "shelly.0.SHSW-25#E098068D287A#1.Relay0.Input", "payloadType": "value", "onlyack": "", "func": "all", "gap": "", "fireOnStart": "false", "x": 200, "y": 820, "wires": [ [ "4eb9c187.c3fe18" ] ] }, { "id": "a5e4ca86.6d10d8", "type": "ioBroker in", "z": "149b5426.0caf34", "name": "Input / Detach Relay 1", "topic": "shelly.0.SHSW-25#E098068D287A#1.Relay1.Input", "payloadType": "value", "onlyack": "", "func": "all", "gap": "", "fireOnStart": "false", "x": 200, "y": 876, "wires": [ [ "4eb9c187.c3fe18" ] ] }, { "id": "2a35cade.2e905e", "type": "comment", "z": "149b5426.0caf34", "name": "Automatik ausschalten bei Schalterbetätigung", "info": "", "x": 280, "y": 780, "wires": [] }, { "id": "4eb9c187.c3fe18", "type": "change", "z": "149b5426.0caf34", "name": "set to false", "rules": [ { "t": "set", "p": "payload", "pt": "msg", "to": "false", "tot": "bool" } ], "action": "", "property": "", "from": "", "to": "", "reg": false, "x": 450, "y": 840, "wires": [ [ "a8e25d7b.096c9" ] ] }, { "id": "c97591f4.be7838", "type": "position-config", "z": "", "name": "", "isValide": "true", "longitude": "0", "latitude": "0", "angleType": "deg", "timeZoneOffset": "99", "timeZoneDST": "0", "stateTimeFormat": "3", "stateDateFormat": "12" } ]
Erscheint mir bei Betrachtung auch einfacher
-
@SuperElmi genau!