Problems with MQTT connection with Shelly

On various Hardware and OS systems: pi / windows / routers / nas, etc

Moderator: leecollings

Post Reply
Smarthouse
Posts: 1
Joined: Saturday 11 May 2019 19:42
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Problems with MQTT connection with Shelly

Post by Smarthouse »

Hi,
I am a new user of Domoticz, so I kindly ask for help with this issue:
I installed the Python MQTT Shelly plugin to Domoticz.
I also set up the MQTT broker using Mosquitto.
Shelly is also configured and connected.

The problem is the plugin didn't create the devices, I assume it didn't receive mqtt load.

I attached the logs.

What may cause such a problem?
Attachments
logs.png
logs.png (71.49 KiB) Viewed 1991 times
User avatar
Dnpwwo
Posts: 820
Joined: Sunday 23 March 2014 9:00
Target OS: Raspberry Pi / ODroid
Domoticz version: Beta
Location: Melbourne, Australia
Contact:

Re: Problems with MQTT connection with Shelly

Post by Dnpwwo »

Check under 'Settings' to make sure that 'Accept new Hardware Devices' is enabled
The reasonable man adapts himself to the world; the unreasonable one persists to adapt the world to himself. Therefore all progress depends on the unreasonable man. George Bernard Shaw
iosamu87
Posts: 2
Joined: Tuesday 25 January 2022 9:30
Target OS: -
Domoticz version:
Contact:

Re: Problems with MQTT connection with Shelly

Post by iosamu87 »

did you solve the problem with the flag?

because I also have the same problem with the fleg enabled.

I wonder why I can't create the device.
iosamu87
Posts: 2
Joined: Tuesday 25 January 2022 9:30
Target OS: -
Domoticz version:
Contact:

Re: Problems with MQTT connection with Shelly

Post by iosamu87 »

/var/log/mosquitto/mosquitto.log ( something comes... )
2022-01-25T13:03:06: New connection from IP:30372 on port 1883.
2022-01-25T13:03:06: Client shellydw2-XXX already connected, closing old connection.
2022-01-25T13:03:06: New client connected from IP:30372 as shellydw2-XXX (p2, c1, k60, u'mqtt').
2022-01-25T13:03:37: New connection from IP:20647 on port 1883.
2022-01-25T13:03:37: Client shellydw2-XXX already connected, closing old connection.
2022-01-25T13:03:37: New client connected from IP:20647 as shellydw2-XXX (p2, c1, k60, u'mqtt').
2022-01-25T13:04:21: Client Domoticz_XXX closed its connection.

while on domoticz I don't see anything and it doesn't create the device.

any suggestions ? thank you.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest