This commit is contained in:
TraYali 2024-04-18 18:27:31 +02:00
parent 582b1bcc93
commit 79f8ee4944
2 changed files with 20 additions and 1 deletions

View file

@ -13,7 +13,7 @@ class Microinverter {
private:
modbus_t *modbus;
Sunspec sunspec;
// Sunspec sunspec;
int startAddress;
@ -43,6 +43,10 @@ class Microinverter {
void setStatus(std::vector<std::pair<int, uint16_t>> portsToSet, std::string statusName);
void setStatusWholeMicroinverter(uint16_t value, std::string statusName);
float getCurrentPower();
int getCurrentOnOff();
};
#endif