Skip to content
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

PowerMeter: handle JSON string values #1105

Merged
merged 2 commits into from
Jul 15, 2024

Conversation

schlimmchen
Copy link
Member

@schlimmchen schlimmchen commented Jul 13, 2024

Gracefully handle numeric values that are disguised as a string in a JSON encoded message.

Closes #1104.

@schlimmchen
Copy link
Member Author

@oszi-xx and @martind40 Care to test this fix? Use the firmware compiled as part of this PR's build run.

@martind40
Copy link

martind40 commented Jul 14, 2024

@schlimmchen ; HTTP(s)&JSON works now great. Thx for the great work :-)
Ps: The values which are displayed at the "Live-Ansicht" , if I choose MQTT, still not real values. But now I see values.

Pps: what do you think, till when will you be able to implement in the Firmware g372fe1d the OTA funktion? Because then I will flash it to my productive system, too.
Thanks in advance.

@schlimmchen schlimmchen merged commit 926a0b9 into development Jul 15, 2024
10 checks passed
@schlimmchen schlimmchen deleted the powermeter-json-string-values branch July 15, 2024 15:41
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new discussion or issue for related concerns.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 15, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

HTTP+JSON PowerMeter: Strings not accepted
2 participants