From 6a72853b7708f60f13c0fa2714087c3ba04301ce Mon Sep 17 00:00:00 2001 From: Marcus Date: Thu, 10 Aug 2023 02:40:56 +0200 Subject: [PATCH] note and removed old stuff --- arduino-max485-epever-json-serial.ino | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) 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;