Python Plugin: Shelly MQTT

Python and python framework

Moderator: leecollings

Post Reply
User avatar
bewo
Posts: 74
Joined: Monday 13 July 2015 12:27
Target OS: Linux
Domoticz version: 2021.1
Location: Bavaria - Germany
Contact:

Re: Python Plugin: Shelly MQTT

Post by bewo »

Great plugin! Works fine for me! Good job! Thanks a lot! :D
Individual projects:
Domoticz on a Intel Xeon Server | AeonLabs Z-Wave Gen.5 | RFXCOM RFXtrx433E USB | ESP-Wifi-Modules | Shellys
Wall-mounted 22" Touch Control Display (self construct) | LUA wind monitor| LUA heating control | and many many more :)
lukinfo
Posts: 2
Joined: Tuesday 25 September 2018 15:52
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin: Shelly MQTT

Post by lukinfo »

Hi,
I've added Shelly MQTT to domoticz. Lowering and lifting the blinds works correctly but the percentage opening and closing does not work. How to set it? Please help me.
salvacalatayud
Posts: 112
Joined: Monday 26 June 2017 21:16
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Spain
Contact:

Re: Python Plugin: Shelly MQTT

Post by salvacalatayud »

lukinfo wrote: Sunday 21 July 2019 22:30 Hi,
I've added Shelly MQTT to domoticz. Lowering and lifting the blinds works correctly but the percentage opening and closing does not work. How to set it? Please help me.
Did you calibrate the blinds? I did that way and works perfect
lukinfo
Posts: 2
Joined: Tuesday 25 September 2018 15:52
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin: Shelly MQTT

Post by lukinfo »

salvacalatayud wrote: Monday 22 July 2019 12:25
lukinfo wrote: Sunday 21 July 2019 22:30 Hi,
I've added Shelly MQTT to domoticz. Lowering and lifting the blinds works correctly but the percentage opening and closing does not work. How to set it? Please help me.
Did you calibrate the blinds? I did that way and works perfect
I did calibrate and now it is OK. Thanks for help. :)
HeTi
Posts: 5
Joined: Saturday 11 January 2014 22:59
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin: Shelly MQTT

Post by HeTi »

Is ShellyEM todo list allready ?
darrepac
Posts: 133
Joined: Tuesday 04 February 2014 21:31
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Isère, France
Contact:

Re: Python Plugin: Shelly MQTT

Post by darrepac »

lwolf wrote: Sunday 02 June 2019 9:20 In the meantime, I wrote to Allterco about the previously listed devices. (Shelly2LED, Shelly EM, Shelly Smoke,Shelly Plug S)
Any news? Interested by Shelly EM...

Thx
lwolf
Posts: 216
Joined: Saturday 10 November 2018 18:29
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Hungary
Contact:

Re: Python Plugin: Shelly MQTT

Post by lwolf »

darrepac wrote: Tuesday 13 August 2019 1:39
lwolf wrote: Sunday 02 June 2019 9:20 In the meantime, I wrote to Allterco about the previously listed devices. (Shelly2LED, Shelly EM, Shelly Smoke,Shelly Plug S)
Any news? Interested by Shelly EM...
Thx
I've got no news neither EM from Jun 17th, it's almost 2 months so i guess they simply forget it.
In the meantime the Shelly Plug S is fixed thanks to user code pull requests.
darrepac
Posts: 133
Joined: Tuesday 04 February 2014 21:31
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Isère, France
Contact:

Re: Python Plugin: Shelly MQTT

Post by darrepac »

lwolf wrote: Tuesday 13 August 2019 7:02
I've got no news neither EM from Jun 17th, it's almost 2 months so i guess they simply forget it.
Is there something that we can do to help you? For example telling Shelly that we are waiting support to Domoticz before to buy? if you have a contact email address...
lwolf
Posts: 216
Joined: Saturday 10 November 2018 18:29
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Hungary
Contact:

Re: Python Plugin: Shelly MQTT

Post by lwolf »

darrepac wrote: Tuesday 13 August 2019 9:14
lwolf wrote: Tuesday 13 August 2019 7:02
I've got no news neither EM from Jun 17th, it's almost 2 months so i guess they simply forget it.
Is there something that we can do to help you? For example telling Shelly that we are waiting support to Domoticz before to buy? if you have a contact email address...
The last time when somebody dropped an issue about missing Domoticz support to the official english language facebook forum, the device arrived to me in 2 weeks after this action. :)
josemi
Posts: 31
Joined: Thursday 08 March 2018 16:48
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin: Shelly MQTT

Post by josemi »

lwolf wrote: Tuesday 13 August 2019 17:23
darrepac wrote: Tuesday 13 August 2019 9:14
lwolf wrote: Tuesday 13 August 2019 7:02
I've got no news neither EM from Jun 17th, it's almost 2 months so i guess they simply forget it.
Is there something that we can do to help you? For example telling Shelly that we are waiting support to Domoticz before to buy? if you have a contact email address...
The last time when somebody dropped an issue about missing Domoticz support to the official english language facebook forum, the device arrived to me in 2 weeks after this action. :)
I would like to have Shelly Flood support via MQTT for domoticz. Will it be possible?

https://shelly.cloud/product/wifi-smart ... od-sensor/
darrepac
Posts: 133
Joined: Tuesday 04 February 2014 21:31
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Isère, France
Contact:

Re: Python Plugin: Shelly MQTT

Post by darrepac »

