If one or more inverter is not reachable the flag is_valid changes to zero. Disabled inverters are ignored.
15 lines
272 B
C++
15 lines
272 B
C++
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
#pragma once
|
|
|
|
#include <TimeoutHelper.h>
|
|
|
|
class MqttHandleInverterTotalClass {
|
|
public:
|
|
void init();
|
|
void loop();
|
|
|
|
private:
|
|
TimeoutHelper _lastPublish;
|
|
};
|
|
|
|
extern MqttHandleInverterTotalClass MqttHandleInverterTotal; |