|
Home IO Control
ESPHome add-on for IO-Homecontrol devices
|
Pure codec for the private register protocol of 2W heaters (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", ...). | |
| bool | esphome::home_io_control::heating_function_is_writable (HeatingFunction fn) |
| Whether the register behind a function can be written. | |
| bool | esphome::home_io_control::heating_function_is_readable (HeatingFunction fn) |
| Whether the register behind a function can be read. | |
| size_t | esphome::home_io_control::encode_heating_read (HeatingFunction fn, uint8_t out[HEATING_PAYLOAD_MAX_SIZE]) |
| Encode a read ("get") of one register into a CMD_WRITE_PRIVATE (0x20) payload. | |
| size_t | esphome::home_io_control::encode_heating_write (HeatingFunction fn, float value, uint8_t out[HEATING_PAYLOAD_MAX_SIZE]) |
| Encode a write ("set") of one register into a CMD_WRITE_PRIVATE (0x20) payload. | |
| size_t | esphome::home_io_control::encode_heating_payload (HeatingFunction fn, float value, uint8_t out[HEATING_PAYLOAD_MAX_SIZE]) |
| Encode the function the heating_control action runs: a read for a read-only register, a write for every other. | |
| bool | esphome::home_io_control::decode_heating_reply (const IoFrame &reply, HeatingFunction fn, float &value) |
| Decode the value a heater answered a register read or write with. | |
Pure codec for the private register protocol of 2W heaters (CMD_WRITE_PRIVATE 0x20).
Definition in file proto_heating.cpp.