When adding MQTT to Home Assistant, the following message appears when Home Assistant is trying to autoconfigure:
Tue May 15 2018 12:17:05 GMT+0200 (CEST)
Can't decode payload b'33 \xb0C' on homeassistant/health/climate/temperature with encoding utf-8
Is this an error in Robonect FW or in Home Assistant?
Aufgrund derzeit hohem Spamaufkommens werden neue Nutzer sehr restriktiv behandelt. Nach kurzer "Bewährungszeit" hat man als normaler Nutzer weitreichende Rechte und benötigt auch kein Captcha mehr.
.
Nutzer, die sich danach dennoch als Spammer oder Trolle erweisen, können jederzeit wieder auf diesen Status zurückgesetzt oder gebannt werden.
Dasselbe gilt für Versuche, politische Überzeugungen kund zu tun, egal aus welcher Richtung diese kommen.
.
. Achtung! Verwendet bitte für aktuelle Mäher bzw. falls ihr die Firmware eures Mähers kürzlich aktualisiert habt, den aktuellen Release-Candidate der Robonect-Firmware: https://fw.robonect.de/?latest Diese wird in ein paar Tagen als offizielle Firmware verfügbar sein. (Stand: 03.04.2024)
UTF8 error connecting MQTT to Home Assistant
- Andreas
- Forum-Nutzer
- Beiträge: 31
- Registriert: Mo 10. Apr 2017, 20:29
- Wohnort: Harrislee
- Mäher: Gardena R70Li
- Firmware des Mähers (MSW): MSW 5.xx.xx
- Herstellungsjahr: 2015
- Robonect-Modul: Robonect Hx (Rev.3)
- Robonect Firmware: V1.0 Beta 7a (Bootloader v0.4)
- Kontaktdaten:
Re: UTF8 error connecting MQTT to Home Assistant
Just a guess, but consider to deactivate the units and only send raw numbers, it looks like there is the "°C" information added right beyond the value, you are interested in.
Vielen Dank und viele Grüße,
Dipl.-Inform. (FH) Andreas Link
Robonect Integration in OpenHAB2 via MQTT
Dipl.-Inform. (FH) Andreas Link
Robonect Integration in OpenHAB2 via MQTT
-
- Administrator
- Beiträge: 2907
- Registriert: Di 19. Jan 2016, 18:34
- Wohnort: Kiel
- Mäher: Gardena SILENO City 500
- Firmware des Mähers (MSW): MSW 11.xx.xx
- Herstellungsjahr: 2017 (Modell 2018)
- Robonect-Modul: Robonect Hx (Rev.5)
- Robonect Firmware: stets die Allerneuste :-)
- hat sich bedankt: 1 Mal
- wurde gedankt: 60 Male
- Kontaktdaten:
Re: UTF8 error connecting MQTT to Home Assistant
I think Andreas is right.
@Andreas: Should i remove the "°" or should I encode it UTF8?
@Andreas: Should i remove the "°" or should I encode it UTF8?
Werbefläche zu vermieten.
- Andreas
- Forum-Nutzer
- Beiträge: 31
- Registriert: Mo 10. Apr 2017, 20:29
- Wohnort: Harrislee
- Mäher: Gardena R70Li
- Firmware des Mähers (MSW): MSW 5.xx.xx
- Herstellungsjahr: 2015
- Robonect-Modul: Robonect Hx (Rev.3)
- Robonect Firmware: V1.0 Beta 7a (Bootloader v0.4)
- Kontaktdaten:
Re: UTF8 error connecting MQTT to Home Assistant
I think a conversation to UTF8 is in general a good idea for data transported via MQTT, but regarding the initial problem of @magnushq it should be sufficient so simply deactivate the hook as marked in the following picture (sorry I cannot decrease the presented size):
This will - as a result - only send the plain numbers to the MQTT broker aka Home Assistant and I assume, then it will be happy. --> @magnushq to verify
Vielen Dank und viele Grüße,
Dipl.-Inform. (FH) Andreas Link
Robonect Integration in OpenHAB2 via MQTT
Dipl.-Inform. (FH) Andreas Link
Robonect Integration in OpenHAB2 via MQTT