Tutorial for installing/setting up Shelly?

Moderator: leecollings

Post Reply
paul402
Posts: 95
Joined: Monday 23 May 2016 23:07
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Tutorial for installing/setting up Shelly?

Post 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.
User avatar
capman
Posts: 153
Joined: Friday 12 July 2013 20:48
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Belgium
Contact:

Re: Tutorial for installing/setting up Shelly?

Post by capman »

HvdW
Posts: 539
Joined: Sunday 01 November 2015 22:45
Target OS: Raspberry Pi / ODroid
Domoticz version: 2023.2
Location: Twente
Contact:

Re: Tutorial for installing/setting up Shelly?

Post by HvdW »

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.
Bugs bug me.
paul402
Posts: 95
Joined: Monday 23 May 2016 23:07
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Tutorial for installing/setting up Shelly?

Post 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.
dimis7
Posts: 1
Joined: Wednesday 14 February 2024 12:45
Target OS: NAS (Synology & others)
Domoticz version: 2020.1
Location: Greece
Contact:

Re: Tutorial for installing/setting up Shelly?

Post 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!
User avatar
waltervl
Posts: 5397
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Tutorial for installing/setting up Shelly?

Post 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
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
paul402
Posts: 95
Joined: Monday 23 May 2016 23:07
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Tutorial for installing/setting up Shelly?

Post 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.
User avatar
waltervl
Posts: 5397
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Tutorial for installing/setting up Shelly?

Post by waltervl »

Did you try the shellyteacher script with Domoticz mqtt auto discover gateway? It works according a lot of users.....
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
paul402
Posts: 95
Joined: Monday 23 May 2016 23:07
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Tutorial for installing/setting up Shelly?

Post 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
shelly teacher.jpg (193.28 KiB) Viewed 2322 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.
Attachments
shelly capture.jpg
shelly capture.jpg (342.14 KiB) Viewed 2322 times
User avatar
waltervl
Posts: 5397
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: Tutorial for installing/setting up Shelly?

Post 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
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests