note and removed old stuff

This commit is contained in:
Marcus 2023-08-10 02:40:56 +02:00
parent 2ba722b1bc
commit 6a72853b77

View file

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