@SLang77
Erstmal das Script einfach starten.
Es werden dann die DPs angelegt unter 0_userdata.0.jarvis.shutter
Dann in das shutterArray folgendes kopieren und ersetzen:
[{"direction":"Westen","id":"shelly.0.SHSW-25#483FDA76428D#1.Shutter.Position"},{"direction":"Westen","id":"shelly.0.SHSW-25#40F52020E5EB#1.Shutter.Position"},{"direction":"Westen","id":"shelly.0.SHSW-25#40F52027A30A#1.Shutter.Position"},{"direction":"Osten","id":"shelly.0.SHSW-25#40F5202D26F0#1.Shutter.Position"},{"direction":"Osten","id":"shelly.0.SHSW-25#40F520266FB2#1.Shutter.Position"},{"direction":"Osten","id":"shelly.0.SHSW-25#40F52020F1A7#1.Shutter.Position"},{"direction":"Süden","id":"shelly.0.SHSW-25#483FDA8275E7#1.Shutter.Position"},{"direction":"Süden","id":"shelly.0.SHSW-25#40F5202D4C66#1.Shutter.Position"}]
Danach kannst du mal z.B. Süden auswählen bei direction und dann eine position angeben, manuell -> 50 eingeben und bestätigen. Dann sollten alle Rollos von Süden auf 50% fahren.
Vorausgesetzt, dass die Rollos mit dem Eintrag auf Position dann auch losfahren, so hab ich es bislang verstanden.
Wann sollen welche Rollos morgens hochfahren? also auf 100?
Beispiel: für morgen 07:00 Süden auf 100 (auf), abends 22:00 auf 0 (zu) -> shutterTimeArray
[{"time":"07:00","direction":"Süden","position":100},{"time":"22:00","direction":"Süden","position":0}]
Wichtig Zeiten dürfen momentan nur 07:00,07:02, 07:04 also alle 2 Minuten sein, wird sonst nicht erkannt!
JARVIS
Die DPs anlegen von oben
direction DP
0_userdata.0.jarvis.shutter.direction
direction-DropDown (Anzeigevariante):
{"All":"Alle Rollos","Norden":"Nord","Westen":"West","Osten":"Ost","Süden":"Süd"}
ActionElement: DropDownAction
position-DP
0_userdata.0.jarvis.shutter.position
position-DropDown(Anzeigevariante):
{"10":"10","20":"20","30":"30","40":"40","50":"50","60":"60","70":"70","80":"80","90":"90","100":"100"}
ActionElement: DropDownAction
Es gibt anscheinend auch Probleme mit der position?
https://github.com/iobroker-community-adapters/ioBroker.shelly/issues/477