* moved mqtt loop out of checkTicker as mentioned in #49

* added irritation and efficiency calculations (** EPPROM CHANGE - YOUR SETTINGS MAYBE BECOME CURRUPT! **)
* improved style
This commit is contained in:
lumapu 2022-05-22 20:35:45 +02:00
parent 8238e90903
commit 7844ea2946
11 changed files with 180 additions and 28 deletions

View file

@ -38,9 +38,15 @@
// maximum buffer length of packet received / sent to RF24 module
#define MAX_RF_PAYLOAD_SIZE 32
// maximum total payload size
// maximum total payload buffers (must be greater than the number of received frame fragments)
#define MAX_PAYLOAD_ENTRIES 4
// number of seconds since last successful response, before inverter is marked inactive
#define INACT_THRES_SEC 300
// threshold of minimum power on which the inverter is marked as inactive
#define INACT_PWR_THRESH 3
// changes the style of "/setup" page, visualized = nicer
#define LIVEDATA_VISUALIZED