ESPHome  2022.9.1
Data Structures | Enumerations | Variables
esphome::sen5x Namespace Reference

Data Structures

struct  GasTuning
 
struct  Sen5xBaselines
 
class  SEN5XComponent
 
class  StartFanAction
 
struct  TemperatureCompensation
 

Enumerations

enum  ERRORCODE {
  COMMUNICATION_FAILED, SERIAL_NUMBER_IDENTIFICATION_FAILED, MEASUREMENT_INIT_FAILED, PRODUCT_NAME_FAILED,
  FIRMWARE_FAILED, UNKNOWN
}
 
enum  RhtAccelerationMode : uint16_t { LOW_ACCELERATION = 0, MEDIUM_ACCELERATION = 1, HIGH_ACCELERATION = 2 }
 

Variables

const uint32_t SHORTEST_BASELINE_STORE_INTERVAL = 10800
 
const uint32_t MAXIMUM_STORAGE_DIFF = 50
 
struct esphome::sen5x::Sen5xBaselines PACKED
 

Enumeration Type Documentation

◆ ERRORCODE

Enumerator
COMMUNICATION_FAILED 
SERIAL_NUMBER_IDENTIFICATION_FAILED 
MEASUREMENT_INIT_FAILED 
PRODUCT_NAME_FAILED 
FIRMWARE_FAILED 
UNKNOWN 

Definition at line 12 of file sen5x.h.

◆ RhtAccelerationMode

Enumerator
LOW_ACCELERATION 
MEDIUM_ACCELERATION 
HIGH_ACCELERATION 

Definition at line 32 of file sen5x.h.

Variable Documentation

◆ MAXIMUM_STORAGE_DIFF

const uint32_t esphome::sen5x::MAXIMUM_STORAGE_DIFF = 50

Definition at line 25 of file sen5x.h.

◆ PACKED

struct esphome::sen5x::Sen5xBaselines esphome::sen5x::PACKED

◆ SHORTEST_BASELINE_STORE_INTERVAL

const uint32_t esphome::sen5x::SHORTEST_BASELINE_STORE_INTERVAL = 10800

Definition at line 23 of file sen5x.h.