ESPHome
2024.11.3
|
#include <bme68x_bsec2.h>
Public Member Functions | |
void | setup () override |
void | dump_config () override |
float | get_setup_priority () const override |
void | loop () override |
void | set_algorithm_output (AlgorithmOutput algorithm_output) |
void | set_operating_age (OperatingAge operating_age) |
void | set_temperature_offset (float offset) |
void | set_voltage (Voltage voltage) |
void | set_sample_rate (SampleRate sample_rate) |
void | set_temperature_sample_rate (SampleRate sample_rate) |
void | set_pressure_sample_rate (SampleRate sample_rate) |
void | set_humidity_sample_rate (SampleRate sample_rate) |
void | set_bsec2_configuration (const uint8_t *data, const uint32_t len) |
void | set_state_save_interval (uint32_t interval) |
void | set_temperature_sensor (sensor::Sensor *sensor) |
void | set_pressure_sensor (sensor::Sensor *sensor) |
void | set_humidity_sensor (sensor::Sensor *sensor) |
void | set_gas_resistance_sensor (sensor::Sensor *sensor) |
void | set_iaq_sensor (sensor::Sensor *sensor) |
void | set_iaq_static_sensor (sensor::Sensor *sensor) |
void | set_iaq_accuracy_sensor (sensor::Sensor *sensor) |
void | set_co2_equivalent_sensor (sensor::Sensor *sensor) |
void | set_breath_voc_equivalent_sensor (sensor::Sensor *sensor) |
void | set_iaq_accuracy_text_sensor (text_sensor::TextSensor *sensor) |
virtual uint32_t | get_hash ()=0 |
Public Member Functions inherited from esphome::Component | |
float | get_actual_setup_priority () const |
void | set_setup_priority (float priority) |
virtual float | get_loop_priority () const |
priority of loop(). More... | |
void | call () |
virtual void | on_shutdown () |
virtual void | on_safe_shutdown () |
uint32_t | get_component_state () const |
virtual void | mark_failed () |
Mark this component as failed. More... | |
bool | is_failed () const |
bool | is_ready () const |
virtual bool | can_proceed () |
bool | status_has_warning () const |
bool | status_has_error () const |
void | status_set_warning (const char *message="unspecified") |
void | status_set_error (const char *message="unspecified") |
void | status_clear_warning () |
void | status_clear_error () |
void | status_momentary_warning (const std::string &name, uint32_t length=5000) |
void | status_momentary_error (const std::string &name, uint32_t length=5000) |
bool | has_overridden_loop () const |
void | set_component_source (const char *source) |
Set where this component was loaded from for some debug messages. More... | |
const char * | get_component_source () const |
Get the integration where this component was declared as a string. More... | |
Protected Member Functions | |
void | set_config_ (const uint8_t *config, u_int32_t len) |
float | calc_sensor_sample_rate_ (SampleRate sample_rate) |
void | update_subscription_ () |
void | run_ () |
void | read_ (int64_t trigger_time_ns) |
void | publish_ (const bsec_output_t *outputs, uint8_t num_outputs) |
int64_t | get_time_ns_ () |
void | publish_sensor_ (sensor::Sensor *sensor, float value, bool change_only=false) |
void | publish_sensor_ (text_sensor::TextSensor *sensor, const std::string &value) |
void | load_state_ () |
void | save_state_ (uint8_t accuracy) |
void | queue_push_ (std::function< void()> &&f) |
Protected Member Functions inherited from esphome::Component | |
virtual void | call_loop () |
virtual void | call_setup () |
virtual void | call_dump_config () |
void | set_interval (const std::string &name, uint32_t interval, std::function< void()> &&f) |
Set an interval function with a unique name. More... | |
void | set_interval (uint32_t interval, std::function< void()> &&f) |
bool | cancel_interval (const std::string &name) |
Cancel an interval function. More... | |
void | set_retry (const std::string &name, uint32_t initial_wait_time, uint8_t max_attempts, std::function< RetryResult(uint8_t)> &&f, float backoff_increase_factor=1.0f) |
Set an retry function with a unique name. More... | |
void | set_retry (uint32_t initial_wait_time, uint8_t max_attempts, std::function< RetryResult(uint8_t)> &&f, float backoff_increase_factor=1.0f) |
bool | cancel_retry (const std::string &name) |
Cancel a retry function. More... | |
void | set_timeout (const std::string &name, uint32_t timeout, std::function< void()> &&f) |
Set a timeout function with a unique name. More... | |
void | set_timeout (uint32_t timeout, std::function< void()> &&f) |
bool | cancel_timeout (const std::string &name) |
Cancel a timeout function. More... | |
void | defer (const std::string &name, std::function< void()> &&f) |
Defer a callback to the next loop() call. More... | |
void | defer (std::function< void()> &&f) |
Defer a callback to the next loop() call. More... | |
bool | cancel_defer (const std::string &name) |
Cancel a defer callback using the specified name, name must not be empty. More... | |
Definition at line 47 of file bme68x_bsec2.h.
|
protected |
Definition at line 141 of file bme68x_bsec2.cpp.
|
overridevirtual |
Reimplemented from esphome::Component.
Definition at line 59 of file bme68x_bsec2.cpp.
|
pure virtual |
|
overridevirtual |
Reimplemented from esphome::Component.
Definition at line 104 of file bme68x_bsec2.cpp.
|
protected |
Definition at line 452 of file bme68x_bsec2.cpp.
|
protected |
Definition at line 480 of file bme68x_bsec2.cpp.
|
overridevirtual |
Reimplemented from esphome::Component.
Definition at line 106 of file bme68x_bsec2.cpp.
|
protected |
Definition at line 384 of file bme68x_bsec2.cpp.
|
protected |
Definition at line 463 of file bme68x_bsec2.cpp.
|
protected |
Definition at line 472 of file bme68x_bsec2.cpp.
|
inlineprotected |
Definition at line 107 of file bme68x_bsec2.h.
|
protected |
Definition at line 286 of file bme68x_bsec2.cpp.
|
protected |
Definition at line 206 of file bme68x_bsec2.cpp.
|
protected |
Definition at line 497 of file bme68x_bsec2.cpp.
|
inline |
Definition at line 54 of file bme68x_bsec2.h.
|
inline |
Definition at line 80 of file bme68x_bsec2.h.
|
inline |
Definition at line 64 of file bme68x_bsec2.h.
|
inline |
Definition at line 79 of file bme68x_bsec2.h.
|
protected |
Definition at line 128 of file bme68x_bsec2.cpp.
|
inline |
Definition at line 75 of file bme68x_bsec2.h.
|
inline |
Definition at line 62 of file bme68x_bsec2.h.
|
inline |
Definition at line 74 of file bme68x_bsec2.h.
|
inline |
Definition at line 78 of file bme68x_bsec2.h.
|
inline |
Definition at line 83 of file bme68x_bsec2.h.
|
inline |
Definition at line 76 of file bme68x_bsec2.h.
|
inline |
Definition at line 77 of file bme68x_bsec2.h.
|
inline |
Definition at line 55 of file bme68x_bsec2.h.
|
inline |
Definition at line 61 of file bme68x_bsec2.h.
|
inline |
Definition at line 73 of file bme68x_bsec2.h.
|
inline |
Definition at line 59 of file bme68x_bsec2.h.
|
inline |
Definition at line 69 of file bme68x_bsec2.h.
|
inline |
Definition at line 56 of file bme68x_bsec2.h.
|
inline |
Definition at line 60 of file bme68x_bsec2.h.
|
inline |
Definition at line 72 of file bme68x_bsec2.h.
|
inline |
Definition at line 57 of file bme68x_bsec2.h.
|
overridevirtual |
Reimplemented from esphome::Component.
Definition at line 22 of file bme68x_bsec2.cpp.
|
protected |
Definition at line 148 of file bme68x_bsec2.cpp.
|
protected |
Definition at line 134 of file bme68x_bsec2.h.
|
protected |
Definition at line 109 of file bme68x_bsec2.h.
|
protected |
Definition at line 114 of file bme68x_bsec2.h.
|
protected |
Definition at line 117 of file bme68x_bsec2.h.
|
protected |
Definition at line 152 of file bme68x_bsec2.h.
|
protected |
Definition at line 126 of file bme68x_bsec2.h.
|
protected |
Definition at line 124 of file bme68x_bsec2.h.
|
protected |
Definition at line 125 of file bme68x_bsec2.h.
|
protected |
Definition at line 112 of file bme68x_bsec2.h.
|
protected |
Definition at line 110 of file bme68x_bsec2.h.
|
protected |
Definition at line 128 of file bme68x_bsec2.h.
|
protected |
Definition at line 116 of file bme68x_bsec2.h.
|
protected |
Definition at line 151 of file bme68x_bsec2.h.
|
protected |
Definition at line 147 of file bme68x_bsec2.h.
|
protected |
Definition at line 141 of file bme68x_bsec2.h.
|
protected |
Definition at line 146 of file bme68x_bsec2.h.
|
protected |
Definition at line 150 of file bme68x_bsec2.h.
|
protected |
Definition at line 155 of file bme68x_bsec2.h.
|
protected |
Definition at line 148 of file bme68x_bsec2.h.
|
protected |
Definition at line 149 of file bme68x_bsec2.h.
|
protected |
Definition at line 130 of file bme68x_bsec2.h.
|
protected |
Definition at line 119 of file bme68x_bsec2.h.
|
protected |
Definition at line 120 of file bme68x_bsec2.h.
|
protected |
Definition at line 115 of file bme68x_bsec2.h.
|
protected |
Definition at line 135 of file bme68x_bsec2.h.
|
protected |
Definition at line 140 of file bme68x_bsec2.h.
|
protected |
Definition at line 145 of file bme68x_bsec2.h.
|
protected |
Definition at line 122 of file bme68x_bsec2.h.
|
protected |
Definition at line 138 of file bme68x_bsec2.h.
|
protected |
Definition at line 129 of file bme68x_bsec2.h.
|
protected |
Definition at line 132 of file bme68x_bsec2.h.
|
protected |
Definition at line 139 of file bme68x_bsec2.h.
|
protected |
Definition at line 144 of file bme68x_bsec2.h.
|
protected |
Definition at line 111 of file bme68x_bsec2.h.
|
protected |
Definition at line 136 of file bme68x_bsec2.h.