- Offizieller Beitrag
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 (W) new! -> spicial thanks to 66er (Stefan) for helps and creation the Skript!
- Dimming the lighting (brighter / darker) -> not yet possible! We are working on it!
A view to the connection:
I would like to recommend you to take a look at these threads before the implementation:
- Important notes on the Shelly couplings on Homematic
- Actions vs. Status queries in the Shelly couplings
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
With each channel of the CUxD device, 1 Shelly Dimmer can be mapped.
The settings:
KEY|CMD_EXEC: Check mark!
Settings for KEY|CMD_SHORT:
Settings for KEY|CMD_LONG:
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:
example for brightness value 40%
Settings for KEY|CMD_LONG:
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