diff --git a/arduino-max485-epever-json-serial.ino b/arduino-max485-epever-json-serial.ino index b1b0234..e9c1f49 100644 --- a/arduino-max485-epever-json-serial.ino +++ b/arduino-max485-epever-json-serial.ino @@ -20,6 +20,7 @@ Notes: I took the register stuff from https://github.com/Bettapro/Solar-Tracer-Blynk-V3 Had to hack around e.g. the battOverallCurrent as I only got garbage when using the method from Bettapro. + Reading loadPoweredOn does not work atm (10.08.2023) Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. @@ -74,12 +75,9 @@ ModbusMaster node; // not needed... //float batVolt; //float batPercentage = 0.0; -float battChargeCurrent, battDischargeCurrent, battChargePower; +float battChargeCurrent, battDischargeCurrent, battChargePower, battOverallCurrent; float bvoltage, ctemp, btemp, bremaining, lpower, lcurrent, pvvoltage, pvcurrent, pvpower; float stats_today_pv_volt_min, stats_today_pv_volt_max; -uint16_t battOverallCurrent_raw; -int16_t battOverallCurrent_war; -float battOverallCurrent; bool rs485DataReceived = true; bool loadPoweredOn = true;