178 { { 0x28, 0xBE, 0x41, 0x6B, 0x09, 0x00, 0x00, 0xA4 },
179 { 0x28, 0x1B, 0xD7, 0x6A, 0x09, 0x00, 0x00, 0xB7 } } };
The override pins, as in config.h: each pin with the targets it forces.
The relays, as in config.h: the sliding average and the settings of each relay.
The rotation groups, as in config.h: the loads that take turns at the top of the priority list,...
The scheduled boosts, as in config.h: each window with the targets it forces.
The temperature sensors, as in config.h: the pin of the bus and the address of each sensor.
constexpr uint8_t loadPrioritiesAtStartup[NO_OF_DUMPLOADS]
constexpr bool ROUTER_OFF_PIN_PRESENT
constexpr ScheduledBoosts scheduledBoosts
constexpr bool RELAY_DIVERSION
constexpr bool OVERRIDE_PIN_PRESENT
constexpr uint32_t ROTATION_AFTER_SECONDS
constexpr uint8_t dualTariffPin
constexpr TemperatureSensing temperatureSensing
constexpr PcbVersion PCB_VERSION
constexpr RelayEngine relays
constexpr uint8_t physicalLoadPin[NO_OF_DUMPLOADS]
constexpr uint8_t RELAY_FILTER_DELAY
constexpr bool RF_LOGGING_PRESENT
constexpr bool DUAL_TARIFF
constexpr uint8_t diversionPin
constexpr OverridePins overridePins
constexpr bool CALIBRATION_MODE
constexpr SerialOutputType SERIAL_OUTPUT_TYPE
constexpr bool ENABLE_DEBUG
constexpr RotationGroups rotationGroups
constexpr uint8_t NO_OF_DUMPLOADS
constexpr uint8_t ul_OFF_PEAK_DURATION
constexpr bool TEMP_SENSOR_PRESENT
constexpr int16_t iTemperatureThreshold
constexpr uint8_t routerOffPin
constexpr bool WATCHDOG_PIN_PRESENT
constexpr uint8_t BOOST_TEMP_SENSOR
constexpr bool DIVERSION_PIN_PRESENT
constexpr uint8_t rotationPin
constexpr uint8_t watchDogPin
What config.h is written with: its types, constants and helpers.
constexpr BoostStart BEFORE_END(const Minutes m)
A start m before the end of the off-peak period.
constexpr BoostLength FOR(const Minutes m)
A boost lasting m.
constexpr uint8_t ALL_LOADS()
Every load, local and remote.
constexpr uint8_t LOAD(const uint8_t loadNum)
Load loadNum of physicalLoadPin[], local or remote (0, no load, if out of range).
constexpr uint8_t local(uint8_t pin)
Declares a load driven locally by the router.
#define MINUTES(value)
A compile-time number of minutes, as an integral_constant.
#define HOURS(value)
A compile-time number of hours, as MINUTES().
constexpr uint8_t unused_pin