Do you confirm that if I activate MQTT mode (in order to use it with your plugin), it will deactivate the Shelly Cloud and so make the Shelly app unusable? (shame)
lwolf
Posts: 216
Joined: Saturday 10 November 2018 18:29
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Hungary
Contact:

Re: Python Plugin: Shelly MQTT

Post by lwolf »

darrepac wrote: Monday 19 August 2019 17:11 Do you confirm that if I activate MQTT mode (in order to use it with your plugin), it will deactivate the Shelly Cloud and so make the Shelly app unusable? (shame)
Yes it is designed to work in this way, as the ESP8266 has low resources (memory) and some features can not coexist at the same time.
Personally I am very happy with this solution as i do not like cloud-based solutions, i will not "outsource" my own home-automatizations to external companies and their contractors as i can do everything on my own with MQTT and Domoticz locally.
User avatar
McMelloW
Posts: 434
Joined: Monday 20 November 2017 17:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V2024.1
Location: Harderwijk, NL
Contact:

Re: Python Plugin: Shelly MQTT

Post by McMelloW »

lwolf wrote: Monday 19 August 2019 18:37 Yes it is designed to work in this way, as the ESP8266 has low resources (memory) and some features can not coexist at the same time.
Personally I am very happy with this solution as i do not like cloud-based solutions, i will not "outsource" my own home-automatizations to external companies and their contractors as i can do everything on my own with MQTT and Domoticz locally.
I fully agree with you. No "outsourcing" That is why I have flashed my Sonoff device with Tasmota and give them all a static Ip-address at my local network.

A few quick questions for my understanding.

- A shelly device can be used out of the box, no flashing or adjusting is necessary?
- Can I give a device a static IP-address in my private Local network. Like 192.168.231.100
Greetings McMelloW
lwolf
Posts: 216
Joined: Saturday 10 November 2018 18:29
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Hungary
Contact:

Re: Python Plugin: Shelly MQTT

Post by lwolf »

McMelloW wrote: Tuesday 20 August 2019 12:59 A few quick questions for my understanding.

- A shelly device can be used out of the box, no flashing or adjusting is necessary?
- Can I give a device a static IP-address in my private Local network. Like 192.168.231.100
There are no flashing necessary, but in the "Internet&Security->Advanced developer settings" menu you have to enable MQTT and setup to point your own MQTT server IP address. (which has to be fixed)
Image

In the Wifi Client mode settings there are an option to setup fix IP address, but it can be also done with your router through static DHCP settings. But if the shelly devices is used with mqtt the static IP address is not really necessary.
Image
User avatar
McMelloW
Posts: 434
Joined: Monday 20 November 2017 17:01
Target OS: Raspberry Pi / ODroid
Domoticz version: V2024.1
Location: Harderwijk, NL
Contact:

Re: Python Plugin: Shelly MQTT

Post by McMelloW »

lwolf wrote: Tuesday 20 August 2019 13:26 There are no flashing necessary, but in the "Internet&Security->Advanced developer settings" menu you have to enable MQTT and setup to point your own MQTT server IP address. (which has to be fixed)

In the Wifi Client mode settings there are an option to setup fix IP address, but it can be also done with your router through static DHCP settings. But if the shelly devices is used with mqtt the static IP address is not really necessary.
Thanks for your quick answers
Greetings McMelloW
josemi
Posts: 31
Joined: Thursday 08 March 2018 16:48
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin: Shelly MQTT

Post by josemi »

I would like to have Shelly Flood support via MQTT for domoticz. Will it be possible?

https://shelly.cloud/product/wifi-smart ... od-sensor/
https://shelly-api-docs.shelly.cloud/#shelly-flood

Please :ugeek:
darrepac
Posts: 133
Joined: Tuesday 04 February 2014 21:31
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Isère, France
Contact:

Re: Python Plugin: Shelly MQTT

Post by darrepac »

Can someone tell me which values report Shelly Plug S? power consumption only or also power factor, voltage, current, frequency??
About power consumption, is it able to measure negative value (=power production from photovoltaic panel for ex.)?

thanks
lwolf
Posts: 216
Joined: Saturday 10 November 2018 18:29
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Hungary
Contact:

Re: Python Plugin: Shelly MQTT

Post by lwolf »

josemi wrote: Friday 23 August 2019 9:12
I would like to have Shelly Flood support via MQTT for domoticz. Will it be possible?

https://shelly.cloud/product/wifi-smart ... od-sensor/
https://shelly-api-docs.shelly.cloud/#shelly-flood
I am very sorry but i do not own such a device, and i have no plans to buy it as i do not need it.
josemi
Posts: 31
Joined: Thursday 08 March 2018 16:48
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Python Plugin: Shelly MQTT

Post by josemi »

lwolf wrote: Friday 23 August 2019 17:15 I am very sorry but i do not own such a device, and i have no plans to buy it as i do not need it.
Ok. I tried you had the first one, I see it has not been possible. :cry:

Image
darrepac
Posts: 133
Joined: Tuesday 04 February 2014 21:31
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Isère, France
Contact:

Re: Python Plugin: Shelly MQTT

Post by darrepac »

darrepac wrote: Friday 23 August 2019 10:14 Can someone tell me which values report Shelly Plug S? power consumption only or also power factor, voltage, current, frequency??
About power consumption, is it able to measure negative value (=power production from photovoltaic panel for ex.)?

thanks
No one has Plug S device (or Plug because I guess it is similar). If not, I will be the first...
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest