Integrate Shelly Dimmer Gen3

Moderator: leecollings

Post Reply
marmachine
Posts: 133
Joined: Saturday 26 March 2016 10:19
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.4834
Location: Netherlands
Contact:

Integrate Shelly Dimmer Gen3

Post by marmachine »

Suddenly it was released so i ordered a couple to replace my older (Gen1 and 2) ones that are sort of dying (dropping connection or not responding at all).

Not knowing what i was getting into, i found out that the device isn't as easy as it was before.... so i thought, the functionality "one-button-dimming" for example is kinda hidden, but still there... easily overlooked. I hate that! :lol: :oops:
Anyway, as much as it sounds like a developed new thing, freedom and all what we've ever wanted, my intention is to simply replace the old dimmers. Shelly claims compatibility, but it seems everything but compatible with Domoticz right now.

Maybe someone can point me to some helpfull information since Shelly helpdesk is kinda sad to be honest. I need to integrate the device into domoticz, using MQTT like it worked out of the box in the old days. How do i get it into Domoticz?
I just hope there is some script available to make it work like before, set and go... ?
Last edited by marmachine on Saturday 01 February 2025 15:57, edited 1 time in total.
User avatar
waltervl
Posts: 5851
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Integrate Shelly Dimmer Gen3

Post by waltervl »

Use the Shelly teacher script. viewtopic.php?p=322662#p322662
It is not completely gen 3 compatible yet but the can be easily added.
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
marmachine
Posts: 133
Joined: Saturday 26 March 2016 10:19
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.4834
Location: Netherlands
Contact:

Re: Integrate Shelly Dimmer Gen3

Post by marmachine »

Just installed shellyteacher4domo and ran it... this first resulted in an error for this new device.
So i've created a new entry for the tag [shellydimmerg3] in mqtt_templates_gen2.txt so that it's recognized.
This specific file (mqtt_templates_gen2.txt) inside shellyteacher, takes care of MQTT mapping to allow applications to recognize the unknown hardware.

I am quite stuck with the syntax because i understand *shit* of what i see there... as it is a Gen3 device, things might be different and i don't know how to translate the device payload to a working template. Anyone with some knowlegde on that?

Raised an issue on Github : https://github.com/enesbcs/shellyteacher4domo/issues/65

P.s.: I did manage to get my Shelly 1 Gen 3 to work... the dimmer is just a different thing :|
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest