Successful Integration of Shelly Dimmer 2 with Hue Dimmer Switch 2

Hello, everyone! I wanted to share my recent success in integrating my Shelly Dimmer 2 with a Hue Dimmer Switch 2. While initially, I was a bit puzzled about how to get them to work seamlessly, I managed to figure it out with some trial and error. Here’s how I did it:

First, I set up the Shelly Dimmer 2 using the Home Assistant interface. It was pretty straightforward—just adding the device and configuring it through the integrations section. Once that was done, I moved on to the Hue Dimmer Switch 2.

I was aiming for the same smooth dimming experience I get with my Hue lights, so I decided to use the MQTT protocol for communication. After some research, I found that defining the Hue Dimmer Switch 2 as a sensor and linking it to the Shelly Dimmer 2 through automations was the key. Here’s a snippet of my configuration:

yaml

  • platform: mqtt
    name: “Hue Dimmer Switch”
    state_topic: “zigbee2mqtt/Hue_Dimmer_Switch”
    value_template: ‘{{ value_json.action }}’
    payload_on: ‘brightness_up_click’
    payload_off: ‘brightness_down_click’
    optimistic: false

Then, I created an automation that triggers when the Hue Dimmer Switch detects a ‘brightness_up_click’ or ‘brightness_down_click’ and adjusts the brightness of the Shelly Dimmer 2 accordingly. The result? Perfect dimming control!

I’d like to hear from others who’ve successfully integrated non-native devices like this. Any tips or alternative methods you’ve found? Let’s keep the discussion going!

Cheers,
[Your Name]