Liebe SmartHome for Dummies Gemeinde.

Die phpBB Forum Software gehört nicht wirklich zu den modernsten seiner Art.
Ich habe mich an einer Migration zu Discourse versucht und bin leider kläglich gescheitert.

Möchte aber trotzdem einen Neuanfang auf einer modernen Plattform starten.
Gerne möchte ich Euch animieren das neue Discourse Forum zu benutzen.
Bestehenden Usern bleibt es leider nicht erspart, sich auf der neuen Platform neu anzumelden.

Das Forum hier, bleibt selbstverständlich Online. Ich würde versuchen einiges händisch zu migrieren.
Da fallen mir die Rubriken "Template Sammlungen" oder "Best Practice Automatisierungen" ein.

SmartHome for Dummies Discourse Platform.

Rollladen Comfort Steuerung Thema ist als GELÖST markiert

Hauptkategorie Home Assistant Integrationen und alle Unterkategorien sind im Lesemodus.
Hier geht es im neuen Kleid weiter https://community-discourse.smarthome-for-dummies.de/


Forumsregeln

Hier geht es im neuen Kleid weiter https://community-discourse.smarthome-for-dummies.de/

Antworten
fschubi
Beiträge: 9
Registriert: Sa 26. Nov 2022, 08:48
2
Has thanked: 2 times
Been thanked: 2 times

Rollladen Comfort Steuerung

Beitrag von fschubi »

Ich hoffe es kann mir jemand helfen. Ich komme vom IOBroker und bin nun zu HA gewechselt. Und Kämpfe noch mit den Node Red Automationen für meine Rollläden. Beim IOBroker gab es eine schönen Adapter der das alles geregelt hat. Sowas habe ich bei HA nicht gefunden.

Grundaufgabe meiner Automation die ich mir wünschen würde

Runterfahren der Rollläden nach Lux wert vom Licht Sensor 5 Lux jede Rollladen mit einem Versatz von 30 Sekunden (das habe ich hin bekommen)

Rauffahren der Rollläden nach Lux wert vom Licht Sensor 12 Lux jede Rollladen mit einem Versatz von 30 Sekunden (das habe ich hin bekommen)

Hier habe ich allerdings das Problem Das wenn ich Morgens der Wert Lus über 5 ist und ich die Rolllade Schließen will weil es Blendet oder so , das es dann wieder automatisch hochfährt da de sensor ja über 5 Lux anzeigt.

Jetzt kommen für mich die Herausforderungen wo ich nicht Weiß wie ich das Realisieren soll:

Die Terrassen Tür hat noch einen Drehgriffsensor , hier hätte ich gerne das die Rollladen bei der Stellung „zu“ ganz Runter fahrt, bei der Stellung „Kipp“ auf einen Bestimmten Wert runterfährt, und bei Stellung „geöffnet“ nicht runterfährt. Wenn ich dann die geöffnete Tür schließe und der Drehgriffsensor nun in der Stellung „zu“ ist sollte die Rolllade wieder ganz zu gehen, gleichen wenn ich von der Stellung „kipp“ auf geschlossen Wechsel. Und wenn ich von der Stellung „zu“ auf „kipp“ Wechsel die Rolllade auf einen bestimmten wert fahrt.

Alle weiteren Fenster haben einen Fenster kontakt mit nur „auf“ und „zu“ Wert, und hier hätte ich ähnliches Szenario das wenn das Fenster „auf“ ist dann auf einen bestimmten Wert Runter fährt und wenn es Geschlossen wird dann ganz schließt.

Wenn bei einem Fenster die Rollladen geschlossen ist und ich das Fenster Öffner sich dann die jeweilige Rolllade auf einen Bestimmten Wert öffnet.

Wäre klasse wenn jemand ne Idee hat.

Viele Grüße
Schubi

Unraid Server AMD Ryzen 5 5600G 64GB Ram, 50 TB HDD 2 TB SSD Cace

VM:
Homaassistant OS
RasperryMatoc

Docler:
DuckDNS, NGinxProxy, PIHole, Heimdall, Jellyfin, WireGuard, MakeMkv

Hamudulu
Beiträge: 96
Registriert: So 9. Jan 2022, 22:42
2
Has thanked: 8 times
Been thanked: 10 times

Re: Rollladen Comfort Steuerung

Beitrag von Hamudulu »

Hallo
ich bin auch von Biobroker auf HA umgestiegen und hab auch versucht Automationen mit nodered zu basteln. Ganz schnell hab ich gemerkt dass das wunderbar auch nativ mit HA funktioniert. Beschäftige dich auch mal mit Automationen von HA, da geht einiges einfacher und ohne Umwege.

Benutzeravatar
m4d-maNu
Beiträge: 187
Registriert: Do 5. Aug 2021, 16:09
3
Has thanked: 14 times
Been thanked: 2 times

Re: Rollladen Comfort Steuerung

Beitrag von m4d-maNu »

Hallo fschubi,
muss es unbedingt mittels Node Red geschehen? Denn mittels der Automatisierung direkt im HomeAssistanten wirkt mir diese Aufgabe eigentlich recht leicht. Da du dort ganz einfach Bedingungen mit einbinden kannst.

fschubi
Beiträge: 9
Registriert: Sa 26. Nov 2022, 08:48
2
Has thanked: 2 times
Been thanked: 2 times

Re: Rollladen Comfort Steuerung

Beitrag von fschubi »

Wollte mich der Aufgabe mit Nod red stellen....

Aber ich würde auch erstmal die normale automation nehmen um das überhaupt richtig zu ergreifen...

Unraid Server AMD Ryzen 5 5600G 64GB Ram, 50 TB HDD 2 TB SSD Cace

VM:
Homaassistant OS
RasperryMatoc

Docler:
DuckDNS, NGinxProxy, PIHole, Heimdall, Jellyfin, WireGuard, MakeMkv

Benutzeravatar
Osorkon
Administrator
Beiträge: 2105
Registriert: Sa 17. Jul 2021, 16:53
3
Wohnort: Langenargen
Has thanked: 63 times
Been thanked: 580 times
Kontaktdaten:

Re: Rollladen Comfort Steuerung

Beitrag von Osorkon »

fschubi hat geschrieben: Sa 26. Nov 2022, 09:06

ier habe ich allerdings das Problem Das wenn ich Morgens der Wert Lus über 5 ist und ich die Rolllade Schließen will weil es Blendet oder so , das es dann wieder automatisch hochfährt da de sensor ja über 5 Lux anzeigt.

Hier solltest Du vielleicht die Aufgabenstellung ein wenig genauer beschreiben.
Was sind die Auslöser und was sind Bedingungen? Verwendet Du den Lux Wert als Auslöser oder als Bedingung?

fschubi hat geschrieben: Sa 26. Nov 2022, 09:06

Jetzt kommen für mich die Herausforderungen wo ich nicht Weiß wie ich das Realisieren soll:

An welcher stelle kommst Diu hier nicht weiter? Geht es um den grundsätzlichen Aufbau der Automatisierung oder hängst Du an einer bestimmten Stelle?

Habe bei mir an den Terrassentüre auch einen Hoppe Fenstergriff mit Kipperkennung. Für die Terrassentür habe ich aktuell mehrere Automatisierungen, (waren die Anfangszeiten von Home Assistant)
müsste mir mal die mühe machen alles zu einer Zusammenzufassen. 😀

Gruß
Osorkon

Einer muss ja für Ordnung sorgen. :D
Sebastian
Beiträge: 35
Registriert: Do 1. Sep 2022, 13:27
2
Has thanked: 8 times
Been thanked: 4 times

Re: Rollladen Comfort Steuerung

Beitrag von Sebastian »

Guten Abend,

Ich hoffe ich kann dir etwas helfen.
Habe ähnliches mit meine Ikea Rollos umgesetzt und mir so geholfen.

Bei unterschiedlichen Szenarien sollen sie anders weit Runterfahren.

Das sich bei dir Rollladen immer wieder neu schließen liegt, wie von dir vermutet am Lux Sensor, da er immer wieder neue Werte unter oder auch über 5 bzw. 12 Lux meldet. Ich habe mir für so etwas einer Zähler gebaut, der solche Meldungen nur einmal durchlässt und dann erst wieder Resettet werden muss.

