nimm den current state node mit der Entity vom Terrassentürgriff dahinter den Change node mit dem switch node
Code: Alles auswählen
[{"id":"d332a9cdd607efc9","type":"tab","label":"Rolladensteuerrung","disabled":false,"info":"","env":[]},{"id":"bfd7d7be92cd6207","type":"server-state-changed","z":"d332a9cdd607efc9","name":"Lux sensor unter 5 Lux","server":"64eac69f.fe1218","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"sensor.lichtsensorwz_illuminance_lux","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"5","halt_if_type":"num","halt_if_compare":"lte","outputs":2,"output_only_on_state_change":true,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"allerunter","valueType":"str"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"count","propertyType":"msg","value":"start","valueType":"str"}],"x":160,"y":1060,"wires":[["5d705c98df1ca12a"],[]]},{"id":"3b6b943b5f78728d","type":"comment","z":"d332a9cdd607efc9","name":"Lux sensoren","info":"Unter 5 Lux der Counter wird gestarter \n\nÜber 12 Lux der Counter wird auf 0 gesetzt","x":150,"y":960,"wires":[]},{"id":"5d705c98df1ca12a","type":"counter","z":"d332a9cdd607efc9","name":"","init":"0","step":"1","lower":"","upper":"","mode":"increment","outputs":"1","x":400,"y":1100,"wires":[["b954854d9f4148b2"]]},{"id":"b954854d9f4148b2","type":"switch","z":"d332a9cdd607efc9","name":"","property":"count","propertyType":"msg","rules":[{"t":"eq","v":"1","vt":"num"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":570,"y":1100,"wires":[["1c8ddb16353b1679","f7bb31bdaa24a1e6"],[]]},{"id":"981a89c79eeb5585","type":"server-state-changed","z":"d332a9cdd607efc9","name":"Lux sensor über 12 Lux","server":"64eac69f.fe1218","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"sensor.lichtsensorwz_illuminance_lux","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"12","halt_if_type":"num","halt_if_compare":"gte","outputs":2,"output_only_on_state_change":true,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"reset","propertyType":"msg","value":"reset","valueType":"str"}],"x":160,"y":1140,"wires":[["5d705c98df1ca12a"],[]]},{"id":"aa1d343beec290a0","type":"comment","z":"d332a9cdd607efc9","name":"Switch","info":"der Switch läst auf dem msg.count nur die zahl 1 durch \n\nerst nach dem reset wieder möglich auf 1 und 12","x":570,"y":1060,"wires":[]},{"id":"e55b54c46b5bdb66","type":"server-state-changed","z":"d332a9cdd607efc9","name":"Lux sensor unter 5 Lux","server":"64eac69f.fe1218","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"sensor.lichtsensorwz_illuminance_lux","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"5","halt_if_type":"num","halt_if_compare":"lte","outputs":2,"output_only_on_state_change":true,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"reset","propertyType":"msg","value":"reset","valueType":"str"}],"x":160,"y":1680,"wires":[["f678921e77b7b7d7"],[]]},{"id":"f678921e77b7b7d7","type":"counter","z":"d332a9cdd607efc9","name":"","init":"0","step":"1","lower":"","upper":"","mode":"increment","outputs":"1","x":400,"y":1640,"wires":[["41aeca6c20755dcb"]]},{"id":"41aeca6c20755dcb","type":"switch","z":"d332a9cdd607efc9","name":"","property":"count","propertyType":"msg","rules":[{"t":"eq","v":"1","vt":"num"},{"t":"else"}],"checkall":"true","repair":false,"outputs":2,"x":570,"y":1640,"wires":[["1c8ddb16353b1679"],[]]},{"id":"6f7a9adc8221ddf8","type":"server-state-changed","z":"d332a9cdd607efc9","name":"Lux sensor über 12 Lux","server":"64eac69f.fe1218","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"sensor.lichtsensorwz_illuminance_lux","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"12","halt_if_type":"num","halt_if_compare":"gte","outputs":2,"output_only_on_state_change":true,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"allerauf","valueType":"str"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"count","propertyType":"msg","value":"start","valueType":"str"}],"x":160,"y":1600,"wires":[["f678921e77b7b7d7"],[]]},{"id":"419a67d59c6152f2","type":"api-call-service","z":"d332a9cdd607efc9","name":"Tür Rolladen rauf","server":"64eac69f.fe1218","version":5,"debugenabled":false,"domain":"cover","service":"open_cover","areaId":[],"deviceId":[],"entityId":["cover.esszimmer_rollade_tur"],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1910,"y":1600,"wires":[[]]},{"id":"1c8ddb16353b1679","type":"switch","z":"d332a9cdd607efc9","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"allerunter","vt":"str"},{"t":"eq","v":"F1zu","vt":"str"},{"t":"eq","v":"F1auf","vt":"str"},{"t":"eq","v":"Ttürzu","vt":"str"},{"t":"eq","v":"Ttürkipp","vt":"str"},{"t":"eq","v":"Ttürauf","vt":"str"},{"t":"eq","v":"F2auf","vt":"str"},{"t":"eq","v":"F2zu","vt":"str"},{"t":"eq","v":"allerauf","vt":"str"}],"checkall":"true","repair":false,"outputs":9,"x":830,"y":1360,"wires":[["f62ed668192429a0"],["6dc2b9d68873576d"],["e9862c46973d8b93"],["639adeb3f2e6e5d0"],["5ad2e0d52b411681"],["9c232be1302cc2c7"],["890d6b411f7ecf82"],["756ae0482a28dcc8"],["fa0570cc4752c55d"]]},{"id":"c2488c1450939db3","type":"server-state-changed","z":"d332a9cdd607efc9","name":"Terrassentürgriff","server":"64eac69f.fe1218","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"sensor.hmip_srh_0007dd89b425d3_state","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":true,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":160,"y":1360,"wires":[["207217392e456ca5"]]},{"id":"207217392e456ca5","type":"change","z":"d332a9cdd607efc9","name":"","rules":[{"t":"change","p":"payload","pt":"msg","from":"closed","fromt":"str","to":"Ttürzu","tot":"str"},{"t":"change","p":"payload","pt":"msg","from":"tilted","fromt":"str","to":"Ttürkipp","tot":"str"},{"t":"change","p":"payload","pt":"msg","from":"open","fromt":"str","to":"Ttürauf","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":470,"y":1360,"wires":[["1c8ddb16353b1679"]]},{"id":"26dbe21287bb4207","type":"api-call-service","z":"d332a9cdd607efc9","name":"Tür Rolladen runter","server":"64eac69f.fe1218","version":5,"debugenabled":false,"domain":"cover","service":"close_cover","areaId":[],"deviceId":[],"entityId":["cover.esszimmer_rollade_tur"],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1350,"y":1300,"wires":[[]]},{"id":"639adeb3f2e6e5d0","type":"api-current-state","z":"d332a9cdd607efc9","name":"Lux sensor unter 5","server":"64eac69f.fe1218","version":3,"outputs":2,"halt_if":"5","halt_if_type":"num","halt_if_compare":"lte","entity_id":"sensor.lichtsensorwz_illuminance_lux","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":1110,"y":1300,"wires":[["26dbe21287bb4207"],[]]},{"id":"5ad2e0d52b411681","type":"api-current-state","z":"d332a9cdd607efc9","name":"Lux sensor unter 5","server":"64eac69f.fe1218","version":3,"outputs":2,"halt_if":"5","halt_if_type":"num","halt_if_compare":"lte","entity_id":"sensor.lichtsensorwz_illuminance_lux","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":1110,"y":1360,"wires":[["60c379152a35b6fd"],[]]},{"id":"60c379152a35b6fd","type":"api-call-service","z":"d332a9cdd607efc9","name":"Tür Rolladen kipp 20 % auf","server":"64eac69f.fe1218","version":5,"debugenabled":false,"domain":"cover","service":"set_cover_position","areaId":[],"deviceId":[],"entityId":["cover.esszimmer_rollade_tur"],"data":"{\t\"position\":20\t}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1380,"y":1360,"wires":[[]]},{"id":"9c232be1302cc2c7","type":"api-current-state","z":"d332a9cdd607efc9","name":"Lux sensor unter 5","server":"64eac69f.fe1218","version":3,"outputs":2,"halt_if":"5","halt_if_type":"num","halt_if_compare":"lte","entity_id":"sensor.lichtsensorwz_illuminance_lux","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":1110,"y":1420,"wires":[["1e45a78e9723187a"],[]]},{"id":"1e45a78e9723187a","type":"api-call-service","z":"d332a9cdd607efc9","name":"Tür Rolladen auf","server":"64eac69f.fe1218","version":5,"debugenabled":false,"domain":"cover","service":"open_cover","areaId":[],"deviceId":[],"entityId":["cover.esszimmer_rollade_tur"],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1350,"y":1420,"wires":[[]]},{"id":"4a7b1d7de65a91f0","type":"comment","z":"d332a9cdd607efc9","name":"Zustandsabrfage","info":"hier frage ich nur die zustandsfragen des \nTerassentürsensors ab und konfiguriere \nsie mir um das ich sie einfacher weiter \nverwenden kann.","x":460,"y":1320,"wires":[]},{"id":"bc464a49513989fc","type":"comment","z":"d332a9cdd607efc9","name":"Nachts","info":"","x":130,"y":1020,"wires":[]},{"id":"af41d430b6e872f5","type":"comment","z":"d332a9cdd607efc9","name":"Terassentür öffnet","info":"","x":170,"y":1320,"wires":[]},{"id":"8bfa787935c5717d","type":"comment","z":"d332a9cdd607efc9","name":"Tags","info":"","x":110,"y":1560,"wires":[]},{"id":"3430117f22fd013a","type":"server-state-changed","z":"d332a9cdd607efc9","name":"Fenster WZ","server":"64eac69f.fe1218","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"binary_sensor.wohnzimmer_fensterkontakt_doppelfenster_state","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":true,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":130,"y":1200,"wires":[["e3685298c16b906e"]]},{"id":"e3685298c16b906e","type":"change","z":"d332a9cdd607efc9","name":"","rules":[{"t":"change","p":"payload","pt":"msg","from":"on","fromt":"str","to":"F1auf","tot":"str"},{"t":"change","p":"payload","pt":"msg","from":"off","fromt":"str","to":"F1zu","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":430,"y":1200,"wires":[["1c8ddb16353b1679"]]},{"id":"934ba1afb31596f4","type":"api-call-service","z":"d332a9cdd607efc9","name":"WZ Rolladen runter","server":"64eac69f.fe1218","version":5,"debugenabled":false,"domain":"cover","service":"close_cover","areaId":[],"deviceId":[],"entityId":["cover.wohnzimmer_rollade"],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1350,"y":1180,"wires":[[]]},{"id":"c022717bc9976455","type":"api-call-service","z":"d332a9cdd607efc9","name":"WZ Rolladen rauf 20 %","server":"64eac69f.fe1218","version":5,"debugenabled":false,"domain":"cover","service":"set_cover_position","areaId":[],"deviceId":[],"entityId":["cover.wohnzimmer_rollade"],"data":"{\t\"position\":20\t}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1370,"y":1240,"wires":[[]]},{"id":"a6435c35666bd889","type":"server-state-changed","z":"d332a9cdd607efc9","name":"Fenster KZ","server":"64eac69f.fe1218","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"binary_sensor.kuche_fensterkontakt_state","entityidfiltertype":"exact","outputinitially":false,"state_type":"str","haltifstate":"","halt_if_type":"str","halt_if_compare":"is","outputs":1,"output_only_on_state_change":true,"for":"0","forType":"num","forUnits":"minutes","ignorePrevStateNull":false,"ignorePrevStateUnknown":false,"ignorePrevStateUnavailable":false,"ignoreCurrentStateUnknown":false,"ignoreCurrentStateUnavailable":false,"outputProperties":[{"property":"payload","propertyType":"msg","value":"","valueType":"entityState"},{"property":"data","propertyType":"msg","value":"","valueType":"eventData"},{"property":"topic","propertyType":"msg","value":"","valueType":"triggerId"}],"x":120,"y":1500,"wires":[["f8a40315822c5ee2"]]},{"id":"f8a40315822c5ee2","type":"change","z":"d332a9cdd607efc9","name":"","rules":[{"t":"change","p":"payload","pt":"msg","from":"on","fromt":"str","to":"F2auf","tot":"str"},{"t":"change","p":"payload","pt":"msg","from":"off","fromt":"str","to":"F2zu","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":430,"y":1500,"wires":[["1c8ddb16353b1679"]]},{"id":"ca36daaefab41881","type":"api-call-service","z":"d332a9cdd607efc9","name":"KücheRolladen runter","server":"64eac69f.fe1218","version":5,"debugenabled":false,"domain":"cover","service":"close_cover","areaId":[],"deviceId":[],"entityId":["cover.kuche_rolladen_fenster"],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1360,"y":1540,"wires":[[]]},{"id":"7fc9b12467be5251","type":"api-call-service","z":"d332a9cdd607efc9","name":"Küche Rolladen 20% auf","server":"64eac69f.fe1218","version":5,"debugenabled":false,"domain":"cover","service":"set_cover_position","areaId":[],"deviceId":[],"entityId":["cover.kuche_rolladen_fenster"],"data":"{\t\"position\":20\t}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1370,"y":1480,"wires":[[]]},{"id":"f7bb31bdaa24a1e6","type":"debug","z":"d332a9cdd607efc9","name":"debug 1","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":800,"y":1000,"wires":[]},{"id":"c2dc43cb0cf13f40","type":"api-call-service","z":"d332a9cdd607efc9","name":"EZ Tür Runter","server":"6a0c4d49da3556e0","version":5,"debugenabled":false,"domain":"cover","service":"close_cover","areaId":[],"deviceId":[],"entityId":["cover.esszimmer_rollade_tur"],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":2560,"y":1040,"wires":[[]]},{"id":"f62ed668192429a0","type":"api-call-service","z":"d332a9cdd607efc9","name":"WZ Rolladen runter","server":"64eac69f.fe1218","version":5,"debugenabled":false,"domain":"cover","service":"close_cover","areaId":[],"deviceId":[],"entityId":["cover.wohnzimmer_rollade"],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1110,"y":1100,"wires":[["9b3b80aae75e8db9"]]},{"id":"b218b245f6a857a7","type":"api-call-service","z":"d332a9cdd607efc9","name":"KücheRolladen runter","server":"64eac69f.fe1218","version":5,"debugenabled":false,"domain":"cover","service":"close_cover","areaId":[],"deviceId":[],"entityId":["cover.kuche_rolladen_fenster"],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1520,"y":1100,"wires":[["e6e49d3e34eb951c"]]},{"id":"fa0570cc4752c55d","type":"api-call-service","z":"d332a9cdd607efc9","name":"WZ Rolladen rauf","server":"64eac69f.fe1218","version":5,"debugenabled":false,"domain":"cover","service":"open_cover","areaId":[],"deviceId":[],"entityId":["cover.wohnzimmer_rollade"],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1110,"y":1600,"wires":[["b7616f3551642386"]]},{"id":"e526122d64dc2f48","type":"api-call-service","z":"d332a9cdd607efc9","name":"KücheRolladen rauf","server":"64eac69f.fe1218","version":5,"debugenabled":false,"domain":"cover","service":"open_cover","areaId":[],"deviceId":[],"entityId":["cover.kuche_rolladen_fenster"],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1510,"y":1600,"wires":[["2563f463d3020392"]]},{"id":"890d6b411f7ecf82","type":"api-current-state","z":"d332a9cdd607efc9","name":"Lux sensor unter 5","server":"64eac69f.fe1218","version":3,"outputs":2,"halt_if":"5","halt_if_type":"num","halt_if_compare":"lte","entity_id":"sensor.lichtsensorwz_illuminance_lux","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":1110,"y":1480,"wires":[["7fc9b12467be5251"],[]]},{"id":"756ae0482a28dcc8","type":"api-current-state","z":"d332a9cdd607efc9","name":"Lux sensor unter 5","server":"64eac69f.fe1218","version":3,"outputs":2,"halt_if":"5","halt_if_type":"num","halt_if_compare":"lte","entity_id":"sensor.lichtsensorwz_illuminance_lux","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":1110,"y":1540,"wires":[["ca36daaefab41881"],[]]},{"id":"6dc2b9d68873576d","type":"api-current-state","z":"d332a9cdd607efc9","name":"Lux sensor unter 5","server":"64eac69f.fe1218","version":3,"outputs":2,"halt_if":"5","halt_if_type":"num","halt_if_compare":"lte","entity_id":"sensor.lichtsensorwz_illuminance_lux","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":1110,"y":1180,"wires":[["934ba1afb31596f4"],[]]},{"id":"e9862c46973d8b93","type":"api-current-state","z":"d332a9cdd607efc9","name":"Lux sensor unter 5","server":"64eac69f.fe1218","version":3,"outputs":2,"halt_if":"5","halt_if_type":"num","halt_if_compare":"lte","entity_id":"sensor.lichtsensorwz_illuminance_lux","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":1110,"y":1240,"wires":[["c022717bc9976455"],[]]},{"id":"9b3b80aae75e8db9","type":"delay","z":"d332a9cdd607efc9","name":"25Sek","pauseType":"delay","timeout":"25","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":1310,"y":1100,"wires":[["b218b245f6a857a7"]]},{"id":"e6e49d3e34eb951c","type":"delay","z":"d332a9cdd607efc9","name":"25Sek","pauseType":"delay","timeout":"25","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":1730,"y":1100,"wires":[["29ef891435e3e574"]]},{"id":"b7616f3551642386","type":"delay","z":"d332a9cdd607efc9","name":"25Sek","pauseType":"delay","timeout":"25","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":1310,"y":1600,"wires":[["e526122d64dc2f48"]]},{"id":"2563f463d3020392","type":"delay","z":"d332a9cdd607efc9","name":"25Sek","pauseType":"delay","timeout":"25","timeoutUnits":"seconds","rate":"1","nbRateUnits":"1","rateUnits":"second","randomFirst":"1","randomLast":"5","randomUnits":"seconds","drop":false,"allowrate":false,"outputs":1,"x":1710,"y":1600,"wires":[["419a67d59c6152f2"]]},{"id":"29ef891435e3e574","type":"api-current-state","z":"d332a9cdd607efc9","name":"Terrassentürgriff","server":"64eac69f.fe1218","version":3,"outputs":1,"halt_if":"","halt_if_type":"str","halt_if_compare":"is","entity_id":"","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":1900,"y":1100,"wires":[["a23b4ebfe42b769b"]]},{"id":"a23b4ebfe42b769b","type":"change","z":"d332a9cdd607efc9","name":"","rules":[{"t":"change","p":"payload","pt":"msg","from":"closed","fromt":"str","to":"Ttürzu","tot":"str"},{"t":"change","p":"payload","pt":"msg","from":"tilted","fromt":"str","to":"Ttürkipp","tot":"str"},{"t":"change","p":"payload","pt":"msg","from":"open","fromt":"str","to":"Ttürauf","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":2130,"y":1100,"wires":[["480aea976f3f6967"]]},{"id":"480aea976f3f6967","type":"switch","z":"d332a9cdd607efc9","name":"","property":"payload","propertyType":"msg","rules":[{"t":"eq","v":"Ttürzu","vt":"str"},{"t":"eq","v":"","vt":"str"},{"t":"eq","v":"","vt":"str"}],"checkall":"true","repair":false,"outputs":3,"x":2350,"y":1100,"wires":[["c2dc43cb0cf13f40"],["567597ab5eb00cf9"],["110b2fd6a9b15378"]]},{"id":"567597ab5eb00cf9","type":"api-call-service","z":"d332a9cdd607efc9","name":"Tür Rolladen kipp 20 % auf","server":"64eac69f.fe1218","version":5,"debugenabled":false,"domain":"cover","service":"set_cover_position","areaId":[],"deviceId":[],"entityId":["cover.esszimmer_rollade_tur"],"data":"{\t\"position\":20\t}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":2600,"y":1100,"wires":[[]]},{"id":"110b2fd6a9b15378","type":"api-call-service","z":"d332a9cdd607efc9","name":"Tür Rolladen auf","server":"64eac69f.fe1218","version":5,"debugenabled":false,"domain":"cover","service":"open_cover","areaId":[],"deviceId":[],"entityId":["cover.esszimmer_rollade_tur"],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":2570,"y":1160,"wires":[[]]},{"id":"64eac69f.fe1218","type":"server","name":"Home Assistant","version":4,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":30,"areaSelector":"friendlyName","deviceSelector":"friendlyName","entitySelector":"friendlyName","statusSeparator":"at: ","statusYear":"hidden","statusMonth":"short","statusDay":"numeric","statusHourCycle":"h23","statusTimeFormat":"h:m"},{"id":"6a0c4d49da3556e0","type":"server","name":"Home Assistant","version":5,"addon":true,"rejectUnauthorizedCerts":true,"ha_boolean":"y|yes|true|on|home|open","connectionDelay":true,"cacheJson":true,"heartbeat":false,"heartbeatInterval":"30","areaSelector":"friendlyName","deviceSelector":"friendlyName","entitySelector":"friendlyName","statusSeparator":"at: ","statusYear":"hidden","statusMonth":"short","statusDay":"numeric","statusHourCycle":"h23","statusTimeFormat":"h:m","enableGlobalContextStore":true}]
Hier einmal ergänzt. Du musst nur noch deine Entity ID beim current state vom Terrassengriff kontrollieren. habe versucht es reinzukopieren und einzufügen.
Welchen Grund haben die 25sek. Verzögerung bei den 3 Rollladen?