It’s working for me but it’s very slow.
When I push the button connected to the i3, the shelly app showing it’s on, but it need 10 more second before HA is also on.
If I release the button before, it’s never on in HA.
Just for anyone who may come across this in the future and may find it useful.
I got sick and tired of people turning smart bulbs off at home, and i also didn’t just want to throw in a relay to turn them off and then be able to run the home assistant automations to turn those smart bulbs on and then change brightness and also didn’t want to give up the ability to change light temperature as i find it super helpful especially in winter months where i want that full white light.
After a lengthy research period and also trial and error testing everything I have found my perfect solution:
Requirements were:
- Ability to keep smart bulbs and not turn them off at the wall
- have wife approval pretty wall switches
- be able to toggle multiple scenes with switches, and also be user friendly (for technofobe people)
- reduce reliance on mobile interface to control lights
Solution:
- Shelly GU10 Duo bulbs (for spot lights)
- Shelly Duo screw bulb (for pendant lights)
- Shelly i3
- Wall switches from Click Grid pro system with Deco plus plates (look amazing and a regular switch most people are used to)
- Click’s Grid Pro GM2075BKSB - 3 Position Retractive Switch Module. URL included should anyone want to find it and the colour range is great.
The 3 way retractive switch was the trick here that ties the whole solution together. Because it’s a Momentary switch and a click is detected on up press and down press (with middle being the 3rd OFF state).
I hooked up the Shelly i3 to the L1 and L2 feeds of each switch (have one spare input…may add another i3 in), COM being the Live input from the main feed.
The bulbs are permanently on since they are smart lights.
The shelly i3 inputs are then configured as Momentary switches.
Home assistant Shelly integration picks up the plethora of click detections from the Automations Screen. Basically each of the 1-3 inputs has 6 of the following outputs:
- Single Click
- Double Click
- Triple Click
- Long Click
- Single Click + Long Press
- Long Press + Single Click
I have not noticed any speed issues which @Gilles_C is talking about, its fast.
Also please note you will not see these states/entities within your Device itself in HA, they are only picked up via automations or if you create custom switches etc based off the shelly.click event.
To put it simply, I’ve run out of ideas of what to do with the extra available clicks.
Wife approval factor is high and i don’t cheesed off when an automation doesn’t run because the bulb has been switched off!
If anyone is struggling feel free to reach out, more than happy to see if i could help!
If i listen for the event shelly.switch.click instead, i got response.
Completely forgot to answer.
In my case, all was in the documentation : Shelly - Home Assistant
Need to change the ColoT with home assistant IP in internet & security of my Shelly.
Shelly i3 as Momentary switches & the event is shelly.click.
Works like a charm. Thanks !
Thanks, that was the GOLDEN HINT!
I was already doubting my firewall skills (the Shelly’s are in a seperate IoT VLAN) but your tip resolved it all. THANKS
Up until now I was only using single and long click_type in automations. Now I wanted to add an action upon double click and noticed, that I do not receive an event for any other action other than single or long.
Any idea what to check? I have configured the switch to be momentary and do receive single and long click_types as stated above successfully…
I would put the shelly integration on debug so you can see all the coap messages it receives, just to make sure the device is actually sending an event on double click
I have setup with smart Shelly rgbw bulbs and I was wondering if it is possible to dim the lights
Push buttons
I1 connected to one button
I2 connected to another button
Long press of I1 will gradually dim light up (dims as you hold it)
Long press of I2 will gradually dim lights down (dims as you hold it)
Anyone has gotten this working?
Shelly i3 slow or no event response?
I added home assistant ip and port 5683 under CoIoT peer.
Button type: Momentary
Current version: 20220809-125301/v1.12-g99f7e0b
any idea?