Event on button release

  • hi,

    with my shelly plus 1 mini I got a event on button release after a long press in detached mode. With my new shelly dimmer 2 I just get short or long press, but no button release event. Is there anything I could do about that? I'd like to use the second input to dim a smart light bulb connected via homeassistant.

    With the 1 mini it worked like a charm...

    Thanks a lot, Markus

  • With Dimmer2 set to "One button mode", the second input is set to detached automatically.

    If you connect a separate wall button to that input, you can use the "Button 2 switched on" and "Button 2 switched off" events to be able to control the smart light bulb.

    Use the "BUTTON 2 SWITCHED ON" event to send the dim-command to your smart bulb. Now the bulb will do the dimming as long as you keep the button pressed.

    Use the "BUTTON 2 SWITCHED OFF" event to stop the dimming.

  • Hi dewaldo, thanks for your answer. I already had the one button mode set. But I just get click_type single or long. See attached screenshot from my homeassistant events.

    Der Inhalt kann nicht angezeigt werden, da Sie keine Berechtigung haben, diesen Inhalt zu sehen.
  • If I look at the list of triggers the plus 1 mini got, it's quite streit forward (sorry just got the screenshot in german):

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

    but for the dimmer 2 there is actually not even the long/short press trigger:

    Der Inhalt kann nicht angezeigt werden, da Sie keine Berechtigung haben, diesen Inhalt zu sehen.
  • Ich antworte mal auf deutsch 😉 verstehst Du ja

    Wenn das Event in HA an kommt dann verwende ihn doch einfach in einer Automation 😉

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

    Shelly’s: 2x 1, 10x 1PM , 4x 2.5, 3x i3, 10x Plus 1PM, 22x Plug S, 11x UNI, 2x 1L mit PIR, 8x AddOn mit Temp/DHT22, 3x RGBW2, 2x Plus i4, 5x Plus 1, 4x Plus 2PM, 4x EM, 2x 3EM, 1x TRV, 3x Plus AddOn, 1x Pro 3EM, 2x BLU, 5xPlusPMmini, 1xPlus1PMmini, 4xPlusUNI

    Fritz!Box5690pro, 3x FRITZ!Repeater6000, 6x Fritz!Dect200

    HomeAssistant auf RaspberryPi5(8GB) mit NVMe, HomeAssistant auf Synology DS1019+, Backup HomeAssistant auf RaspberryPi4B(4GB)

    DHT21 (AM2301) oder (AM2320) für unter 0 Grad

  • Dieses Thema enthält 3 weitere Beiträge, die nur für registrierte Benutzer sichtbar sind.