ESPHome 2025.5.0
Loading...
Searching...
No Matches
esphome::tormatic Namespace Reference

Data Structures

struct  CommandRequestReply
 
struct  MessageHeader
 
struct  StatusReply
 
struct  StatusRequest
 
class  Tormatic
 

Enumerations

enum  MessageType : uint16_t { STATUS = 0x0104 , COMMAND = 0x0106 }
 
enum  StatusType : uint16_t { GATE = 0x0A , UNKNOWN = 0x0B }
 
enum  GateStatus : uint8_t {
  PAUSED , CLOSED , VENTILATING , OPENED ,
  OPENING , CLOSING
}
 

Functions

const char * message_type_to_str (MessageType t)
 
struct esphome::tormatic::MessageHeader __attribute__ ((packed))
 
CoverOperation gate_status_to_cover_operation (GateStatus s)
 
const char * gate_status_to_str (GateStatus s)
 
template<typename T >
std::vector< uint8_t > serialize (T obj)
 

Variables

enum esphome::tormatic::StatusType __attribute__
 

Enumeration Type Documentation

◆ GateStatus

Enumerator
PAUSED 
CLOSED 
VENTILATING 
OPENED 
OPENING 
CLOSING 

Definition at line 110 of file tormatic_protocol.h.

◆ MessageType

Enumerator
STATUS 
COMMAND 

Definition at line 53 of file tormatic_protocol.h.

◆ StatusType

Enumerator
GATE 
UNKNOWN 

Definition at line 103 of file tormatic_protocol.h.

Function Documentation

◆ __attribute__()

struct esphome::tormatic::MessageHeader esphome::tormatic::__attribute__ ( (packed) )

◆ gate_status_to_cover_operation()

CoverOperation esphome::tormatic::gate_status_to_cover_operation ( GateStatus s)
inline

Definition at line 119 of file tormatic_protocol.h.

◆ gate_status_to_str()

const char * esphome::tormatic::gate_status_to_str ( GateStatus s)
inline

Definition at line 134 of file tormatic_protocol.h.

◆ message_type_to_str()

const char * esphome::tormatic::message_type_to_str ( MessageType t)
inline

Definition at line 58 of file tormatic_protocol.h.

◆ serialize()

template<typename T >
std::vector< uint8_t > esphome::tormatic::serialize ( T obj)

Definition at line 180 of file tormatic_protocol.h.

Variable Documentation

◆ __attribute__

struct esphome::tormatic::CommandRequestReply esphome::tormatic::__attribute__