grizzly v0.8.2 Grizzly.CommandClass.ThermostatSetpoint View Source
Module for generating the thermostat setpoint command
Link to this section Summary
Link to this section Types
Link to this type
setpoint_type()
View Source
setpoint_type()
View Source
setpoint_type() ::
:cooling
| :heating
| :furnace
| :dry_air
| :moist_air
| :auto_changeover
| :energy_save_heating
| :energy_save_cooling
| :away_heating
| :away_cooling
| :full_power
| byte()
setpoint_type() :: :cooling | :heating | :furnace | :dry_air | :moist_air | :auto_changeover | :energy_save_heating | :energy_save_cooling | :away_heating | :away_cooling | :full_power | byte()
Type for the different setpoint types.
Possible to send raw byte for a different setpoint type if
needed. Otherwise, :cooling
and :heating
atoms are the
explicitly supported setpoint types.
Link to this type
setpoint_value()
View Source
setpoint_value()
View Source
setpoint_value() :: non_neg_integer()
setpoint_value() :: non_neg_integer()
Link to this section Functions
Link to this function
decode_setpoint_type(byte)
View Source
decode_setpoint_type(byte)
View Source
decode_setpoint_type(byte()) :: setpoint_type()
decode_setpoint_type(byte()) :: setpoint_type()
Link to this function
encode_opts(opts) View Source
Link to this function
encode_setpoint_type(byte)
View Source
encode_setpoint_type(byte)
View Source
encode_setpoint_type(setpoint_type()) ::
{:ok, byte()} | {:error, :invalid_arg, any()}
encode_setpoint_type(setpoint_type()) :: {:ok, byte()} | {:error, :invalid_arg, any()}