6 namespace airthings_wave_plus {
8 static const char *
const TAG =
"airthings_wave_plus";
14 ESP_LOGD(TAG,
"version = %d", value->version);
16 if (value->version == 1) {
49 ESP_LOGE(TAG,
"Invalid payload version (%d != 1, newer version or not a Wave Plus?)", value->version);
sensor::Sensor * radon_sensor_
bool is_valid_co2_value_(uint16_t co2)
sensor::Sensor * humidity_sensor_
void read_sensors(uint8_t *raw_value, uint16_t value_len) override
sensor::Sensor * tvoc_sensor_
sensor::Sensor * co2_sensor_
sensor::Sensor * temperature_sensor_
void dump_config() override
void response_received_()
espbt::ESPBTUUID access_control_point_characteristic_uuid_
sensor::Sensor * radon_long_term_sensor_
bool is_valid_voc_value_(uint16_t voc)
sensor::Sensor * battery_voltage_
void publish_state(float state)
Publish a new state to the front-end.
espbt::ESPBTUUID sensors_data_characteristic_uuid_
espbt::ESPBTUUID service_uuid_
sensor::Sensor * pressure_sensor_
sensor::Sensor * illuminance_sensor_
Implementation of SPI Controller mode.
static ESPBTUUID from_raw(const uint8_t *data)
bool is_valid_radon_value_(uint16_t radon)