ESPHome  2024.3.1
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
 This is a workaround until we can figure out a way to get the tflite-micro idf component code available in CI.
 
 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 = 0x07,
  esphome::tuya::TuyaCommandType::DATAPOINT_QUERY = 0x08, esphome::tuya::TuyaCommandType::WIFI_TEST = 0x0E, esphome::tuya::TuyaCommandType::LOCAL_TIME_QUERY = 0x1C, esphome::tuya::TuyaCommandType::WIFI_RSSI = 0x24,
  esphome::tuya::TuyaCommandType::VACUUM_MAP_UPLOAD = 0x28, esphome::tuya::TuyaCommandType::GET_NETWORK_STATUS = 0x2B
}
 
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
}