-
-
Notifications
You must be signed in to change notification settings - Fork 100
-
-
Notifications
You must be signed in to change notification settings - Fork 100
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
lastcode broke MQTT JSON structure #228
Comments
Can confirm the same issue on :
"lastcode":"��\f/7760 start: 2021.11.19 12:24, end: none" |
Switched to :
All works correctly but of course last code is not in json |
It’s a simple fix. I’ll look into it later this week and make a patch.
Thanks for reporting.
…On Tue, 30 Nov 2021 at 23:24, firegnom ***@***.***> wrote:
Switched to :
EMS-ESP Version
v3.2.1
All works correctly but of course last code is not in json
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#228 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJMO6EIYD6SOR2RHN3FDCTUOVFKXANCNFSM5JC4SZNQ>
.
|
it's because in commit #220 following condition has been removed. if (telegram->offset > 0 || telegram->message_length < 14) { For decoding last error code, we need 20 bytes starting from offset 0. So, now condition should look e.g. like this. Am I right? |
yes, that's it. We need those extra bytes to accommodate the extra data. Do you want to fix with a PR? |
@firegnom can you try the latest dev build so we can close this, if it works |
Hi, I can confirm It works now. I was running the latest version over the weekend all works now. Thank you! |
Isssue with the lastCode json format
Welcome, all I am very fresh in this community so sorry if this is already reported.
I am running version :
My new boiler is Buderus GB212 and i just installed EMS-ESP , after the first configuration all worked with no problem, but then I have started to see that in MQTT Explorer the ems-esp/boiler_data was not parsed correctly by the MQTT server .
it turned out that the issue was:
when I use lint on that message i get the error :
I have attached sample MQTT messages - sample.json.txt
System log, that I have gathered during restart - ALL.log
I would really appreciate the help here.
The text was updated successfully, but these errors were encountered: