VPN/Proxy erkannt
Es scheint, dass Sie einen VPN- oder Proxy-Dienst verwenden. Bitte beachten Sie, dass die Nutzung eines solchen Dienstes die Funktionalität dieser Webseite einschränken kann.
-
db070
Für mich sind die Anschlussschemata nicht unprofessionell.
Prinzipiell kann man einen Pro 2 (ohne PM) zur Rollladensteuerung verwenden, aber
- dieser Shelly unterstützt dies nicht durch einen eingebauten Modus,
- dazu müsstest du passend konfigurieren, mit eigenem Risiko - oder ein Skript erstellen,
- der Shelly kann ohne PM keine Zwischenpositionen anfahren, weil er ohne Leistungsmessung nicht kalibrieren kann.
Gruß
Gerhard
-
Solange ein Shelly über keine galvanische Trennung verfügt, bspw. per Optokoppler, Opto-Triac, ..., ist an jedem Eingang (SW) eines per 230V Wechselspannung betriebenem Shelly immer ein Spannungsbezug zu entweder Nullleiter (N) oder Außenleiter (Phase, L) erforderlich.
Daraus ergibt sich, dass eine 12V Gleichspannung an einem solchen Eingang typischerweise nicht nutzbar ist.
-
db070
Habe einfach etwas Geduld!
Auf thgoebel ist Verlass. Er wird die erforderlichen Informationen für dich sorgfältig prüfen und dann mitteilen.
Er ist sehr gut darin, einen Shelly zu "sezieren" ... 
-
ostfriese
Freut mich. 
Ich habe dein Skript mal kopiert. Ich werde vielleicht Codeteile an anderer Stelle verwenden.
Cyb.2K
Hallo Christian. Ist es das wert? Ich meine das Ostfriesenwitzverbot. 
Ich habe mich zwei Jahre lang in Ostfriesland wohl gefühlt.
-
Ok, nun habe ich alles (?) verstanden. 
-
Es ist aber wenig wahrscheinlich, dass eine Kombination von potentalfreiem Schalten und PM (zur Kalibrierung und in Position fahren) erhältlich ist.
Ich lasse mich aber gerne vom Gegenteil überzeugen.
-
newer, simpler design
- When the script starts, the schedule jobs are read in and the data (timespec and method) sorted in an array named "Schedules".
The times are converted into daily minutes and used for sorting.
Insertion sort is sufficient as a sorting algorithm. - The callback function of a periodically working timer fetches the current time via RPC,
converts these to minutes per day and searches the Schedules array using the minutes per day.
The search ends as soon as the daily minute value in the selected "Schedules" entry is less than the current daily minute value.
If the end of the data field was reached without a matching one, the last entry is used.
Special case: There are no schedule jobs -> the data field is empty -> no action - Requirement: The array "Schedules" is not empty.
The RPC method in the selected entry is called.
To 2.
For a most reduced implementation there is no need for a periodcally working timer, because the instruction sequence described in 2. also may run once at script start.
Then the implementation is not as robust as possible, but without an electronic failure it schould work appropriate.
The most robust implementation is that, which I describel in #8, perhaps extended by an additional schedule job, that starts the script periodically - and therefore also after a disruption.
Issue:
This implementation ignores switch occurences triggered by a user.
This can be examine by using an event handler and KVS ...
-
Bevorzugt: zwei Shelly Plus 1 oder ein Shelly Pro 2 je Rollladen (zweite Generation)
Notfalls, falls vorhanden zwei Shelly 1 oder ein Shelly Uni (erste Generation)
-
If you really intend to implement my idea, you need knowledge of
- the KVS System in the non volatile storage
- coding in JavaScript
- basically creating and updating schedule jobs WITHOUT the Shelly WebUI
All this is documented in https://shelly-api-docs.shelly.cloud/gen2
To 3. I created an aiding webpage , findable at https://tools.eichelsdoerfer.net/schedjob.html
I wish you success.
Edit:
Instead of using a specially scheduled job (see 3.), you can use a timer that periodically calls a function that determines the time of day and compares it to the times stored in the KVS.
Edit 2:
I think, it is possible to omit the use of the KVS as well. I am working on it ... (occasionally)
-
In deinem Anwendungsfall zwei Shelly Plus 1, wenn du 12V Versorgung nutzen willst, vermutlich einen Shelly Uni.
Ich habe aber mit dem Uni nur wenig Erfahrung, er sollte aber für deine Zwecke konfigurierbar sein.
Die Eingangsströme an deiner Lift-Elektronik sind offenbar sehr schwach, was die Optokoppler-Ausgänge des Uni locker schalten ließe.
-
Das kann sein.
Ich habe noch einen, der mit 12V betrieben werden kann.
Dann sieh dir Schubbies Empfehlung an!
Oder hoffe darauf, dass es demnächst einen Uni Plus (zweite Generation) geben wird.
Welcher besonders empfehlenswert ist, hängt auch davon ab, was du an Funktionalitäten haben willst.
In einfachen Fällen sollte der Uni genügen.
-
Correction:
The times stored in the schedule jobs are to be used in the KVS in an orderly manner. A single schedule job can call a script function once per minute, which compares the current time with all the times stored in the KVS (+switching actions) and subsequently switches accordingly. The time resolution for switching is 1 minute.
Edit:
All schedule jobs perform one action AT a time, not afterwards. That's why this can't be done without a script.
Edit 2:
It is possible to add this feature to the existing schedule jobs.
But in this use case, a reboot after changing a schedule job should be done.
-
Der Nullleiter spielt beim potentialfreien Schalten keinerlei Rolle.
-
You can write a script for this and adjust the corresponding schedule job appropriately.
Then you can do it without a central system.
The script can update a KVS entry for this and a special schedule job can, for example, call a script function every minute that compares the current time with that in the KVS entry. ...
I am confident that I can implement this.
However, this is not possible for beginners.
-
Begriffsverwirrung
Für 12V Versorgung brauchst du ein 12V Netzteil.
Ein Netzwerkkabel (Patchkabel) kannst du verwenden, wenn du LAN (ohne W) nutzen willst.
Beides liegt dem Pro 2 NICHT bei.
-
Das sagt nichts darüber aus, ob sich bei gleichzeitiger Aktivierung der Eingänmge (RJ45) 6, 7 der Lift ebenso verhält.
-
Du kannst den "Beipackzettel" mit Anschlussschemata auch bei shelly.com/de finden und herunterladen.
Die Beschaltung ist relativ leicht vorzunehmen, die Optionen sind auf dem Gehäuse der Pro 2 aufgedruckt.
Edit:
Im Zweifelsfall jemanden fragen, der sich damit auskennt (Elektriker ...).
-
Sicherheitshinweis:
Ich bin nicht sicher, ob bei 230V Versorgungsspannung der Pro 2 Niederspannungen schalten darf, auch wenn er dies kann.
Man kann den Pro 2 aber auch mit 12V betreiben.
-
Dies kann, muss aber nicht, bedeuten, dass die Elektronik eine Richtung priorisiert.
-
Zwei Shelly Plus 1 müssen so konfiguriert werden, dass sie das Einschalten ihrer Ausgänge gegenseitig sperren.
Das tut der Plus 2 im Shutter Modus automatisch, den kannst du hier aber nicht einsetzen.
Edit: Dies ist evtl. dann nicht erforderlich, wenn die Elektronik deines TV-Aufzugs bspw. eine priorisierte Fahrrichtung implementiert hat.
Dies könntest du testen, indem du beide Fahrtrichtungen aktivierst - in der Hoffnung, dass die Elektronik dies akzeptiert.