hoylabs / OpenDTU-OnBattery

Software for ESP32 to talk to Hoymiles/TSUN/Solenso Inverters, VE.Direct devices, battery management systems, and related peripherals
GNU General Public License v2.0
301 stars 63 forks source link

PowerMeter: handle JSON string values #1105

Closed schlimmchen closed 2 months ago

schlimmchen commented 2 months ago

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

Closes #1104.

schlimmchen commented 2 months ago

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

martind40 commented 2 months ago

@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.

github-actions[bot] commented 1 month ago

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.