ich habe da eben auf die schnelle was gebastelt. Vll hilft es dir in die Richtige Richtung. Testen kann ich es leider nicht habe über die comment beschrieben was ich meine.

Schöne Grüße aus dem Norden

Code: Alles auswählen

[{"id":"d332a9cdd607efc9","type":"tab","label":"Rolladensteuerrung","disabled":false,"info":"","env":[]},{"id":"ef1d07979f6e227d","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":"media_player.tv_samsung","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":180,"wires":[["4a0831188865b5b4"],[]]},{"id":"5dd246e1b5ed80dc","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":80,"wires":[]},{"id":"4a0831188865b5b4","type":"counter","z":"d332a9cdd607efc9","name":"","init":"0","step":"1","lower":null,"upper":null,"mode":"increment","outputs":"1","x":400,"y":220,"wires":[["d355981483b82cdd"]]},{"id":"d355981483b82cdd","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":220,"wires":[["fc10c2987f1b6fe0"],[]]},{"id":"f9ef7c31de0c6a5b","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":"media_player.tv_samsung","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":260,"wires":[["4a0831188865b5b4"],[]]},{"id":"a3dedd8745dbdb3f","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":180,"wires":[]},{"id":"8827fe466c1816b4","type":"api-call-service","z":"d332a9cdd607efc9","name":"Ttür Rolladen runter","server":"64eac69f.fe1218","version":5,"debugenabled":false,"domain":"cover","service":"close_cover","areaId":[],"deviceId":[],"entityId":[],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1120,"y":240,"wires":[[]]},{"id":"6ea27ba05cc989db","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":"media_player.tv_samsung","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":800,"wires":[["205d1d2c0dada1e5"],[]]},{"id":"205d1d2c0dada1e5","type":"counter","z":"d332a9cdd607efc9","name":"","init":"0","step":"1","lower":null,"upper":null,"mode":"increment","outputs":"1","x":400,"y":760,"wires":[["fe79c251c72a97ba"]]},{"id":"fe79c251c72a97ba","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":760,"wires":[["fc10c2987f1b6fe0"],[]]},{"id":"41dda19d8b5ecd08","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":"media_player.tv_samsung","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":720,"wires":[["205d1d2c0dada1e5"],[]]},{"id":"fa81344bcd388375","type":"api-call-service","z":"d332a9cdd607efc9","name":"Ttür Rolladen rauf","server":"64eac69f.fe1218","version":5,"debugenabled":false,"domain":"cover","service":"open_cover","areaId":[],"deviceId":[],"entityId":[],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1110,"y":720,"wires":[[]]},{"id":"fc10c2987f1b6fe0","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":480,"wires":[["8827fe466c1816b4"],["7cdf64fe39f17080"],["aef39b1f93aa08fe"],["a4dd51ed08407dc4"],["c2c65caa8ef0e269"],["72babdeee65fe695"],["e541fe2ac717383e"],["be408f191116d964"],["fa81344bcd388375"]]},{"id":"e5ef50285ec732a6","type":"server-state-changed","z":"d332a9cdd607efc9","name":"Terrassentürgriff","server":"64eac69f.fe1218","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"binary_sensor.hmip_fensterkontakt_mit_magnet_m","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":480,"wires":[["456064aa32034192"]]},{"id":"456064aa32034192","type":"change","z":"d332a9cdd607efc9","name":"","rules":[{"t":"change","p":"payload","pt":"msg","from":"off","fromt":"str","to":"Ttürzu","tot":"str"},{"t":"change","p":"payload","pt":"msg","from":"zustand von kipp","fromt":"str","to":"Ttürkipp","tot":"str"},{"t":"change","p":"payload","pt":"msg","from":"on","fromt":"str","to":"Ttürauf","tot":"str"}],"action":"","property":"","from":"","to":"","reg":false,"x":470,"y":480,"wires":[["fc10c2987f1b6fe0"]]},{"id":"ffe847e7c2e0a38a","type":"api-call-service","z":"d332a9cdd607efc9","name":"Ttür Rolladen runter","server":"64eac69f.fe1218","version":5,"debugenabled":false,"domain":"cover","service":"close_cover","areaId":[],"deviceId":[],"entityId":[],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1360,"y":380,"wires":[[]]},{"id":"a4dd51ed08407dc4","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.fire_hd_light_sensor","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":420,"wires":[["ffe847e7c2e0a38a"],[]]},{"id":"c2c65caa8ef0e269","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.fire_hd_light_sensor","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":480,"wires":[["ebe1c8e9a27a2ebe"],[]]},{"id":"ebe1c8e9a27a2ebe","type":"api-call-service","z":"d332a9cdd607efc9","name":"Ttür Rolladen kipp","server":"64eac69f.fe1218","version":5,"debugenabled":false,"domain":"cover","service":"set_cover_position","areaId":[],"deviceId":[],"entityId":[],"data":"{\t\"position\":70\t}","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1350,"y":480,"wires":[[]]},{"id":"d38fca2e06de5dda","type":"comment","z":"d332a9cdd607efc9","name":"position","info":"bei mir muss ich bei den ikea rollos die Prozentzahl eingeben","x":1310,"y":440,"wires":[]},{"id":"72babdeee65fe695","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.fire_hd_light_sensor","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":540,"wires":[["5eb359fffe35d527"],[]]},{"id":"5eb359fffe35d527","type":"api-call-service","z":"d332a9cdd607efc9","name":"Ttür Rolladen kipp","server":"64eac69f.fe1218","version":5,"debugenabled":false,"domain":"cover","service":"open_cover","areaId":[],"deviceId":[],"entityId":[],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1350,"y":540,"wires":[[]]},{"id":"3a73adb59fc6919a","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":440,"wires":[]},{"id":"eb26890511fb7a4d","type":"comment","z":"d332a9cdd607efc9","name":"Nachts","info":"","x":130,"y":140,"wires":[]},{"id":"7e8c262bef13b4c5","type":"comment","z":"d332a9cdd607efc9","name":"Terassentür öffnet","info":"","x":170,"y":440,"wires":[]},{"id":"6f9ebbfb52d994f8","type":"comment","z":"d332a9cdd607efc9","name":"Tags","info":"","x":110,"y":680,"wires":[]},{"id":"fc4c68eb9c71447f","type":"server-state-changed","z":"d332a9cdd607efc9","name":"Fenster 1","server":"64eac69f.fe1218","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"binary_sensor.hmip_fensterkontakt_mit_magnet_m","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":320,"wires":[["c75797b5894cd8cf"]]},{"id":"c75797b5894cd8cf","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":320,"wires":[["fc10c2987f1b6fe0"]]},{"id":"7cdf64fe39f17080","type":"api-call-service","z":"d332a9cdd607efc9","name":"F1 Rolladen runter","server":"64eac69f.fe1218","version":5,"debugenabled":false,"domain":"cover","service":"close_cover","areaId":[],"deviceId":[],"entityId":[],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1110,"y":300,"wires":[[]]},{"id":"aef39b1f93aa08fe","type":"api-call-service","z":"d332a9cdd607efc9","name":"F1 Rolladen rauf","server":"64eac69f.fe1218","version":5,"debugenabled":false,"domain":"cover","service":"open_cover","areaId":[],"deviceId":[],"entityId":[],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1110,"y":360,"wires":[[]]},{"id":"b27ddc32699531f7","type":"server-state-changed","z":"d332a9cdd607efc9","name":"Fenster 2","server":"64eac69f.fe1218","version":4,"exposeToHomeAssistant":false,"haConfig":[{"property":"name","value":""},{"property":"icon","value":""}],"entityidfilter":"binary_sensor.hmip_fensterkontakt_mit_magnet_m","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":620,"wires":[["6eeae96df14dfd6c"]]},{"id":"6eeae96df14dfd6c","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":620,"wires":[["fc10c2987f1b6fe0"]]},{"id":"be408f191116d964","type":"api-call-service","z":"d332a9cdd607efc9","name":"F2 Rolladen runter","server":"64eac69f.fe1218","version":5,"debugenabled":false,"domain":"cover","service":"close_cover","areaId":[],"deviceId":[],"entityId":[],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1110,"y":660,"wires":[[]]},{"id":"e541fe2ac717383e","type":"api-call-service","z":"d332a9cdd607efc9","name":"F2 Rolladen rauf","server":"64eac69f.fe1218","version":5,"debugenabled":false,"domain":"cover","service":"open_cover","areaId":[],"deviceId":[],"entityId":[],"data":"","dataType":"jsonata","mergeContext":"","mustacheAltTags":false,"outputProperties":[],"queue":"none","x":1110,"y":600,"wires":[[]]},{"id":"3d0cf4e9ce5c91ea","type":"comment","z":"d332a9cdd607efc9","name":"oder gewünschte position eingeben","info":"","x":1380,"y":300,"wires":[]},{"id":"abb748209953b085","type":"comment","z":"d332a9cdd607efc9","name":"oder gewünschte position eingeben","info":"","x":1380,"y":640,"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"}]
fschubi
Beiträge: 9
Registriert: Sa 26. Nov 2022, 08:48
2
Has thanked: 2 times
Been thanked: 2 times

Re: Rollladen Comfort Steuerung

Beitrag von fschubi »

Moin Sebastion,

vielen dank für deine Antwort und den Flow...

Ist je mega was du da gebaut hast ... mal so ebend ... =)

Ich werde mir das hoffentlich heute Abend genauer angucken können, wenn ich hier rechtzeitig auf der Arbeit raus komme.

Unraid Server AMD Ryzen 5 5600G 64GB Ram, 50 TB HDD 2 TB SSD Cace

VM:
Homaassistant OS
RasperryMatoc

Docler:
DuckDNS, NGinxProxy, PIHole, Heimdall, Jellyfin, WireGuard, MakeMkv

fschubi
Beiträge: 9
Registriert: Sa 26. Nov 2022, 08:48
2
Has thanked: 2 times
Been thanked: 2 times

Re: Rollladen Comfort Steuerung

Beitrag von fschubi »

@ Sebastion

Konnte michi doch nicht bherschen und habe das schon alles bei mir reingesetzt. Und meine ganzen Entitäten angepasst.

Mega Arbeit von dir !!!!

Ich hätte nur noch eine bitte wenn du dir meine Code hier jetzt nocheinmal angucken könntest.

Undzwar hast du ja alle Rolladen runter definiert. Dort habe ich nun das WZ die Küche und die Terrassentür angefügt, alles geht auf und runter ohne Probleme. hast du noch eine Idee wie ich dann in noch einen Quasi Aussperrschutz mit einbaue das die Terrasssen Tür nicht runterfährt, wenn die Tür Offfen ist.

