Shelly MQTT readonly

Python and python framework

Moderator: leecollings

Post Reply
gomsoo
Posts: 16
Joined: Tuesday 07 March 2017 19:35
Target OS: Windows
Domoticz version:
Contact:

Shelly MQTT readonly

Post by gomsoo »

I've severals Shelly 1, I can only read the status

I get the switch, witch indicates the status properly. But when I click on this device, I get the message "Switching On", but nothing happen.
As workaround I create a dummy switch and control the shelly with a http request, but this is not a useful solution.

Has anybody an idea how I can control the shelly directly?
User avatar
FireWizard
Posts: 1863
Joined: Tuesday 25 December 2018 12:11
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Voorthuizen (NL)
Contact:

Re: Shelly MQTT readonly

Post by FireWizard »

Hi,

Your post is not really clear for me, but is it your setting in MQTT hardware of "Prevent Loop"?
See: https://www.domoticz.com/forum/viewtopi ... t&start=20 (post 08 Apr 2020, 16:46)

Regards
gomsoo
Posts: 16
Joined: Tuesday 07 March 2017 19:35
Target OS: Windows
Domoticz version:
Contact:

Re: Shelly MQTT readonly

Post by gomsoo »

Hi

Thanks for your answer

I've the plugin Shelly MQTT and don't have the option "prevent loop".

With this plugin I can only read all stats of each shelly devices, works fine, but I can't control them.
lwolf
Posts: 216
Joined: Saturday 10 November 2018 18:29
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Hungary
Contact:

Re: Shelly MQTT readonly

Post by lwolf »

gomsoo wrote: Monday 17 August 2020 10:37 I've the plugin Shelly MQTT and don't have the option "prevent loop".

With this plugin I can only read all stats of each shelly devices, works fine, but I can't control them.
It is happening when you are enabling "Use custom MQTT prefix" feature. Status messages will come, but commands will never go through as the mqtt path hold necessary informations for the plugin.
gomsoo
Posts: 16
Joined: Tuesday 07 March 2017 19:35
Target OS: Windows
Domoticz version:
Contact:

Re: Shelly MQTT readonly

Post by gomsoo »

I researched and find the solution
Don't use prefixes, and it works like a charme

I seems we find at the same time this solution, but anyway, thanks a lot
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest