11 static const uint8_t PMS_CMD_AUTO_MANUAL =
13 static const uint8_t PMS_CMD_TRIG_MANUAL = 0xE2;
14 static const uint8_t PMS_CMD_ON_STANDBY = 0xE4;
16 static const uint16_t PMS_STABILISING_MS = 30000;
sensor::Sensor * pm_10_0_sensor_
sensor::Sensor * pm_particles_50um_sensor_
void set_update_interval(uint32_t val)
sensor::Sensor * pm_1_0_std_sensor_
uint32_t update_interval_
sensor::Sensor * pm_10_0_std_sensor_
sensor::Sensor * pm_2_5_std_sensor_
void set_pm_2_5_std_sensor(sensor::Sensor *pm_2_5_std_sensor)
void set_pm_particles_10um_sensor(sensor::Sensor *pm_particles_10um_sensor)
void set_pm_2_5_sensor(sensor::Sensor *pm_2_5_sensor)
sensor::Sensor * pm_particles_10um_sensor_
void set_pm_particles_100um_sensor(sensor::Sensor *pm_particles_100um_sensor)
sensor::Sensor * pm_particles_25um_sensor_
void set_humidity_sensor(sensor::Sensor *humidity_sensor)
sensor::Sensor * formaldehyde_sensor_
void set_type(PMSX003Type type)
sensor::Sensor * pm_2_5_sensor_
sensor::Sensor * pm_particles_03um_sensor_
uint32_t last_transmission_
void set_pm_10_0_std_sensor(sensor::Sensor *pm_10_0_std_sensor)
sensor::Sensor * pm_1_0_sensor_
float get_setup_priority() const override
sensor::Sensor * temperature_sensor_
void dump_config() override
uint16_t get_16_bit_uint_(uint8_t start_index)
void set_pm_particles_50um_sensor(sensor::Sensor *pm_particles_50um_sensor)
optional< bool > check_byte_()
sensor::Sensor * pm_particles_05um_sensor_
void set_pm_1_0_sensor(sensor::Sensor *pm_1_0_sensor)
sensor::Sensor * pm_particles_100um_sensor_
sensor::Sensor * humidity_sensor_
PMSX003Component()=default
void set_pm_particles_25um_sensor(sensor::Sensor *pm_particles_25um_sensor)
void send_command_(uint8_t cmd, uint16_t data)
Implementation of SPI Controller mode.
Base-class for all sensors.
void set_pm_particles_03um_sensor(sensor::Sensor *pm_particles_03um_sensor)
void set_formaldehyde_sensor(sensor::Sensor *formaldehyde_sensor)
void set_pm_10_0_sensor(sensor::Sensor *pm_10_0_sensor)
void set_pm_1_0_std_sensor(sensor::Sensor *pm_1_0_std_sensor)
void set_temperature_sensor(sensor::Sensor *temperature_sensor)
void set_pm_particles_05um_sensor(sensor::Sensor *pm_particles_05um_sensor)