|
3-phase PV router
|
Router configuration: loads, relays, control pins and features. More...
#include "config_types.h"

Go to the source code of this file.
Variables | |
| constexpr uint8_t | BOOST_TEMP_SENSOR { 0 } |
| constexpr bool | CALIBRATION_MODE { false } |
| constexpr bool | DIVERSION_PIN_PRESENT { false } |
| constexpr uint8_t | diversionPin { unused_pin } |
| constexpr bool | DUAL_TARIFF { false } |
| constexpr uint8_t | dualTariffPin { unused_pin } |
| constexpr bool | ENABLE_DEBUG { true } |
| constexpr int16_t | iTemperatureThreshold { 100 } |
| constexpr uint8_t | loadPrioritiesAtStartup [NO_OF_DUMPLOADS] { 0, 1, 2 } |
| constexpr uint8_t | NO_OF_DUMPLOADS { 3 } |
| constexpr bool | OVERRIDE_PIN_PRESENT { true } |
| constexpr OverridePins | overridePins { { { 4, ALL_LOADS() } } } |
| constexpr PcbVersion | PCB_VERSION { PcbVersion::NEW } |
| constexpr uint8_t | physicalLoadPin [NO_OF_DUMPLOADS] |
| constexpr bool | RELAY_DIVERSION { false } |
| constexpr uint8_t | RELAY_FILTER_DELAY { 2 } |
| constexpr RelayEngine | relays |
| constexpr bool | RF_LOGGING_PRESENT { false } |
| constexpr uint32_t | ROTATION_AFTER_SECONDS { 8UL * 3600UL } |
| constexpr RotationGroups | rotationGroups {} |
| constexpr | RotationModes { RotationModes::OFF } |
| constexpr uint8_t | rotationPin { unused_pin } |
| constexpr bool | ROUTER_OFF_PIN_PRESENT { false } |
| constexpr uint8_t | routerOffPin { unused_pin } |
| constexpr ScheduledBoosts | scheduledBoosts { { { BEFORE_END( integral_constant< uint16_t, ((3) * 60) > {} ), FOR( integral_constant< uint16_t, ((2) * 60) > {} ), { LOAD(0) } } } } |
| constexpr SerialOutputType | SERIAL_OUTPUT_TYPE = SerialOutputType::IoT |
| constexpr bool | TEMP_SENSOR_PRESENT { false } |
| constexpr TemperatureSensing | temperatureSensing |
| constexpr uint8_t | ul_OFF_PEAK_DURATION { 8 } |
| constexpr bool | WATCHDOG_PIN_PRESENT { false } |
| constexpr uint8_t | watchDogPin { unused_pin } |
Router configuration: loads, relays, control pins and features.
Edit it by hand, or create it with the configurator: https://fredm67.github.io/Mk2PVRouter/configurateur/
Settings only: no #include line but the one below, nothing computed. The firmware builds what it needs from these settings in config_derived.h.
Definition in file config.h.
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
the load map: one packed entry per dump load
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
config for relay diversion with optimized EWMA filtering
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |
list of temperature sensor Addresses
|
inlineconstexpr |
|
inlineconstexpr |
|
inlineconstexpr |