ESPHome  2024.11.0
Data Structures | Namespaces | Enumerations
tuya.h File Reference

Go to the source code of this file.

Data Structures

struct  esphome::tuya::TuyaDatapoint
 
struct  esphome::tuya::TuyaDatapointListener
 
struct  esphome::tuya::TuyaCommand
 
class  esphome::tuya::Tuya
 

Namespaces

 esphome
 Implementation of SPI Controller mode.
 
 esphome::tuya
 

Enumerations

enum  esphome::tuya::TuyaDatapointType : uint8_t {
  esphome::tuya::TuyaDatapointType::RAW = 0x00, esphome::tuya::TuyaDatapointType::BOOLEAN = 0x01, esphome::tuya::TuyaDatapointType::INTEGER = 0x02, esphome::tuya::TuyaDatapointType::STRING = 0x03,
  esphome::tuya::TuyaDatapointType::ENUM = 0x04, esphome::tuya::TuyaDatapointType::BITMASK = 0x05
}
 
enum  esphome::tuya::TuyaCommandType : uint8_t {
  esphome::tuya::TuyaCommandType::HEARTBEAT = 0x00, esphome::tuya::TuyaCommandType::PRODUCT_QUERY = 0x01, esphome::tuya::TuyaCommandType::CONF_QUERY = 0x02, esphome::tuya::TuyaCommandType::WIFI_STATE = 0x03,
  esphome::tuya::TuyaCommandType::WIFI_RESET = 0x04, esphome::tuya::TuyaCommandType::WIFI_SELECT = 0x05, esphome::tuya::TuyaCommandType::DATAPOINT_DELIVER = 0x06, esphome::tuya::TuyaCommandType::DATAPOINT_REPORT_ASYNC = 0x07,
  esphome::tuya::TuyaCommandType::DATAPOINT_QUERY = 0x08, esphome::tuya::TuyaCommandType::WIFI_TEST = 0x0E, esphome::tuya::TuyaCommandType::LOCAL_TIME_QUERY = 0x1C, esphome::tuya::TuyaCommandType::DATAPOINT_REPORT_SYNC = 0x22,
  esphome::tuya::TuyaCommandType::DATAPOINT_REPORT_ACK = 0x23, esphome::tuya::TuyaCommandType::WIFI_RSSI = 0x24, esphome::tuya::TuyaCommandType::VACUUM_MAP_UPLOAD = 0x28, esphome::tuya::TuyaCommandType::GET_NETWORK_STATUS = 0x2B,
  esphome::tuya::TuyaCommandType::EXTENDED_SERVICES = 0x34
}
 
enum  esphome::tuya::TuyaExtendedServicesCommandType : uint8_t { esphome::tuya::TuyaExtendedServicesCommandType::RESET_NOTIFICATION = 0x04, esphome::tuya::TuyaExtendedServicesCommandType::MODULE_RESET = 0x05, esphome::tuya::TuyaExtendedServicesCommandType::UPDATE_IN_PROGRESS = 0x0A }
 
enum  esphome::tuya::TuyaInitState : uint8_t {
  esphome::tuya::TuyaInitState::INIT_HEARTBEAT = 0x00, esphome::tuya::TuyaInitState::INIT_PRODUCT, esphome::tuya::TuyaInitState::INIT_CONF, esphome::tuya::TuyaInitState::INIT_WIFI,
  esphome::tuya::TuyaInitState::INIT_DATAPOINT, esphome::tuya::TuyaInitState::INIT_DONE
}