Page 1 of 1
Tutorial for installing/setting up Shelly?
Posted: Wednesday 01 November 2023 17:59
by paul402
I currently use 433Mhz devices to control the window shutters but would like to change over to Shelly.
I have bought 3 x 2.5 switches and can see them on the network...
Please point me in the right direction to integrate them. And please assume that I know nothing - keep it simple.
Thanks.
Re: Tutorial for installing/setting up Shelly?
Posted: Wednesday 01 November 2023 19:43
by capman
Re: Tutorial for installing/setting up Shelly?
Posted: Wednesday 01 November 2023 20:44
by Tukker
The most simple setup is to create a switch in Domoticz.
Hardware -> Dummy -> create virtual sensor -> choose switch.
Then edit the switch and fill in on action and off action like
http://192.168.1.11/relay/0?turn=on
and
http://192.168.2.21/relay/0?turn=off
This should be a good starting point.
Re: Tutorial for installing/setting up Shelly?
Posted: Tuesday 07 November 2023 10:37
by paul402
Thanks guys. @HvdW didn't you used to support the Philips NAS years ago. You did a great job. It was my first NAS. Thanks for all your work there.
Re: Tutorial for installing/setting up Shelly?
Posted: Wednesday 14 February 2024 12:56
by dimis7
Hi all,
New to forum here.
I'm running domoticz on my synology nas the last couple of years, currently controlling just a sonoff basic switch.
Next month I will install on my house motorized windows shutters and i want to ask if Shelly plus 2PM is good choice in order to integrate the shutters with domoticz.
I want to be able to control the shutters locally, in case something happens with my nas / domoticz installation / network etc.
If yes, with the original firmware or tasmota???
Thanks!
Re: Tutorial for installing/setting up Shelly?
Posted: Wednesday 14 February 2024 13:19
by waltervl
You can use Shelly with MQTT with the ShellyTeacher application which transforms default Shelly MQTT into Domoticz MQTT Autodiscover compatible format. See
https://www.domoticz.com/forum/viewtopic.php?t=40998
Re: Tutorial for installing/setting up Shelly?
Posted: Tuesday 20 February 2024 16:08
by paul402
I found this today - Shelly Scanner
https://www.usna.it/shellyscanner/index_en.html
A really neat piece of software to manage and update Shellys.
I wish that it had an interface to Domoticz..
I still can't get Shellys running properly.
Re: Tutorial for installing/setting up Shelly?
Posted: Tuesday 20 February 2024 21:36
by waltervl
Did you try the shellyteacher script with Domoticz mqtt auto discover gateway? It works according a lot of users.....
Re: Tutorial for installing/setting up Shelly?
Posted: Saturday 24 February 2024 14:25
by paul402
Oh yes several times.
I have 15 Shelly shutters, 5 plugs and 4 flood detectors. All devices except the flood detectors are mains powered and always online. The detectors only register if you trigger them first.
All firmware is uptodate. Domoticz and Helper are uptodate.
Here is the scan result with Shelly Teacher.

- shelly teacher.jpg (193.28 KiB) Viewed 13335 times
Here is the scan result with Shelly Scanner
No comparison.
I am sending url commands to the Shellys and json commands to update virtual sensors and switches on Domoticz from my own python command schedule program to overcome this problem.
For me Shelly Teacher doesn't work. Anyhow there are more important things in life. The author of Shelly Scanner is not interested in developing something for Domoticz, I asked him.
Re: Tutorial for installing/setting up Shelly?
Posted: Saturday 24 February 2024 15:06
by waltervl
Then better ask in the Shelly teacher forum topic why your gen2 devices are not discovered... Could be an easy fix.
https://www.domoticz.com/forum/viewtopic.php?t=40998
Re: Tutorial for installing/setting up Shelly?
Posted: Friday 05 June 2026 17:54
by BartSr
@HvdW
Thanks for the very simple example.
I bought my 1st Shelly and expected samd simple connection via MQTT just like Tasmota and Espeasy.
Is there somwhere more data about hooking up a Shelly?
Re: Tutorial for installing/setting up Shelly?
Posted: Friday 05 June 2026 17:59
by imautohuttraeger
I am also struggling with automatic detection of Shelly devices. For the time being I have used the Shelly plug-in for generation 1 devices and the Shelley teacher for generation 2 devices. But for devices that are newer there is no solution currently. @waltervl once suggested to me to use mqtt mapper, but it's too complicated for me because you have to create a script for every device and know what you are doing.
So, I am as curious as you to get a user friendly solution. It is so frustrating because Shelley devices are actually speaking mqtt ...
Re: Tutorial for installing/setting up Shelly?
Posted: Friday 05 June 2026 19:03
by waltervl
Modern shellies Gen4 nowadays also have zigbee or Matter. They can be paired with zigbee2mqtt or the new Matter integration of Domoticz
https://www.zigbee2mqtt.io/supported-devices/#v=Shelly
Re: Tutorial for installing/setting up Shelly?
Posted: Friday 05 June 2026 19:51
by imautohuttraeger
Ah - good tip!