Home IO Control
ESPHome add-on for IO-Homecontrol devices
Loading...
Searching...
No Matches
proto_heating_profiles.cpp File Reference

The heating profile table and its lookups. More...

#include "proto_heating_profiles.h"
#include "proto_device_types.h"
#include "proto_sizes.h"
#include <algorithm>
#include <cmath>
#include <iterator>
Include dependency graph for proto_heating_profiles.cpp:

Go to the source code of this file.

Namespaces

namespace  esphome
namespace  esphome::home_io_control

Functions

const HeatingProfile * esphome::home_io_control::find_heating_profile (DeviceType type, uint8_t subtype)
 Look up the heating profile for a (type, subtype).
bool esphome::home_io_control::device_uses_heating_registers (DeviceType type, uint8_t subtype)
 Does a climate entity drive this device over the private register protocol?
bool esphome::home_io_control::device_uses_heating_levels (DeviceType type, uint8_t subtype)
 Does a climate entity drive this device with heating levels?
bool esphome::home_io_control::device_uses_heating_temperature (DeviceType type, uint8_t subtype)
 Does a climate entity drive this device with a temperature or an alias in the main parameter?
bool esphome::home_io_control::encode_temperature_main_parameter (float celsius, float min_c, float max_c, uint16_t &main_parameter)
 Encode a temperature as a main parameter over an encoding range.
bool esphome::home_io_control::decode_temperature_main_parameter (uint16_t main_parameter, float min_c, float max_c, float &celsius)
 Decode a main parameter as a temperature over an encoding range (the inverse of encode_temperature_main_parameter()).
bool esphome::home_io_control::decode_heating_level (uint16_t main_parameter, uint8_t &level)
 Read a heating level out of a main parameter.
const HeatingObservedState * esphome::home_io_control::find_observed_state (const HeatingProfile &profile, uint8_t wire)
 Find what a device-reported wire value shows on the card.

Detailed Description

The heating profile table and its lookups.

Definition in file proto_heating_profiles.cpp.