-
-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invalid characters in JSON #905
Comments
Indeed, thanks for the thorough debug! |
Hy, i updated from 2.3.8 to 2.4.0 on my esp8266 an now i get the message json im Homeassistant mode with a beginning " ’b ", maybe its same to this Problem: Nachricht 161 empfangen auf SmartMeter/flo/power um 11:56: |
Yes, that's the same issue. The |
I hope this will fix the issue: |
Didn't help:
|
How about now: esp32s3.zip |
The JSON is valid now, but
|
Did you check (Telnet debug / https://www.gurux.fi/GuruxDLMSTranslator) what the meter sends as ID? |
It works with 2.3.7 and reports the serial |
Unfortunately, the issue #867 is still present in 2.4.0. I traced it on my Kaifa meter:
At first ID extraction works correctly:
amsreader-firmware/lib/MeterCommunicators/src/IEC6205675.cpp
Lines 729 to 732 in 20de294
But then it gets overwritten with the GCM system title: (probably intended as a fallback?)
amsreader-firmware/lib/MeterCommunicators/src/IEC6205675.cpp
Lines 902 to 904 in 20de294
And since the 8-byte GCM system title of my Kaifa meter is not ASCII, we end up with JSON breaking characters in the frontend, MQTT, etc:
The text was updated successfully, but these errors were encountered: