ESPHome 2025.5.0
|
Data Structures | |
class | Tuya |
class | TuyaBinarySensor |
class | TuyaBitmaskDatapointUpdateTrigger |
class | TuyaBoolDatapointUpdateTrigger |
class | TuyaClimate |
struct | TuyaCommand |
class | TuyaCover |
struct | TuyaDatapoint |
struct | TuyaDatapointListener |
class | TuyaDatapointUpdateTrigger |
class | TuyaEnumDatapointUpdateTrigger |
class | TuyaFan |
class | TuyaIntDatapointUpdateTrigger |
class | TuyaLight |
class | TuyaNumber |
class | TuyaRawDatapointUpdateTrigger |
class | TuyaSelect |
class | TuyaSensor |
class | TuyaStringDatapointUpdateTrigger |
class | TuyaSwitch |
class | TuyaTextSensor |
class | TuyaUIntDatapointUpdateTrigger |
Enumerations | |
enum | TuyaCoverRestoreMode { COVER_NO_RESTORE , COVER_RESTORE , COVER_RESTORE_AND_CALL } |
enum | TuyaColorType { RGB , HSV , RGBHSV } |
enum class | TuyaDatapointType : uint8_t { RAW = 0x00 , BOOLEAN = 0x01 , INTEGER = 0x02 , STRING = 0x03 , ENUM = 0x04 , BITMASK = 0x05 } |
enum class | TuyaCommandType : uint8_t { HEARTBEAT = 0x00 , PRODUCT_QUERY = 0x01 , CONF_QUERY = 0x02 , WIFI_STATE = 0x03 , WIFI_RESET = 0x04 , WIFI_SELECT = 0x05 , DATAPOINT_DELIVER = 0x06 , DATAPOINT_REPORT_ASYNC = 0x07 , DATAPOINT_QUERY = 0x08 , WIFI_TEST = 0x0E , LOCAL_TIME_QUERY = 0x1C , DATAPOINT_REPORT_SYNC = 0x22 , DATAPOINT_REPORT_ACK = 0x23 , WIFI_RSSI = 0x24 , VACUUM_MAP_UPLOAD = 0x28 , GET_NETWORK_STATUS = 0x2B , EXTENDED_SERVICES = 0x34 } |
enum class | TuyaExtendedServicesCommandType : uint8_t { RESET_NOTIFICATION = 0x04 , MODULE_RESET = 0x05 , UPDATE_IN_PROGRESS = 0x0A } |
enum class | TuyaInitState : uint8_t { INIT_HEARTBEAT = 0x00 , INIT_PRODUCT , INIT_CONF , INIT_WIFI , INIT_DATAPOINT , INIT_DONE } |
Functions | |
void | check_expected_datapoint (const TuyaDatapoint &dp, TuyaDatapointType expected) |
Variables | |
const uint8_t | COMMAND_OPEN = 0x00 |
const uint8_t | COMMAND_CLOSE = 0x02 |
const uint8_t | COMMAND_STOP = 0x01 |
Enumerator | |
---|---|
RGB | |
HSV | |
RGBHSV |
Definition at line 10 of file tuya_light.h.
|
strong |
Enumerator | |
---|---|
COVER_NO_RESTORE | |
COVER_RESTORE | |
COVER_RESTORE_AND_CALL |
Definition at line 10 of file tuya_cover.h.
|
strong |
|
strong |
|
strong |
void esphome::tuya::check_expected_datapoint | ( | const TuyaDatapoint & | dp, |
TuyaDatapointType | expected ) |
Definition at line 10 of file automation.cpp.
const uint8_t esphome::tuya::COMMAND_CLOSE = 0x02 |
Definition at line 8 of file tuya_cover.cpp.
const uint8_t esphome::tuya::COMMAND_OPEN = 0x00 |
Definition at line 7 of file tuya_cover.cpp.
const uint8_t esphome::tuya::COMMAND_STOP = 0x01 |
Definition at line 9 of file tuya_cover.cpp.