57 std::pair<uint8_t, uint8_t>
table()
const {
*brief create JSON pointer *sa reference_tokens const string_t const string_t & b
std::optional< PtRoleRef > find_pt_role(const Config &cfg, const std::string &role)
Resolve one role by its canonical config name.
std::string board_key_of(const BoardConfig &b)
The board's section name minus a leading "boards.", e.g.
std::vector< PtRoleRef > pt_role_tables(const Config &cfg)
Every PT sensor role declared by an enabled PT board, in board-declaration order, then every PT input...
Motorized ball valve position: raw ADC counts -> % open.
Where a named PT sensor role lives: which board, which channel, and which Elodin table its calibrated...
int channel
Connector channel on that board, 1-based, straight from [sensor_roles_<key>]; the AIN number for a T7...
const BoardConfig * board
The ESP32 PT board declaring this role.
const T7Board * t7
The LabJack T7 this PT input is on (a [[boards.
uint8_t board_number
Elodin slot, BoardConfig::slot() — board_id % 10, with 0 meaning 10.
std::pair< uint8_t, uint8_t > table() const
std::string role
Canonical role name as config spells it, e.g.
std::string board_key
The board's section name with the "boards." prefix stripped, e.g.
uint8_t table_hi
The calibrated-PT table this sensor publishes on: {0x20, (slot-1)*0x20 + 0x10 + channel}...