mirror of
https://github.com/tbnobody/OpenDTU.git
synced 2026-01-03 19:33:47 +01:00
Feature: Turn off LED 1 if no inverters are enabled for polling
This means that e.g. at night, when polling at night is disabled, LED 1 will be turned off now.
This commit is contained in:
@@ -50,6 +50,9 @@ public:
|
||||
// True if at least one inverter is producing
|
||||
bool getIsAtLeastOneProducing();
|
||||
|
||||
// True if at least one inverter is enabled for polling
|
||||
bool getIsAtLeastOnePollEnabled();
|
||||
|
||||
// True if all enabled inverters are producing
|
||||
bool getIsAllEnabledProducing();
|
||||
|
||||
@@ -75,6 +78,7 @@ private:
|
||||
bool _isAtLeastOneProducing = false;
|
||||
bool _isAllEnabledProducing = false;
|
||||
bool _isAllEnabledReachable = false;
|
||||
bool _isAtLeastOnePollEnabled = false;
|
||||
};
|
||||
|
||||
extern DatastoreClass Datastore;
|
||||
Reference in New Issue
Block a user