MQTT Discovery hickup Topic is solved

For devices supporting the Auto Discovery feature. Like ZWaveJS2MQTT, Zigbee2MQTT.

Moderator: leecollings

Post Reply
User avatar
rolandtwilt
Posts: 74
Joined: Monday 05 October 2020 18:55
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

MQTT Discovery hickup

Post by rolandtwilt »

Good morning smart people,

I get the error message below and I'm looking for a solution but can't find an explanation.
Anyone know what's going on here?
logbook Domoticz:

2022-03-28 10:10:17.717 Error: MQTT Discovery: Call to function 'onMessage' failed, exception details:
2022-03-28 10:10:17.720 Error: MQTT Discovery: Traceback (most recent call last):
2022-03-28 10:10:17.720 Error: MQTT Discovery: File "/home/pi/domoticz/plugins/domoticz_mqtt_discovery/plugin.py", line 392, in onMQTTPublish
2022-03-28 10:10:17.720 Error: MQTT Discovery: message = json.loads(rawmessage.decode('utf8'))
2022-03-28 10:10:17.720 Error: MQTT Discovery: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb5 in position 264: invalid start byte
2022-03-28 10:10:17.720 Error: MQTT Discovery:
2022-03-28 10:10:17.720 Error: MQTT Discovery: During handling of the above exception, another exception occurred:
2022-03-28 10:10:17.720 Error: MQTT Discovery:
2022-03-28 10:10:17.720 Error: MQTT Discovery: Traceback (most recent call last):
2022-03-28 10:10:17.720 Error: MQTT Discovery: File "/home/pi/domoticz/plugins/domoticz_mqtt_discovery/plugin.py", line 1116, in onMessage
2022-03-28 10:10:17.720 Error: MQTT Discovery: _plugin.onMessage(Connection, Data)
2022-03-28 10:10:17.720 Error: MQTT Discovery: File "/home/pi/domoticz/plugins/domoticz_mqtt_discovery/plugin.py", line 379, in onMessage
2022-03-28 10:10:17.720 Error: MQTT Discovery: self.mqttClient.onMessage(Connection, Data)
2022-03-28 10:10:17.720 Error: MQTT Discovery: File "/home/pi/domoticz/plugins/domoticz_mqtt_discovery/plugin.py", line 151, in onMessage
2022-03-28 10:10:17.720 Error: MQTT Discovery: self.mqttPublishCb(topic, Data['Payload'])
2022-03-28 10:10:17.720 Error: MQTT Discovery: File "/home/pi/domoticz/plugins/domoticz_mqtt_discovery/plugin.py", line 395, in onMQTTPublish
2022-03-28 10:10:17.720 Error: MQTT Discovery: message = rawmessage.decode('utf8')
2022-03-28 10:10:17.720 Error: MQTT Discovery: UnicodeDecodeError: 'utf-8' codec can't decode byte 0xb5 in position 264: invalid start byte

please help
User avatar
waltervl
Posts: 5904
Joined: Monday 28 January 2019 18:48
Target OS: Linux
Domoticz version: 2024.7
Location: NL
Contact:

Re: MQTT Discovery hickup

Post by waltervl »

You are using the mqtt_discover python plugin, not the new MQTT Autodiscover hardware https://www.domoticz.com/wiki/MQTT#Add_ ... Gateway.22

So if you want support for this plugin go to the topic viewtopic.php?t=21918
or make an issue in the github repository (if not already created) https://github.com/emontnemery/domoticz_mqtt_discovery
Domoticz running on Udoo X86 (on Ubuntu)
Devices/plugins: ZigbeeforDomoticz (with Xiaomi, Ikea, Tuya devices), Nefit Easy, Midea Airco, Omnik Solar, Goodwe Solar
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest