|
Home IO Control
ESPHome add-on for IO-Homecontrol devices
|
Pure codec for IO-Homecontrol 2W heating/climate functions (CMD_WRITE_PRIVATE 0x20). More...
Go to the source code of this file.
Namespaces | |
| namespace | esphome |
| namespace | esphome::home_io_control |
Functions | |
| const char * | esphome::home_io_control::heating_function_name (HeatingFunction fn) |
| Stable lowercase name for a heating function ("power_on", "set_temperature", ...). | |
| size_t | esphome::home_io_control::encode_heating_payload (HeatingFunction fn, float value, uint8_t out[HEATING_PAYLOAD_MAX_SIZE]) |
| Encode one heating function into a CMD_WRITE_PRIVATE (0x20) payload. | |
Pure codec for IO-Homecontrol 2W heating/climate functions (CMD_WRITE_PRIVATE 0x20).
Byte layout cited throughout to the iohomecontrol reference implementation's Cozy 2W device code; the direction/register bytes and the 16-bit little-endian tenths-of-a-degree setpoint encoding are from the iown-homecontrol project's Atlantic/Thermor register map.
Definition in file proto_heating.cpp.