|
3-phase PV router
|
The data of the IoT frame, for TeleInfo::writeFrameStep(). More...
#include <utils.h>
Static Public Member Functions | |
| static uint16_t | absenceCount () |
| static int16_t | loadOnPercent (uint8_t idx) |
| static uint8_t | lowestSampleSetsPerCycle () |
| static bool | offPeak () |
| static int16_t | phasePower (uint8_t idx) |
| static uint16_t | phaseVoltage (uint8_t idx) |
| static int16_t | power () |
| static int16_t | relayAverage () |
| static bool | relayOn (uint8_t idx) |
| static uint16_t | sampleSets () |
| static void | snapshot () |
| Takes the values that change during the frame (the tariff is in datalogOffPeak). | |
| static int16_t | temperature (uint8_t idx) |
| static bool | temperatureValid (uint8_t idx) |
Static Public Attributes | |
| static uint16_t | absenceCountAtDatalog { 0 } |
| static constexpr bool | DUAL_TARIFF { ::DUAL_TARIFF } |
| static constexpr uint8_t | LOAD_COUNT { NO_OF_DUMPLOADS } |
| static constexpr uint8_t | PHASE_COUNT { NO_OF_PHASES } |
| static constexpr uint8_t | RELAY_COUNT { static_cast< uint8_t >(relayDiverter.size()) } |
| static constexpr bool | RELAY_DIVERSION { ::RELAY_DIVERSION } |
| static uint16_t | relayStatesAtDatalog { 0 } |
| static constexpr uint8_t | TEMP_COUNT { TEMP_SENSOR_PRESENT ? static_cast< uint8_t >(tempSensors.size()) : uint8_t{ 0 } } |
The data of the IoT frame, for TeleInfo::writeFrameStep().
The frame is written a line per step, over the next passes of the main loop: about 300 characters at 9600 baud 7E1, 0.3 s, well within the datalog period (1 s at least). Each value must be that of the datalog period of the frame until its last step:
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
inlinestatic |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
|
inlinestatic |
|
staticconstexpr |