From 24a0ada9b190518b31a584aa784647f5528f9693 Mon Sep 17 00:00:00 2001 From: Mathieu Carbou Date: Sun, 26 Jan 2025 22:13:56 +0100 Subject: [PATCH] mathieucarbou/MycilaJSY @ 13.0.4 --- platformio.ini | 3 ++- src/yasolr_jsy_remote.cpp | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/platformio.ini b/platformio.ini index 01b13a57..1dc19157 100644 --- a/platformio.ini +++ b/platformio.ini @@ -67,7 +67,8 @@ lib_deps = mathieucarbou/MycilaESPConnect @ 7.1.1 mathieucarbou/MycilaEasyDisplay @ 3.1.0 mathieucarbou/MycilaHADiscovery @ 6.0.1 - mathieucarbou/MycilaJSY @ 13.0.3 + ; mathieucarbou/MycilaJSY @ 13.0.4 + https://github.com/mathieucarbou/MycilaJSY/archive/refs/tags/v13.0.4.zip mathieucarbou/MycilaLogger @ 3.2.1 mathieucarbou/MycilaMQTT @ 6.0.5 mathieucarbou/MycilaNTP @ 6.0.5 diff --git a/src/yasolr_jsy_remote.cpp b/src/yasolr_jsy_remote.cpp index 0b15fde4..f1e2f6b3 100644 --- a/src/yasolr_jsy_remote.cpp +++ b/src/yasolr_jsy_remote.cpp @@ -78,7 +78,7 @@ void onData(AsyncUDPPacket packet) { .power = doc["channel1"]["active_power"] | NAN, .powerFactor = doc["channel1"]["power_factor"] | NAN, .resistance = doc["channel1"]["resistance"] | NAN, - .thdi = doc["channel1"]["thdi"] | NAN, + .thdi = doc["channel1"]["thdi_0"] | NAN, .voltage = doc["channel1"]["voltage"] | NAN, }); break;