Page 5 of 26
Re: Python Plugin: Shelly MQTT
Posted: Monday 18 February 2019 21:37
by salvacalatayud
minime wrote:I don't think so:
Code: Select all
Supported devices
Tested and working with:
Shelly 1 Open Source (relay)
Shelly Plug (relay and power consumption reporting)
Shelly2 Switch (relay and roller shutter mode, positioning)
Shelly4 Pro (relay and power consumption reporting)
Shelly H&T
...
Ok, thanks
Enviado desde mi Mi A2 mediante Tapatalk
Re: Python Plugin: Shelly MQTT
Posted: Wednesday 13 March 2019 12:28
by Gerwin
hello,
i have a problem if i installed this plugin domoticz stop working right away
domoticz installed on raspberry
version 4.9700
python 3.4.4
is there someone they can help me
Gerwin
Re: Python Plugin: Shelly MQTT
Posted: Wednesday 13 March 2019 17:04
by salopette
You have to use the last beta and Python version from 3.5.
Re: Python Plugin: Shelly MQTT
Posted: Wednesday 13 March 2019 19:24
by Gerwin
That's strange ,
Look the picture
Here looks that it is possible with my preference
Gerwin
Re: Python Plugin: Shelly MQTT
Posted: Saturday 16 March 2019 9:57
by leby
Anyone that have got the Shelly RGBW to be discovered with the plugin? I know its not listed but, still?
Re: Python Plugin: Shelly MQTT
Posted: Saturday 16 March 2019 18:23
by lwolf
Gerwin wrote: ↑Wednesday 13 March 2019 19:24
That's strange ,
Look the picture
Here looks that it is possible with my preference
Gerwin
I have tested this plugin with Ubuntu 18.04 and Raspbian Stretch Linux, Python3.4.2 and Python 3.5.3 with Domoticz 4.9700 and 4.10427.
(However, for example Python 3.4.4 is published in 2015 and when i last checked my calendar it is 2019 now)
So it is up to you to debug the Verbose log file, that the Domoticz provides, than you will have some clue why your python environment does not work properly.
https://github.com/enesbcs/Shelly_MQTT/issues/5
Re: Python Plugin: Shelly MQTT
Posted: Sunday 17 March 2019 10:52
by Gerwin
Iwolf
thanks for your answer
Gerwin
Re: Python Plugin: Shelly MQTT
Posted: Tuesday 19 March 2019 22:48
by minime
Lwolf
do you plan to integrate shelly RGBW2 and the smoke (when its available) too?
I'ld like to see it supported too.
thanks in advance
Re: Python Plugin: Shelly MQTT
Posted: Friday 29 March 2019 12:18
by minime
@lwolf, thanks alot! Happy to see RGBW2 support
I'll test this evening
Re: Python Plugin: Shelly MQTT
Posted: Sunday 14 April 2019 10:10
by rafek
Hello,
first of all i thanks lwolf for your job on the Shelly MQTT Plugin.
Yesterday i configured Selly 2.5 like roller shutter and i have question:
Is it possible to reverse the open / close function in domoticz switches ?
My observation:
- when push close blinds - Venetian Blinds EU
2019-04-14 09:42:33.018 Status: User: Admin initiated a switch command (1598/Shelly-MQTT - shellyswitch25-5DBB09-0-roller/On)
2019-04-14 09:42:33.046 (Shelly-MQTT) Command: On (0) Color:
2019-04-14 09:42:33.047 (Shelly-MQTT) MqttClient::publish shellies/shellyswitch25-5DBB09/roller/0/command (open)
2019-04-14 09:42:33.098 (Shelly-MQTT) MQTT message: shellies/shellyswitch25-5DBB09/roller/0/command open
2019-04-14 09:42:33.299 (Shelly-MQTT) MQTT message: shellies/shellyswitch25-5DBB09/roller/0 open
2019-04-14 09:42:35.509 (Shelly-MQTT) MQTT message: shellies/shellyswitch25-5DBB09/roller/0 stop
- when push close blinds - Blinds Percentage
2019-04-14 09:43:41.802 Status: User: Admin initiated a switch command (1599/Shelly-MQTT - shellyswitch25-5DBB09-0-pos/On)
2019-04-14 09:43:41.816 (Shelly-MQTT) Command: On (100) Color:
2019-04-14 09:43:41.817 (Shelly-MQTT) MqttClient::publish shellies/shellyswitch25-5DBB09/roller/0/command (open)
2019-04-14 09:43:41.868 (Shelly-MQTT) MQTT message: shellies/shellyswitch25-5DBB09/roller/0/command open
2019-04-14 09:43:42.069 (Shelly-MQTT) MQTT message: shellies/shellyswitch25-5DBB09/roller/0 open
2019-04-14 09:43:44.480 (Shelly-MQTT) MQTT message: shellies/shellyswitch25-5DBB09/roller/0 stop
- status when roroller shutter is opened
2019-04-14 09:44:14.488 (Shelly-MQTT) MQTT message: shellies/shellyswitch25-5DBB09/roller/0 stop
2019-04-14 09:44:14.489 (Shelly-MQTT) MQTT message: shellies/shellyswitch25-5DBB09/roller/0/pos 100
2019-04-14 09:44:14.496 (Shelly-MQTT) MQTT message: shellies/shellyswitch25-5DBB09/relay/power 0.0
2019-04-14 09:44:14.500 (Shelly-MQTT) MQTT message: shellies/shellyswitch25-5DBB09/relay/energy 528
2019-04-14 09:44:14.504 (Shelly-MQTT) MQTT message: shellies/shellyswitch25-5DBB09/input/0 1
2019-04-14 09:44:14.505 (Shelly-MQTT) MQTT message: shellies/shellyswitch25-5DBB09/input/1 1
2019-04-14 09:44:14.505 (Shelly-MQTT) MQTT message: shellies/shellyswitch25-5DBB09/temperature 51.61
2019-04-14 09:44:14.506 (Shelly-MQTT) MQTT message: shellies/shellyswitch25-5DBB09/overtemperature 0
Domoticz installed on raspberry
version 4.9700
pi@rpi3:~ $ /usr/bin/python3 -V
Python 3.5.3
best regards
rafek
Re: Python Plugin: Shelly MQTT
Posted: Friday 19 April 2019 9:21
by lwolf
rafek wrote: ↑Sunday 14 April 2019 10:10
Hello,
first of all i thanks lwolf for your job on the Shelly MQTT Plugin.
Yesterday i configured Selly 2.5 like roller shutter and i have question:
Is it possible to reverse the open / close function in domoticz switches ?
My observation:
- when push close blinds - Venetian Blinds EU
2019-04-14 09:42:33.018 Status: User: Admin initiated a switch command (1598/Shelly-MQTT - shellyswitch25-5DBB09-0-roller/On)
2019-04-14 09:42:33.046 (Shelly-MQTT) Command: On (0) Color:
2019-04-14 09:42:33.047 (Shelly-MQTT) MqttClient::publish shellies/shellyswitch25-5DBB09/roller/0/command (open)
2019-04-14 09:42:33.098 (Shelly-MQTT) MQTT message: shellies/shellyswitch25-5DBB09/roller/0/command open
2019-04-14 09:42:33.299 (Shelly-MQTT) MQTT message: shellies/shellyswitch25-5DBB09/roller/0 open
2019-04-14 09:42:35.509 (Shelly-MQTT) MQTT message: shellies/shellyswitch25-5DBB09/roller/0 stop
- when push close blinds - Blinds Percentage
2019-04-14 09:43:41.802 Status: User: Admin initiated a switch command (1599/Shelly-MQTT - shellyswitch25-5DBB09-0-pos/On)
2019-04-14 09:43:41.816 (Shelly-MQTT) Command: On (100) Color:
2019-04-14 09:43:41.817 (Shelly-MQTT) MqttClient::publish shellies/shellyswitch25-5DBB09/roller/0/command (open)
2019-04-14 09:43:41.868 (Shelly-MQTT) MQTT message: shellies/shellyswitch25-5DBB09/roller/0/command open
2019-04-14 09:43:42.069 (Shelly-MQTT) MQTT message: shellies/shellyswitch25-5DBB09/roller/0 open
2019-04-14 09:43:44.480 (Shelly-MQTT) MQTT message: shellies/shellyswitch25-5DBB09/roller/0 stop
- status when roroller shutter is opened
2019-04-14 09:44:14.488 (Shelly-MQTT) MQTT message: shellies/shellyswitch25-5DBB09/roller/0 stop
2019-04-14 09:44:14.489 (Shelly-MQTT) MQTT message: shellies/shellyswitch25-5DBB09/roller/0/pos 100
2019-04-14 09:44:14.496 (Shelly-MQTT) MQTT message: shellies/shellyswitch25-5DBB09/relay/power 0.0
2019-04-14 09:44:14.500 (Shelly-MQTT) MQTT message: shellies/shellyswitch25-5DBB09/relay/energy 528
2019-04-14 09:44:14.504 (Shelly-MQTT) MQTT message: shellies/shellyswitch25-5DBB09/input/0 1
2019-04-14 09:44:14.505 (Shelly-MQTT) MQTT message: shellies/shellyswitch25-5DBB09/input/1 1
2019-04-14 09:44:14.505 (Shelly-MQTT) MQTT message: shellies/shellyswitch25-5DBB09/temperature 51.61
2019-04-14 09:44:14.506 (Shelly-MQTT) MQTT message: shellies/shellyswitch25-5DBB09/overtemperature 0
Domoticz installed on raspberry
version 4.9700
pi@rpi3:~ $ /usr/bin/python3 -V
Python 3.5.3
best regards
rafek
I could do that, but it is specifically asked to work in this way initially:
https://www.domoticz.com/forum/viewtopi ... 20#p202345
As i know, inverting can be setted in the Shelly2-2.5 web GUI.
Re: Python Plugin: Shelly MQTT
Posted: Monday 27 May 2019 14:10
by minime
Hi there,
I'm using this plugin for a time now.
Now I want to do some Lua programming to interact with other devices, but I'm not as familar with it.
I'm able to turn an RGB Stripe on and off when another shelly device is switching by using
commandArray['RGBWTestdevice] = 'On'
commandArray['RGBWTestdevice] = 'Off'
I'm searching for someting like setBrightness or changing the Color. Can you give me some hints doing that?
Thanks in advance
Re: Python Plugin: Shelly MQTT
Posted: Tuesday 28 May 2019 17:28
by sic79
Great plugin, but I cant seem to get on/off working on my ”Shelly Plug s”. Anyone tried to get that working?
Re: Python Plugin: Shelly MQTT
Posted: Tuesday 28 May 2019 17:45
by KnatteAnka
Hi is it possible to add Shelly2led ?
(mqtt commands)
Brightness levels:
Topic: shellies/Shelly2LED-1EF9D5/color/0/set payload: { "brightness":number}
and on/off
Topic: shellies/Shelly2LED-1EF9D5/color/0/command payload: "on" or "off"
unit typ should be switch dimmer (not RGBW as it detects right now)
(can detect currently if its on/off + brightness)
Re: Python Plugin: Shelly MQTT
Posted: Tuesday 28 May 2019 22:11
by minime
@sic79 as far as I know, Plug S is not supported at the moment, also Smoke is not.
Maybe Lwolf will add this some time!?
That'd be wonderful

Re: Python Plugin: Shelly MQTT
Posted: Tuesday 28 May 2019 22:16
by minime
by the way lwolf, is there any chance to get the "longpush" Event supported by your plugin for Shelly1 and/or 2?
I've seen this in the mqtt debug lines?
2019-05-28 22:14:02.369 (Shelly_MQTT) MQTT message: shellies/shelly1-XXXXX/longpush/0 1
Maybe it is supported as well, than I'ld like to ask how to use it in blockly?
Thanks in advance
Re: Python Plugin: Shelly MQTT
Posted: Wednesday 29 May 2019 7:48
by sic79
minime wrote:@sic79 as far as I know, Plug S is not supported at the moment, also Smoke is not.
Maybe Lwolf will add this some time!?
That'd be wonderful

Ok, well then lets just wait and see

.
Re: Python Plugin: Shelly MQTT
Posted: Wednesday 29 May 2019 19:19
by Masure
Hi,
Do you plan to support Shelly EM for energy monitoring ?
https://shelly.cloud/product/wifi-smart ... rgy-meter/
Re: Python Plugin: Shelly MQTT
Posted: Sunday 02 June 2019 8:59
by lwolf
Masure wrote: ↑Wednesday 29 May 2019 19:19
Do you plan to support Shelly EM for energy monitoring ?
https://bitekmindenhol.blog.hu/2019/05/02/support_236
Re: Python Plugin: Shelly MQTT
Posted: Sunday 02 June 2019 9:02
by lwolf
minime wrote: ↑Tuesday 28 May 2019 22:11
@sic79 as far as I know, Plug S is not supported at the moment, also Smoke is not.
Maybe Lwolf will add this some time!?
Sorry, I asked Smoke earlier from Allterco, but they could not send me one. So it falls under wontfix category.
https://github.com/enesbcs/Shelly_MQTT/issues/4
About new device support:
https://bitekmindenhol.blog.hu/2019/05/02/support_236