Shelly MQTT, not able to add new devices
Posted: Monday 04 July 2022 9:23
dear all
I've a lot of shelly devices, works like a charm with Shelly MQTT.
When I now try add new devices (Shelly Bulb DUO, Shelly Bulb RGBW, Shelly 1PM), I get the error:
2022-07-04 08:45:44.244 Error: MQTT: 'onMessage' failed 'KeyError':'(-1,)'.
2022-07-04 08:45:44.244 Error: MQTT: Exception traceback:
2022-07-04 08:45:44.244 Error: MQTT: ----> Line 1351 in '/home/user/domoticz/plugins/Shelly_MQTT/plugin.py', function onMessage
2022-07-04 08:45:44.244 Error: MQTT: ----> Line 326 in '/home/user/domoticz/plugins/Shelly_MQTT/plugin.py', function onMessage
2022-07-04 08:45:44.244 Error: MQTT: ----> Line 176 in '/home/user/domoticz/plugins/Shelly_MQTT/mqtt.py', function onMessage
2022-07-04 08:45:44.244 Error: MQTT: ----> Line 1231 in '/home/user/domoticz/plugins/Shelly_MQTT/plugin.py', function onMQTTPublish
The old existing devices still working fine.
On MQTT Explorer the new devices also looks good.
Version: 2022.1
What could be the reason?
Thanks for your suggestions
Michi
I've a lot of shelly devices, works like a charm with Shelly MQTT.
When I now try add new devices (Shelly Bulb DUO, Shelly Bulb RGBW, Shelly 1PM), I get the error:
2022-07-04 08:45:44.244 Error: MQTT: 'onMessage' failed 'KeyError':'(-1,)'.
2022-07-04 08:45:44.244 Error: MQTT: Exception traceback:
2022-07-04 08:45:44.244 Error: MQTT: ----> Line 1351 in '/home/user/domoticz/plugins/Shelly_MQTT/plugin.py', function onMessage
2022-07-04 08:45:44.244 Error: MQTT: ----> Line 326 in '/home/user/domoticz/plugins/Shelly_MQTT/plugin.py', function onMessage
2022-07-04 08:45:44.244 Error: MQTT: ----> Line 176 in '/home/user/domoticz/plugins/Shelly_MQTT/mqtt.py', function onMessage
2022-07-04 08:45:44.244 Error: MQTT: ----> Line 1231 in '/home/user/domoticz/plugins/Shelly_MQTT/plugin.py', function onMQTTPublish
The old existing devices still working fine.
On MQTT Explorer the new devices also looks good.
Version: 2022.1
What could be the reason?
Thanks for your suggestions
Michi