emsesp/EMS-ESP

Home assistant can not decode payload

hvanoch opened this issue · 1 comments

Current EMS ESP version 2.2.0:

It seems home assistant can not parse following json string

2021-04-15 17:03:57 WARNING (MainThread) [homeassistant.components.mqtt] Can't decode payload b'{"heatingActive":"on","tapwaterActive":"on","selFlowTemp":80,"selBurnPow":100,"curBurnPow":100,"pumpMod":0,"outdoorTemp":9.4,"curFlowTemp":83.4,"boilTemp":82.5,"exhaustTemp":86.5,"burnGas":"on",
"flameCurr":51.6,"heatPump":"off","fanWork":"on","ignWork":"off","heatingActivated":"on","heatingTemp":90,"pumpModMax":100,"pumpModMin":100,"pumpDelay":5,"burnMinPeriod":10,"burnMinPower":0,"burnMaxPower":100,
"boilHystOn":-6,"boilHystOff":6,"burnStarts":51703,"burnWorkMin":179918,"heatWorkMin":160086,"UBAuptime":2315189,"serviceCode":"\xf0H","serviceCodeNumber":0,"lastCode":"6L(517) 11.12.2019 07:55",
"maintenanceMessage":" ","maintenance":"17.01.2022"}' on ems-esp/boiler_data with encoding utf-8 (for <Job HassJobType.Callback <function MqttSensor._subscribe_topics.<locals>.message_received at `0x7f74ad649940>>)

I guess this has to do with "serviceCode":"\xf0H"
Is this something home assistant should be able to handle? Are is the JSON being generated wrong?

I think this is related to #686.

I will investigate if updating to dev helps