4#ifndef SRC_SUPLA_PV_AFORE_H_
5#define SRC_SUPLA_PV_AFORE_H_
8#include <supla/sensor/one_phase_electricity_meter.h>
9#include <supla/network/client.h>
11#define LOGIN_AND_PASSOWORD_MAX_LENGTH 100
18 void readValuesFromDevice();
26 char loginAndPassword[LOGIN_AND_PASSOWORD_MAX_LENGTH];
28 unsigned _supla_int64_t totalGeneratedEnergy;
29 _supla_int_t currentPower;
35 bool dataFetchInProgress;
36 uint32_t connectionTimeoutMs;
Definition ip_address.h:15
bool iterateConnected()
Method called on each SuplaDevice iteration when device is connected and registered to Supla server o...
Definition afore.cpp:105
void iterateAlways()
Method called on each SuplaDevice iteration.
Definition afore.cpp:37
Definition one_phase_electricity_meter.h:11