mirror of
https://github.com/lumapu/ahoy.git
synced 2025-05-10 07:26:38 +02:00
active power limit added via mqtt and setup page
This commit is contained in:
parent
a2c44e1ce8
commit
7ed5a0a9e1
5 changed files with 116 additions and 35 deletions
|
@ -70,7 +70,8 @@ class Inverter {
|
|||
byteAssign_t* assign; // type of inverter
|
||||
uint8_t listLen; // length of assignments
|
||||
uint16_t powerLimit; // limit power output
|
||||
bool powerLimitChange; // true if change needed
|
||||
uint8_t devControlCmd; // carries the requested cmd
|
||||
bool devControlRequest; // true if change needed
|
||||
serial_u serial; // serial number as on barcode
|
||||
serial_u radioId; // id converted to modbus
|
||||
uint8_t channels; // number of PV channels (1-4)
|
||||
|
@ -82,7 +83,7 @@ class Inverter {
|
|||
Inverter() {
|
||||
ts = 0;
|
||||
powerLimit = -1; // 65535 W Limit -> unlimited
|
||||
powerLimitChange = false;
|
||||
devControlRequest = false;
|
||||
}
|
||||
|
||||
~Inverter() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue