I'm encountering numerous error messages within Home Assistant, particularly this one: ERROR (Thread-11 (_thread_main)) [custom_components.ecoflow_cloud.mqtt.ecoflow_mqtt] UnicodeDecodeError: 'utf-8' codec can't decode byte 0x90 in position 4.
To address this, I've resolved the issue in my installation by making a modification to ecoflow_mqtt.py as follows:
On line 252:
Changed from:
payload = message.payload.decode("utf-8")
To:
payload = message.payload.decode("utf-8", errors='ignore')
I'm curious if others have experienced this issue and if there's a potential solution by modifying the code.
Hello,
I'm encountering numerous error messages within Home Assistant, particularly this one: ERROR (Thread-11 (_thread_main)) [custom_components.ecoflow_cloud.mqtt.ecoflow_mqtt] UnicodeDecodeError: 'utf-8' codec can't decode byte 0x90 in position 4.
To address this, I've resolved the issue in my installation by making a modification to ecoflow_mqtt.py as follows:
On line 252: Changed from: payload = message.payload.decode("utf-8") To: payload = message.payload.decode("utf-8", errors='ignore')
I'm curious if others have experienced this issue and if there's a potential solution by modifying the code.
My Ecoflow-Cloud Version is 0.13.1.