Shelly Vintage goes Homematic - mit der Originalfirmware

    • Offizieller Beitrag

    ©2020 SparkyMaster - detailed information at the end of the manual


    Hello Homematic Friends,

    finally the time comes, the integration of Shelly Vintage in the HomeMatic. The Shelly Vintage was a long time coming!

    To integrate the Shelly Vintage 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:

    • all Shelly Vintage properties are retained because I operate all actuators and sensors with the original manufacturer firmware
    • all future Shelly Vintage updates / updates will be available
    • Full Shelly app usability parallel to Homematic automation
    • Operation as a local solution or via Shelly cloud, additionally Homematic

    I implemented the following functions on the Homematic page:

    • Display of the switching status (ON / OFF)
    • Monitoring of the online status (accessibility via WLAN)
    • Optional monitoring of currently power (W)
    • Brightness controllable and update when operated via app
    • optional operation only ON - OFF (= connection without dimming functions)


    A view to the connection:

    Ansicht.png

    Picture 1

    Ansicht Dim.png

    Picture 2


    Good success! :thumbup:

    • Offizieller Beitrag

    ©2020 SparkyMaster - detailed information at the end of the manual


    The implementation:

    Switching status:

    (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 switch

    CUxD (40).png


    The settings of the channel:

    CUxD Schalter.png

    SWITCH|CMD_EXEC: Check mark!

    Settings for SWITCH|CMD_SHORT:

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

    Settings for SWITCH|CMD_LONG:

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

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


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

    • Offizieller Beitrag

    ©2020 SparkyMaster - detailed information at the end of the manual


    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).

    Note: Monitoring the online status is not optional! To prevent the cyclical update and to prevent the Shelly Vintage from being switched off via the light switch.

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

    Sys Onlinestatus.png

    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 Vintage can be monitored. Of course, a free channel of an existing CUxD ping can be used.

    If not yet available, please create a CUxD-device (28) System Ping/Alive!

    CUxD Ping.png

    Adjust IP!

    Settings for: SWITCH|CMD_EXEC_TRUE:

    Code
    extra/timer.tcl Onlinestatus_ShellyVintageG125_WZ 1

    Settings for SWITCH|CMD_EXEC_FALSE:

    Code
    extra/timer.tcl Onlinestatus_ShellyVintageG125_WZ 0

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


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

    • Offizieller Beitrag

    ©2020 SparkyMaster - detailed information at the end of the manual


    Currently power display:

    For this we need 1 system variable for the currently power value:

    Sys Leistung.png

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

    Attention:

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

    The update is done by a created script, see "Update".

    • Offizieller Beitrag

    ©2020 SparkyMaster - detailed information at the end of the manual


    Brightness:

    [This part of the instructions can be skipped if dimming is not to be carried out in the Homematic (-> only ON/OFF).

    Note: In this case the parameter has to be set to "N" at the appropriate place in the script!]


    The brightness control is done with a slider of a CUxD (28) Multi-Dim-Device.

    CUxD (28) Dim.png


    The settings of the channel:

    CUxD Dim.png


    CMD_EXEC:

    Code
    wget -q -O - 'http://192.168.178.55/light/0?brightness~3d$1$'

    Adjust IP!


    With the slider you can now control the brightness. :)

  • Dieses Thema enthält einen weiteren Beitrag, der nur für registrierte Benutzer sichtbar ist, bitte registrieren Sie sich oder melden Sie sich an um diesen lesen zu können.