hassio-addons / addon-appdaemon

AppDaemon4 - Home Assistant Community Add-ons
https://addons.community
MIT License
141 stars 45 forks source link

Appdaemon warning in the log: Unable to decode MQTT message #313

Closed vaibhav2912 closed 7 months ago

vaibhav2912 commented 7 months ago

Problem/Motivation

Hi all,

I don't know if the add-on github is the right place for this but I'l start here to see if any home assistant users have experienced this before. I am using Appdaemon on home assistant and recently I started getting this warning. I tried searching online to see if anyone had the same issue and there are reported issues about this exact error but none apply to me (as far as I can see(.

Has anyone seen same warning ?

What can I do to debug this and find the root cause ?

Expected behavior

No error messages

Actual behavior

2023-12-08 23:27:48.312498 INFO MQTT: Unable to decode MQTT message 2023-12-08 23:27:48.313944 ERROR MQTT: Unable to decode MQTT message, with Traceback: Traceback (most recent call last): File "/usr/lib/python3.11/site-packages/appdaemon/plugins/mqtt/mqttplugin.py", line 271, in mqtt_on_message payload = payload.decode() ^^^^^^^^^^^^^^^^ UnicodeDecodeError: 'utf-8' codec can't decode byte 0x89 in position 0: invalid start byte

Steps to reproduce

Happens randomly as far as I can check

vaibhav2912 commented 7 months ago

Closing this as I commented on open issue for Appdaemon.

Commented on https://github.com/AppDaemon/appdaemon/issues/1832