Mit dem jetzigen flow fährt sie auch runter wenn die tür (drehgriffsensor) auf ist. wenn sie dann zu ist und ich den statuss des Drehgriffsen sensors ändere daann fährt die Rolllade auf die entsprechende Funktion. Aber leider nicht wenn sie schon auf ist wenn dann alles runter fährt.

Für diese Funktion wäre ich dir noch sehr dankbar.

Viele Grüße Frank

Code: Alles auswählen

[{"id":"ef1d07979f6e227d","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":180,"wires":[["4a0831188865b5b4"],[]]},{"id":"5dd246e1b5ed80dc","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":80,"wires":[]},{"id":"4a0831188865b5b4","type":"counter","z":"d332a9cdd607efc9","name":"","init":"0","step":"1","lower":"","upper":"","mode":"increment","outputs":"1","x":400,"y":220,"wires":[["d355981483b82cdd"]]},{"id":"d355981483b82cdd","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":220,"wires":[["fc10c2987f1b6fe0","ec762e13527b60ea"],[]]},{"id":"f9ef7c31de0c6a5b","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":260,"wires":[["4a0831188865b5b4"],[]]},{"id":"a3dedd8745dbdb3f","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":180,"wires":[]},{"id":"6ea27ba05cc989db","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":800,"wires":[["205d1d2c0dada1e5"],[]]},{"id":"205d1d2c0dada1e5","type":"counter","z":"d332a9cdd607efc9","name":"","init":"0","step":"1","lower":"","upper":"","mode":"increment","outputs":"1","x":400,"y":760,"wires":[["fe79c251c72a97ba"]]},{"id":"fe79c251c72a97ba","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":760,"wires":[["fc10c2987f1b6fe0"],[]]},{"id":"41dda19d8b5ecd08","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":720,"wires":[["205d1d2c0dada1e5"],[]]},{"id":"fa81344bcd388375","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":720,"wires":[[]]},{"id":"fc10c2987f1b6fe0","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":480,"wires":[["8e09e7d995fd06f6"],["cfa5b711aced60bc"],["2be89204d3c1b4b5"],["a4dd51ed08407dc4"],["c2c65caa8ef0e269"],["72babdeee65fe695"],["da9d00aea8c69498"],["5fa09ff4655f8d31"],["8b2b7c35e1e869bc"]]},{"id":"e5ef50285ec732a6","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":480,"wires":[["456064aa32034192"]]},{"id":"456064aa32034192","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":480,"wires":[["fc10c2987f1b6fe0"]]},{"id":"ffe847e7c2e0a38a","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":420,"wires":[[]]},{"id":"a4dd51ed08407dc4","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":420,"wires":[["ffe847e7c2e0a38a"],[]]},{"id":"c2c65caa8ef0e269","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":480,"wires":[["ebe1c8e9a27a2ebe"],[]]},{"id":"ebe1c8e9a27a2ebe","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":480,"wires":[[]]},{"id":"72babdeee65fe695","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":540,"wires":[["5eb359fffe35d527"],[]]},{"id":"5eb359fffe35d527","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":540,"wires":[[]]},{"id":"3a73adb59fc6919a","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":440,"wires":[]},{"id":"eb26890511fb7a4d","type":"comment","z":"d332a9cdd607efc9","name":"Nachts","info":"","x":130,"y":140,"wires":[]},{"id":"7e8c262bef13b4c5","type":"comment","z":"d332a9cdd607efc9","name":"Terassentür öffnet","info":"","x":170,"y":440,"wires":[]},{"id":"6f9ebbfb52d994f8","type":"comment","z":"d332a9cdd607efc9","name":"Tags","info":"","x":110,"y":680,"wires":[]},{"id":"fc4c68eb9c71447f","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":320,"wires":[["c75797b5894cd8cf"]]},{"id":"c75797b5894cd8cf","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":320,"wires":[["fc10c2987f1b6fe0"]]},{"id":"7cdf64fe39f17080","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":300,"wires":[[]]},{"id":"aef39b1f93aa08fe","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":360,"wires":[[]]},{"id":"b27ddc32699531f7","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":620,"wires":[["6eeae96df14dfd6c"]]},{"id":"6eeae96df14dfd6c","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":620,"wires":[["fc10c2987f1b6fe0"]]},{"id":"be408f191116d964","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":660,"wires":[[]]},{"id":"e541fe2ac717383e","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":600,"wires":[[]]},{"id":"ec762e13527b60ea","type":"debug","z":"d332a9cdd607efc9","name":"debug 1","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"false","statusVal":"","statusType":"auto","x":800,"y":120,"wires":[]},{"id":"44d5dc6084f369a2","type":"api-call-service","z":"d332a9cdd607efc9","name":"EZ Tür Runter","server":"95991ea1.42853","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":1920,"y":220,"wires":[[]]},{"id":"8e09e7d995fd06f6","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":220,"wires":[["9485e97686d8a61f"]]},{"id":"a12f4bd3bfc72ccb","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":220,"wires":[["aa0f88e33ff61b9e"]]},{"id":"8b2b7c35e1e869bc","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":720,"wires":[["6b70ea168395ef8b"]]},{"id":"29feb7256a237945","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":720,"wires":[["642caa13a5107812"]]},{"id":"da9d00aea8c69498","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":600,"wires":[["e541fe2ac717383e"],[]]},{"id":"5fa09ff4655f8d31","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":660,"wires":[["be408f191116d964"],[]]},{"id":"cfa5b711aced60bc","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":300,"wires":[["7cdf64fe39f17080"],[]]},{"id":"2be89204d3c1b4b5","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":360,"wires":[["aef39b1f93aa08fe"],[]]},{"id":"9485e97686d8a61f","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":220,"wires":[["a12f4bd3bfc72ccb"]]},{"id":"aa0f88e33ff61b9e","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":220,"wires":[["44d5dc6084f369a2"]]},{"id":"6b70ea168395ef8b","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":720,"wires":[["29feb7256a237945"]]},{"id":"642caa13a5107812","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":720,"wires":[["fa81344bcd388375"]]},{"id":"64eac69f.fe1218","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},{"id":"95991ea1.42853","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}]

Unraid Server AMD Ryzen 5 5600G 64GB Ram, 50 TB HDD 2 TB SSD Cace

VM:
Homaassistant OS
RasperryMatoc

Docler:
DuckDNS, NGinxProxy, PIHole, Heimdall, Jellyfin, WireGuard, MakeMkv

Sebastian
Beiträge: 35
Registriert: Do 1. Sep 2022, 13:27
2
Has thanked: 8 times
Been thanked: 4 times

Re: Rollladen Comfort Steuerung

Beitrag von Sebastian »

Das freut mich sehr das dass gleich geklappt hat :)
Umso mehr, da ich erst seit Februar mit HA, Smarthome, Node Red in Berührung kam. :D

Klar,

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?

Benutzeravatar
Osorkon
Administrator
Beiträge: 2105
Registriert: Sa 17. Jul 2021, 16:53
3
Wohnort: Langenargen
Has thanked: 63 times
Been thanked: 580 times
Kontaktdaten:

Re: Rollladen Comfort Steuerung

Beitrag von Osorkon »

Es scheint sich hier eher um das komische Ding Namens Node Red zu drehen. 😂🤪
und nicht um Automatisierungen.
@fschubi Soll ich das Thema in den Bereich Node Red verschieben?

Gruß
Osorkon

Einer muss ja für Ordnung sorgen. :D
fschubi
Beiträge: 9
Registriert: Sa 26. Nov 2022, 08:48
2
Has thanked: 2 times
Been thanked: 2 times

Re: Rollladen Comfort Steuerung

Beitrag von fschubi »

Ist Node-Red nicht auch ein Tool zur Automatisierung ?

Unraid Server AMD Ryzen 5 5600G 64GB Ram, 50 TB HDD 2 TB SSD Cace

VM:
Homaassistant OS
RasperryMatoc

Docler:
DuckDNS, NGinxProxy, PIHole, Heimdall, Jellyfin, WireGuard, MakeMkv

fschubi
Beiträge: 9
Registriert: Sa 26. Nov 2022, 08:48
2
Has thanked: 2 times
Been thanked: 2 times

Re: Rollladen Comfort Steuerung

Beitrag von fschubi »

@Sebastian

Mega danke für deine Hilfe,

wie hast es geschafft so fix gut in Node Red zu werden ? Ich hänge immer noch bei Blocklys vom IOBroker im Kopf fest....

aber ich glaube dies hat viel in sachen verständnis geholfen....

Du Schriebst irgend wo Grüße aus dem Norden ....

Ich sag dann mal Grüße aus dem Hamburger Speckmantel :D

Vielen Vielen Dank dir nochmal

Unraid Server AMD Ryzen 5 5600G 64GB Ram, 50 TB HDD 2 TB SSD Cace

VM:
Homaassistant OS
RasperryMatoc

Docler:
DuckDNS, NGinxProxy, PIHole, Heimdall, Jellyfin, WireGuard, MakeMkv

fschubi
Beiträge: 9
Registriert: Sa 26. Nov 2022, 08:48
2
Has thanked: 2 times
Been thanked: 2 times

Re: Rollladen Comfort Steuerung

Beitrag von fschubi »

@Sebastian

Ach ja die 25 Sek haben was mit dem WAF zu tun =)))

meine Frau findet es besser wenn die versetzt runter Fahren... warum auch immer ... wenn Sie es so haben will und dann GHlücklich ist soll sie es bekommen =)

Unraid Server AMD Ryzen 5 5600G 64GB Ram, 50 TB HDD 2 TB SSD Cace

VM:
Homaassistant OS
RasperryMatoc

Docler:
DuckDNS, NGinxProxy, PIHole, Heimdall, Jellyfin, WireGuard, MakeMkv

fschubi
Beiträge: 9
Registriert: Sa 26. Nov 2022, 08:48
2
Has thanked: 2 times
Been thanked: 2 times

Re: Rollladen Comfort Steuerung

Beitrag von fschubi »

@Sebastian

Ach ja die 25 Sek haben was mit dem WAF zu tun =)))

meine Frau findet es besser wenn die versetzt runter Fahren... warum auch immer ... wenn Sie es so haben will und dann GHlücklich ist soll sie es bekommen =)

Sie muss ja auch zufrieden seni.... Happy Wife Happy Life =)

Unraid Server AMD Ryzen 5 5600G 64GB Ram, 50 TB HDD 2 TB SSD Cace

VM:
Homaassistant OS
RasperryMatoc

Docler:
DuckDNS, NGinxProxy, PIHole, Heimdall, Jellyfin, WireGuard, MakeMkv

Benutzeravatar
m4d-maNu
Beiträge: 187
Registriert: Do 5. Aug 2021, 16:09
3
Has thanked: 14 times
Been thanked: 2 times

Re: Rollladen Comfort Steuerung

Beitrag von m4d-maNu »

fschubi hat geschrieben: Di 29. Nov 2022, 21:48

Ist Node-Red nicht auch ein Tool zur Automatisierung ?

Doch ist auch ein Automatisierung Tool aber eben über eine Integration und nicht die native Form an Automatisierungen von Home Assistant selbst. Würde es in der normalen Automatisierung Sektion bleiben, so könnte ein Neuling erstmal meinen dass er das so bei sich direkt in HA einbinden kann, was aber nicht geht, daher ist die Verschiebung in den Node Red Bereich gar nicht so schlecht.

Benutzeravatar
carsten_h
Beiträge: 532
Registriert: Mo 2. Aug 2021, 11:07
3
Has thanked: 1 time
Been thanked: 66 times

Re: Rollladen Comfort Steuerung

Beitrag von carsten_h »

m4d-maNu hat geschrieben: Mi 30. Nov 2022, 09:41

aber eben über eine Integration

Ich dache immer NodeRed wäre eine eigenständige Software, die man auch irgendwo installieren muß. Das geht auch so nur über eine Integration?

Hier laufen macOS, iOS, iPadOS, tvOS, watchOS, Home Assistant OS, QTS, Raspberry Pi OS, piCorePlayer und Fire OS

Benutzeravatar
m4d-maNu
Beiträge: 187
Registriert: Do 5. Aug 2021, 16:09
3
Has thanked: 14 times
Been thanked: 2 times

Re: Rollladen Comfort Steuerung

Beitrag von m4d-maNu »

Hab mich damit nie Beschäftigt @carsten_h, ich schau dass ich alles Native mit HA mache (außer deCONZ/Phoscon). Es ist hier im Forum halt unter Integrationen gelistet und im HACS ist es auch gelistet, entsprechend dachte ich nun es gibt da nun eine Integration schon.

Benutzeravatar
carsten_h
Beiträge: 532
Registriert: Mo 2. Aug 2021, 11:07
3
Has thanked: 1 time
Been thanked: 66 times

Re: Rollladen Comfort Steuerung

Beitrag von carsten_h »

m4d-maNu hat geschrieben: Mi 30. Nov 2022, 09:59

Es ist hier im Forum halt unter Integrationen gelistet und im HACS ist es auch gelistet

Sicher gibt es eine Integration, nur hilft die alleine ja nichts. Man muß ja auch NodeRed selber installieren. Das läuft dann entweder auf einem anderen Rechner oder eben als Add-On in Home Assistant.
Das wollte ich damit zum Ausdruck bringen.

Hier laufen macOS, iOS, iPadOS, tvOS, watchOS, Home Assistant OS, QTS, Raspberry Pi OS, piCorePlayer und Fire OS

Antworten