Home IO Control
ESPHome add-on for IO-Homecontrol devices
Loading...
Searching...
No Matches
esphome::home_io_control::LimitationStatus Struct Reference

One decoded CMD_LIMITATION_STATUS_RESP payload. More...

#include <proto_codecs.h>

Collaboration diagram for esphome::home_io_control::LimitationStatus:

Public Attributes

uint8_t parameter_id {0}
 data[0]; LIMITATION_PARAM_MP for the main parameter.
uint16_t value_raw {0}
 data[1..2], big-endian, position coding (STATUS_POS_MAX = 100 %).
uint8_t originator {0}
 data[3], Command Originator that imposed the limit (ORIGINATOR_*).
uint8_t time_raw {0}
 data[4], remaining-time code; see limitation_time_seconds().

Detailed Description

One decoded CMD_LIMITATION_STATUS_RESP payload.

The value layout is confirmed: it fits the replies of a VELUX window dry (0 % minimum, 100 % maximum) and under rain (93 % minimum), and the limitation status of the KLF 200 API specification v3.18, section 10.5.4 (issue #98). The originator and remaining-time bytes read 00 in every reply captured so far, rain included, so their meaning is still an assumption. A Somfy awning answers with another value in the first byte, which decodes as a non-main parameter.

Definition at line 375 of file proto_codecs.h.

Member Data Documentation

◆ originator

uint8_t esphome::home_io_control::LimitationStatus::originator {0}

data[3], Command Originator that imposed the limit (ORIGINATOR_*).

Definition at line 378 of file proto_codecs.h.

◆ parameter_id

uint8_t esphome::home_io_control::LimitationStatus::parameter_id {0}

data[0]; LIMITATION_PARAM_MP for the main parameter.

Definition at line 376 of file proto_codecs.h.

◆ time_raw

uint8_t esphome::home_io_control::LimitationStatus::time_raw {0}

data[4], remaining-time code; see limitation_time_seconds().

Definition at line 379 of file proto_codecs.h.

◆ value_raw

uint16_t esphome::home_io_control::LimitationStatus::value_raw {0}

data[1..2], big-endian, position coding (STATUS_POS_MAX = 100 %).

Definition at line 377 of file proto_codecs.h.


The documentation for this struct was generated from the following file: