|
3-phase PV router
|
The settings of one relay, as in config.h: { pin, surplus, import, minON, minOFF }. More...
#include <config_types.h>
Public Member Functions | |
| constexpr | RelaySetting (const uint8_t p, const int16_t surplus=1000, const int16_t import=200, const uint16_t on=5, const uint16_t off=5) |
A relay on p; what is left out takes its default. | |
Public Attributes | |
| int16_t | importThreshold |
| uint16_t | minOFF |
| uint16_t | minON |
| uint8_t | pin |
| int16_t | surplusThreshold |
The settings of one relay, as in config.h: { pin, surplus, import, minON, minOFF }.
Thresholds in W, minimum times in minutes. Left out, they take the defaults of RelayLogic::Relay: 1000 W, 200 W, 5 and 5 minutes.
Definition at line 623 of file config_types.h.
|
inlineconstexpr |
A relay on p; what is left out takes its default.
Definition at line 632 of file config_types.h.
| int16_t RelaySetting::importThreshold |
import in W to turn it OFF (negative: surplus below which it turns OFF)
Definition at line 627 of file config_types.h.
| uint16_t RelaySetting::minOFF |
minimum OFF time, in minutes
Definition at line 629 of file config_types.h.
| uint16_t RelaySetting::minON |
minimum ON time, in minutes
Definition at line 628 of file config_types.h.
| uint8_t RelaySetting::pin |
the pin of the relay
Definition at line 625 of file config_types.h.
| int16_t RelaySetting::surplusThreshold |
surplus in W to turn the relay ON
Definition at line 626 of file config_types.h.