ShellyCloudPlugin
Moderator: leecollings
-
- Posts: 61
- Joined: Wednesday 22 August 2018 12:18
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
ShellyCloudPlugin
I developed a new plugin in python for Shelly devices.
Currently the Shelly 1, Shelly 2.5 and the Shelly Dimmer are supported.
Check my github repository https://github.com/mario-peters/ShellyCloudPlugin
I'm still in test phase so every feedback is welcome.
Currently the Shelly 1, Shelly 2.5 and the Shelly Dimmer are supported.
Check my github repository https://github.com/mario-peters/ShellyCloudPlugin
I'm still in test phase so every feedback is welcome.
-
- Posts: 39
- Joined: Monday 05 November 2018 16:17
- Target OS: Linux
- Domoticz version: 2022.2
- Location: @home
- Contact:
Re: ShellyCloudPlugin
Best thing about this plugin is that it works without any additional software. No MQTT, no need to flash the shelly devices, nothing. Just configure the Shelly through its webinterface and that's it.
Tested with the Shelly 1 and the Dimmer and it's working great.
Jon.
Tested with the Shelly 1 and the Dimmer and it's working great.
Jon.
Re: ShellyCloudPlugin
Great.
I tested the SHELLY 1PM, SHELLY 2.5 and SHELLY dimmer.
All works fine with the plug-in.
So easy
Are there any plans for adding the SHELLY RGBW(2) to the plug-in soon?
I tested the SHELLY 1PM, SHELLY 2.5 and SHELLY dimmer.
All works fine with the plug-in.
So easy
Are there any plans for adding the SHELLY RGBW(2) to the plug-in soon?
-
- Posts: 61
- Joined: Wednesday 22 August 2018 12:18
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: ShellyCloudPlugin
tlambin, thanks for using the plugin. Unfortunately I haven't got a Shelly RGBW(2) device for testing purposes. I'm going to investigate the changes I have to make for adding the Shelly RGBW functionality. Perhaps I can send you a test version in the future?
-
- Posts: 1601
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: ShellyCloudPlugin
Dear...
I did use your plugin.
looking great...
Ony the plugin give a lotof data..
And then is the mqtt very slow in domoticz.
So perhaps more options to set data for x seconds or something like that
I did use your plugin.
looking great...
Ony the plugin give a lotof data..
And then is the mqtt very slow in domoticz.
So perhaps more options to set data for x seconds or something like that
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
-
- Posts: 61
- Joined: Wednesday 22 August 2018 12:18
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: ShellyCloudPlugin
Derik,
what do you mean with "a lot of data".
The onHeartbeat is now refreshing at 30 seconds.
Can you explain what the problem is?
what do you mean with "a lot of data".
The onHeartbeat is now refreshing at 30 seconds.
Can you explain what the problem is?
-
- Posts: 1601
- Joined: Friday 18 October 2013 23:33
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Arnhem/Nijmegen Nederland
- Contact:
Re: ShellyCloudPlugin
i remove the plugin.
every time when the usage change the pugin change the data in domoticz.
And that with 6 shelly's.
Was to much for my odroid N2.
every time when the usage change the pugin change the data in domoticz.
And that with 6 shelly's.
Was to much for my odroid N2.
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
-
- Posts: 61
- Joined: Wednesday 22 August 2018 12:18
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: ShellyCloudPlugin
Derik,
Shall I add a choice dropdown for choosing if you want to add (and periodically update) power consumption?
Would this sollution work for your problem?
-
- Posts: 61
- Joined: Wednesday 22 August 2018 12:18
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: ShellyCloudPlugin
I already started working on this next feature.mariopeters wrote: ↑Monday 25 May 2020 16:50tlambin, thanks for using the plugin. Unfortunately I haven't got a Shelly RGBW(2) device for testing purposes. I'm going to investigate the changes I have to make for adding the Shelly RGBW functionality. Perhaps I can send you a test version in the future?
It is almost finished, but I still have a small problem on updating the RGB values of the Domoticz device.
After fixing this you should be able to use the RGBW2 switch.
I will notice you if it is fixed and committed in GitHub.
-
- Posts: 89
- Joined: Friday 15 September 2017 18:54
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 4.10076
- Location: Germany
- Contact:
Re: ShellyCloudPlugin
Hello Mario
will shutter be possible?
will shutter be possible?
RPi4 Shelly1 Shelly2.5 ESPEasy Tuya Domoticz Beta Dashticz 3.6
-
- Posts: 61
- Joined: Wednesday 22 August 2018 12:18
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: ShellyCloudPlugin
Shelly RGBW(2) is now also included.
If someone could test the functionality?
Please send me (private message) the error messages if they occur.
If someone could test the functionality?
Please send me (private message) the error messages if they occur.
-
- Posts: 504
- Joined: Sunday 01 November 2015 22:45
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2023.2
- Location: Twente
- Contact:
Re: ShellyCloudPlugin
Hi
What's the status of this plugin?
I cloned it from github, did chmod +x for the plugin, but I doesn't show in the hardware.
What am I doing wrong?
What's the status of this plugin?
I cloned it from github, did chmod +x for the plugin, but I doesn't show in the hardware.
What am I doing wrong?
Bugs bug me.
-
- Posts: 61
- Joined: Wednesday 22 August 2018 12:18
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: ShellyCloudPlugin
Do you receive an error in de log file when you startup Domoticz?
Could it be possible that the Domoticz-user doesn't have any rights on the directory/files?
-
- Posts: 504
- Joined: Sunday 01 November 2015 22:45
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 2023.2
- Location: Twente
- Contact:
Re: ShellyCloudPlugin
Thanks for pointing to the log files where it says: PluginSystem: Failed dynamic library load
Having read Using Python plugins again I installed sudo apt install python3-dev
That did it.
Having read Using Python plugins again I installed sudo apt install python3-dev
That did it.
Bugs bug me.
-
- Posts: 222
- Joined: Tuesday 22 July 2014 7:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Netherlands
- Contact:
Re: ShellyCloudPlugin
Just found out about this plugin. I already have two switches, and added them via api calls.
Today I received a shelly dimmer and used this plugin. this works wonderfull.
thanks for this
I also received my shelly bulb a rgb bulb I tried to use rgb(2) It looks like it works.
but more slowly and less accurate. ilumination is not right.
Also the effects for this bulb are not present.
thanks in advance
Today I received a shelly dimmer and used this plugin. this works wonderfull.
thanks for this
I also received my shelly bulb a rgb bulb I tried to use rgb(2) It looks like it works.
but more slowly and less accurate. ilumination is not right.
Also the effects for this bulb are not present.
thanks in advance
-
- Posts: 222
- Joined: Tuesday 22 July 2014 7:21
- Target OS: Raspberry Pi / ODroid
- Domoticz version: beta
- Location: Netherlands
- Contact:
Re: ShellyCloudPlugin
I added a ledstrip with the shelly rgb2. In general it works.
I do get a lot of errors in my log
2020-08-15 10:27:25.404 (RGB2 1) onHeartbeat called
2020-08-15 10:27:25.505 Error: (RGB2 1) 'onHeartbeat' failed 'NameError'.
2020-08-15 10:27:25.506 Error: (RGB2 1) ----> Line 206 in '/home/pi/domoticz/plugins/ShellyCloudPlugin-master/plugin.py', function onHeartbeat
2020-08-15 10:27:25.506 Error: (RGB2 1) ----> Line 171 in '/home/pi/domoticz/plugins/ShellyCloudPlugin-master/plugin.py', function onHeartbeat
2020-08-15 10:27:25.506 Error: (RGB2 1) ----> Line 412 in '/home/pi/domoticz/plugins/ShellyCloudPlugin-master/plugin.py', function updateSHRGBW2
I don't know if this is the plugin or domoticz:
2020-08-15 10:13:35.238 Error: (RGB2 1) HTTPConnectionPool(host='shelly ip address', port=80): Max retries exceeded with url: /color/0?turn=on&red=255&green=22&blue=174&gain=1 (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x1cac6950>, 'Connection to "shelly ipaddress" timed out. (connect timeout=10)'))
it is no biggy, so no pressure
still happy with the plugin
I do get a lot of errors in my log
2020-08-15 10:27:25.404 (RGB2 1) onHeartbeat called
2020-08-15 10:27:25.505 Error: (RGB2 1) 'onHeartbeat' failed 'NameError'.
2020-08-15 10:27:25.506 Error: (RGB2 1) ----> Line 206 in '/home/pi/domoticz/plugins/ShellyCloudPlugin-master/plugin.py', function onHeartbeat
2020-08-15 10:27:25.506 Error: (RGB2 1) ----> Line 171 in '/home/pi/domoticz/plugins/ShellyCloudPlugin-master/plugin.py', function onHeartbeat
2020-08-15 10:27:25.506 Error: (RGB2 1) ----> Line 412 in '/home/pi/domoticz/plugins/ShellyCloudPlugin-master/plugin.py', function updateSHRGBW2
I don't know if this is the plugin or domoticz:
2020-08-15 10:13:35.238 Error: (RGB2 1) HTTPConnectionPool(host='shelly ip address', port=80): Max retries exceeded with url: /color/0?turn=on&red=255&green=22&blue=174&gain=1 (Caused by ConnectTimeoutError(<urllib3.connection.HTTPConnection object at 0x1cac6950>, 'Connection to "shelly ipaddress" timed out. (connect timeout=10)'))
it is no biggy, so no pressure
still happy with the plugin
-
- Posts: 61
- Joined: Wednesday 22 August 2018 12:18
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: ShellyCloudPlugin
I Will look for a solution next week.
-
- Posts: 61
- Joined: Wednesday 22 August 2018 12:18
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: ShellyCloudPlugin
Bug fixed.
The new code is pushed to github.
RGBW2 added for only the color type.
Also Shelly Bulb functionality added.
The new code is pushed to github.
RGBW2 added for only the color type.
Also Shelly Bulb functionality added.
-
- Posts: 61
- Joined: Wednesday 22 August 2018 12:18
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
Re: ShellyCloudPlugin
Shelly Door/Window 2 functionality is also added.
-
- Posts: 133
- Joined: Tuesday 04 February 2014 21:31
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Location: Isère, France
- Contact:
Re: ShellyCloudPlugin
Hello
Good job! It seems it can work without beeing forced to use MQTT...
Do you plan to release Shelly Plug support?
thx
Good job! It seems it can work without beeing forced to use MQTT...
Do you plan to release Shelly Plug support?
thx
Who is online
Users browsing this forum: No registered users and 1 guest