Beiträge von SparkyMaster

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.

    Optional ads:

    1.) Current brightness value:

    Evaluates the brightness of the Shelly Dimmer, displays it in the CUxD device and of course the value can also be used in programs.

    To display the brightness value, 1 system variable is required:

    Der Inhalt kann nicht angezeigt werden, da Sie keine Berechtigung haben, diesen Inhalt zu sehen.

    The variables are assigned to the corresponding channel of the Shelly CUxD device. This makes it visible as shown in Figure 1 in # 1.

    In the status updating program (see picture in # 2) we add a 2nd THEN line to update the brightness value data.

    Attention:

    The names of the system variables must not contain any "spaces" !

    The script for this:

    According to the instructions in the script have to be adapted:

    IP of the Shelly Dimmer

    CUxD Exec channel

    System variable (Shelly_Dimmer_Vivian_Helligkeit)


    In the set interval of the timer, the current brightness value is now updated. :)


    2.) Online Status:

    As with all other couplings, the opt. display of the online status is also made using the system variable and CUxD ping device (28).

    To display the online status, 1 system variable is required:

    Der Inhalt kann nicht angezeigt werden, da Sie keine Berechtigung haben, diesen Inhalt zu sehen.

    The variable is linked again to the corresponding channel of the CUxD device and thus displayed there.

    The online status is monitored and controlled by a CUxD ping channel. That, with 1 CUxd Ping device (28) up to 16 Shelly Dimmer can be monitored. Of course, a free channel of an existing CUxD ping can be used.

    Der Inhalt kann nicht angezeigt werden, da Sie keine Berechtigung haben, diesen Inhalt zu sehen.

    Adjust IP!

    Settings for: SWITCH|CMD_EXEC_TRUE:

    Code
    extra/timer.tcl Onlinestatus_ShellyDimmer_Vivian 1


    Settings for SWITCH|CMD_EXEC_FALSE:

    Code
    extra/timer.tcl Onlinestatus_ShellyDimmer_Vivian 0

    Adapt the name of the system variable in each case! (here: Onlinestatus_ShellyDimmer_Vivian)

    In the set interval of the timer, the online status is now updated. :)


    3.) Current power display:

    evaluates the current power of the Shelly Dimmer, displays it in the CUxD device and of course the value can also be used in programs.

    For this we need 1 system variable for the current power values:

    Der Inhalt kann nicht angezeigt werden, da Sie keine Berechtigung haben, diesen Inhalt zu sehen.

    The variables are assigned to the corresponding channel of the Shelly CUxD device. This makes it visible as shown in Figure 1 in # 1.

    In the status updating program (see picture in # 2) we add a 2nd THEN line to update the current power values.


    Attention:

    The names of the system variables must not contain any "spaces" !

    The script for this:

    According to the instructions in the script have to be adapted:

    IP of the Shelly Dimmer

    CUxD Exec channel

    System variable (Shelly_Dimmer_Vivian_Leistung)

    In the set interval of the timer, the current power is now updated. :)


    And now good luck and fun with the implementation! :thumbup:


    ____________________________________________________________

    The instructions including the scripts and pictures are subject to copyright. Who violates the copyright (for example, images or texts illegally copied and published on other websites), makes itself gem. §§ 106 ff UrhG punishable, can also be warned with costs and must pay damages (§ 97 UrhG).

    © 2019 SparkyMaster

    Update the switch-state


    The update is important, so that in Homematic the switching state is also correct, if e.g. via the Shelly app;) Pros and cons are described in # 1 linked thread.

    For the autom. Updating the switching status we need 1 timer ...

    Der Inhalt kann nicht angezeigt werden, da Sie keine Berechtigung haben, diesen Inhalt zu sehen.

    Update every 60 seconds (time variable)


    ... that triggers the update program:

    Der Inhalt kann nicht angezeigt werden, da Sie keine Berechtigung haben, diesen Inhalt zu sehen.

    Alternatively, in the IF, it is also possible to trigger on the "Timerevent" of the timer.


    Missing only the script for the 1st THEN line:

    According to the instructions in the script have to be adapted:

    IP of the Shelly Dimmer

    CUxD Exec channel

    CUxD channel of the Shelly Dimmer


    Now, the switching state of the Shelly Dimmer is also updated in Homematic when switching via the app or Shelly scenes.:)

    ____________________________________________________________

    The instructions including the scripts and pictures are subject to copyright. Who violates the copyright (for example, images or texts illegally copied and published on other websites), makes itself gem. §§ 106 ff UrhG punishable, can also be warned with costs and must pay damages (§ 97 UrhG).

    © 2019 SparkyMaster

    Hello Homematic Friends,


    to integrate the Shelly Dimmer into Homematic, you do not need any third-party firmware, that you have to flash.

    Below my solution with the original firmware:

    techn. Requirements:

    • compatible with the Homematic systems CCU2, CCU3, Charly, as well as all offshoots like RaspberryMatic and piVCCU.
    • installed add-on CUxD in current version

    (The knowledge about the handling CUxD, such as devices create, I assume at this point, otherwise "exploded" this guide Thank you for understanding.)

    The advantages from my point of view:

    • all Shelly Dimmer properties are preserved as I operate the actuators with the original manufacturer firmware
    • all future Shelly Dimmer updates / updates will be usable
    • Full Shelly app usability in parallel with Homematic automation
    • Operation as local solution or via Shelly-Cloud, additionally Homematic


    I implemented the following functions on the Homematic page:

    • #1 ON / OFF
    • #1 Optional: Switch on with predefined brightness value (%)
    • #2 Update of the current switching state in a freely adjustable interval, regardless of whether the operation is via Homematic or Shelly app or button
    • #3 Optional monitoring of current brightness value (%)
    • #3 Optional monitoring of the online status (accessibility via WLAN)
    • #3 Optional monitoring of current power (Wnew! -> spicial thanks to 66er (Stefan) for helps and creation the Skript! :thumbup:
    • Dimming the lighting (brighter / darker)  -> not yet possible! We are working on it!


    A view to the connection:

    Der Inhalt kann nicht angezeigt werden, da Sie keine Berechtigung haben, diesen Inhalt zu sehen.

    I would like to recommend you to take a look at these threads before the implementation:

    At the appropriate place in the manual, everyone has to decide for themselves which route the switching status monitor wants to use. ;)


    The implementation:

    (On the description of the creation of the CUxD devices I give up at this point, of course there is the CUxD document!)

    If not yet available, please create a device (28) System Exec! Above that the commands are issued. (No entries are made in CUxD-Exec!)

    Creation of a CUxD (40) 16-channel universal control as a button

    Der Inhalt kann nicht angezeigt werden, da Sie keine Berechtigung haben, diesen Inhalt zu sehen.

    With each channel of the CUxD device, 1 Shelly Dimmer can be mapped.


    The settings:

    Der Inhalt kann nicht angezeigt werden, da Sie keine Berechtigung haben, diesen Inhalt zu sehen.

    KEY|CMD_EXEC: Check mark!

    Settings for KEY|CMD_SHORT:

    Code
    wget -q -O - 'http://192.168.178.20/light/0?turn~3doff'


    Settings for KEY|CMD_LONG:

    Code
    wget -q -O - 'http://192.168.178.20/light/0?turn~3don'

    Adapt the IP address of the Shelly Dimmer in each case!


    This makes the Shelly Dimmer ready for use and can be switched on and off. :)


    Optional:

    Switch on with predefined brightness value (%)

    The procedure is the same as described before, only the code changes, this is expanded.

    For this an additional channel of the CUxD (40) 16-channel universal control is required as a button. Of course, any number of buttons / channels can be created with predefined brightness values. For scene creation in programs this would be e.g. very useful!

    With a CUxD channel can be mapped two separate "Brightness button"!


    Settings for KEY|CMD_SHORT:

    Code
    wget -q -O - 'http://192.168.178.20/light/0?turn~3don~26brightness~3d40'

    example for brightness value 40%


    Settings for KEY|CMD_LONG:

    Code
    wget -q -O - 'http://192.168.178.20/light/0?turn~3don~26brightness~3d68'

    example for brightness value 68%

    Adapt the IP address of the Shelly Dimmer in each case!

    So you can activate any brightness value at the push of a button. :)


    ____________________________________________________________

    The instructions including the scripts and pictures are subject to copyright. Who violates the copyright (for example, images or texts illegally copied and published on other websites), makes itself gem. §§ 106 ff UrhG punishable, can also be warned with costs and must pay damages (§ 97 UrhG).

    © 2019 SparkyMaster

    Moin,

    Der ganze Rotz geht mir so auf,'n Sack...

    Geht mal, geht mal nicht, macht sich selbstständig...

    Wenn ich so arbeiten würde....

    warum wird die Schuld immer bei Anderen gesucht? Meine Shellys, egal welcher, arbeiten seit Inbetriebnahme tadellos! Die Schaltungen vor Ort, Übergabe in Homematic oder ggf. über App laufen sauber.

    Dann arbeite mal Dein Heimnetzwerk, Deine Installation und/oder Deine Konfiguration ab! Dann können wir darüber nocheinmal reden (schreiben)! ;)

    Wenn ich in 1 Abzweigdose 2 Schaltkreise abdecken will, bin ich doch mit 1x 2.5er (1x ca.26,-€) günstiger als mit 2x 1er PM (2x ca. 21,-€), oder?
    Der 2.5er hat ja das PM eh drin.

    Solange diese zwei Kreise von der selben Sicherung kommen ist das richtig.

    In Deiner Ursprungsfrage ging es aber nicht um zwei Schaltkreise, sondern um eine Lampenschaltung -> eine Wechselschaltung -> siehe Thema/Überschrift

    Da habt Ihr Beide völlig Recht!:thumbup: :rolleyes::saint:


    :rolleyes: Das visuelle Vorstellen bzw. Umzeichnen ist so nicht meins, da sind schon mal einige Verbindungen anders als sie sollten. ;)?(

    Wo ich mir allerdings überhaupt nicht sicher bin ist, ob man die beiden Ausgänge eines Shelly 2.5 überhaupt parallel schalten darf. Die sind ja nicht potentialfrei. Mit zwei Shelly 1 sollte es allerdings auf jeden Fall funktionieren.

    Wenn alles über eine Sicherung/Phase läuft sollte dies doch kein Problem darstellen!

    Hallo @jimmi4u ,

    WILLKOMMEN im Forum! :)

    Ich habe die Schaltung aufskiziert. 1.) Bitte um Nachsicht, 2.) Ich bin kein Elektriker ;) scan0690.pdf

    Vlt. kennt sich da wer aus und kann mir unter die Arme greifen. Ist die Schaltung so überhaupt in Ordnung?

    Deine Schaltung ist eine Sparwechselschaltung!

    SW2 -> Klemme L von den Schaltern! Nicht auf den Korrespondierenden!

    zu 1.) haben wir i.d.R. immer! ;)

    zu 2.) es mag keiner hören, aber hole Dir von einem Elektriker Hilfe! Du hast auch Verantwortung Dritter (Familienangehörige) gegenüber!

    Viel Erfolg!

    Optionale Anzeigen:

    1.) aktuelle Helligkeitsanzeige:

    wertet die Helligkeit des Shelly Dimmer aus, zeigt sie im CUxD-Gerät an und natürlich kann der Wert auch in Programmen genutzt werden.

    Dazu brauchen wir 1 Systemvariable für den aktuellen Helligkeitswert:

    Der Inhalt kann nicht angezeigt werden, da Sie keine Berechtigung haben, diesen Inhalt zu sehen.

    Die Variablen werden dem entsprechenden Kanal des Shelly-CUxD-Gerätes zugeordnet. Dadurch werden sie wie im Bild 1 in #1 sichtbar.

    In das Programm zur Statusaktualisierung (siehe Bild in #2) fügen wir nun eine 2. DANN Zeile zur Aktualisierung der Helligkeitsdaten ein.

    Achtung:

    Die Namen der Systemvariablen dürfen keine Leerzeichen und keine Umlaute enthalten!

    Das Skript dazu:

    Gemäß den Hinweisen im Skript sind anzupassen:

    IP des Shelly Dimmer

    CUxD-Exec-Kanal

    Name der Systemvariable (hier "Shelly_Dimmer_Vivian_Helligkeit"


    Im eingestellten Intervall des Timers wird nun die aktuelle Helligkeit aktualisiert. :)


    2. Onlinestatus:

    Die optinale Anzeige des Onlinestatus erfolgt wie bei allen anderen Kopplungen auch mittels Systemvariable und CUxD-Ping-Gerät(28) .

    Für die Anzeige des Onlinestatus wird 1 Systemvariable benötigt:

    Der Inhalt kann nicht angezeigt werden, da Sie keine Berechtigung haben, diesen Inhalt zu sehen.

    Die Variable wird wieder mit dem entsprechenden Kanal des CUxD-Gerät verknüpft und somit dort angezeigt.

    Den Onlinestatus überwacht und steuert ein CUxD-Ping Kanal. D.h. mit 1 CUxd-Ping-Gerät (28) können bis zu 16 Shelly Dimmer überwacht werden. Natürlich kann auch ein freier Kanal eines schon vorhandenen CUxD-Ping genutzt werden.

    Der Inhalt kann nicht angezeigt werden, da Sie keine Berechtigung haben, diesen Inhalt zu sehen.

    IP anpassen!

    Einstellungen für SWITCH|CMD_EXEC_TRUE:

    Code
    extra/timer.tcl Onlinestatus_ShellyDimmer_Vivian 1


    Einstellungen für SWITCH|CMD_EXEC_FALSE:

    Code
    extra/timer.tcl Onlinestatus_ShellyDimmer_Vivian 0

    Name der Systemvariablen jeweils anpassen! (hier: Onlinestatus_ShellyDimmer_Vivian)


    Im eingestellten Intervall des Timers wird nun der Onlinestatus aktualisiert. :)


    3. aktuelle Leistungsanzeige:

    wertet die Leistung des ShellyDimmer aus, zeigt sie im CUxD-Gerät an und natürlich kann der Wert auch in Programmen genutzt werden.

    Dazu brauchen wir 1 Systemvariable für den aktuellen Leistungswert:

    Der Inhalt kann nicht angezeigt werden, da Sie keine Berechtigung haben, diesen Inhalt zu sehen.

    Die Variablen wird dem entsprechenden Kanal des Shelly-CUxD-Gerätes zugeordnet. Dadurch wird sie wie im Bild 1 in #1 sichtbar.

    In das Programm zur Statusaktualisierung (siehe Bild in #2) fügen wir nun eine 3. DANN Zeile zur Aktualisierung der Leistungsdaten ein.

    Achtung:

    Die Namen der Systemvariablen dürfen keine Leerzeichen und keine Umlaute enthalten!


    Das Skript dazu:

    Gemäß den Hinweisen im Skript sind anzupassen:

    IP des Shelly Dimmer

    CUxD-Exec-Kanal

    Name der Systemvariable (hier "Shelly_Dimmer_Vivian_Leistung"

    Im eingestellten Intervall des Timers wird nun die aktuelle Leistung aktualisiert. :)


    Und nun viel Erfolg und Spaß bei der Umsetzung! :thumbup:


    ____________________________________________________________

    Die Anleitung inkl. der Skripte und Bilder unterliegt dem Urheberrecht. Wer gegen das Urheberrecht verstößt (z.B. Bilder oder Texte unerlaubt kopiert und auf anderen Webseiten publiziert), macht sich gem. §§ 106 ff UrhG strafbar, kann zudem kostenpflichtig abgemahnt werden und muss Schadensersatz leisten (§ 97 UrhG).

    © 2019 SparkyMaster

    Aktualisierung des Schaltstatus:

    Die Aktualisierung ist wichtig, damit in Homematic der Schaltzustand auch stimmt, wenn z.B. über die Shelly-App geschaltet wird.;) Vor- und Nachteile sind im in #1 verlinkten Thread beschrieben.


    Für die autom. Aktualisierung des Schaltstatus benötigen wir 1 Timer …

    Der Inhalt kann nicht angezeigt werden, da Sie keine Berechtigung haben, diesen Inhalt zu sehen.

    Aktualisierung alle 60 Sekunden (Zeit variabel)

    ... der das Programm zur Aktualisierung triggert:

    Der Inhalt kann nicht angezeigt werden, da Sie keine Berechtigung haben, diesen Inhalt zu sehen.

    Alternativ kann auch im WENN auch auf "Timerevent" des Timers ausgelöst werden.

    Fehlt nur noch das Skript für die 1. DANN-Zeile:

    Gemäß den Hinweisen im Skript sind anzupassen:

    IP des Shelly Dimmer

    CUxD-Exec-Kanal

    CUxD-Kanal des Shelly Dimmer


    Nun wird der Schaltzustand des Shelly Dimmer auch in Homematic aktualisiert, wenn über die App oder Shelly-Szenen geschaltet wird. :)


    ____________________________________________________________

    Die Anleitung inkl. der Skripte und Bilder unterliegt dem Urheberrecht. Wer gegen das Urheberrecht verstößt (z.B. Bilder oder Texte unerlaubt kopiert und auf anderen Webseiten publiziert), macht sich gem. §§ 106 ff UrhG strafbar, kann zudem kostenpflichtig abgemahnt werden und muss Schadensersatz leisten (§ 97 UrhG).

    © 2019 SparkyMaster