ESPHome 2026.2.1
Loading...
Searching...
No Matches
honeywell_hih.h
Go to the documentation of this file.
1// Honeywell HumidIcon I2C Sensors
2#pragma once
3
7
8namespace esphome {
9namespace honeywell_hih_i2c {
10
12 public:
13 void dump_config() override;
14 void loop() override;
15 void update() override;
16
17 void set_temperature_sensor(sensor::Sensor *temperature_sensor) { this->temperature_sensor_ = temperature_sensor; }
18 void set_humidity_sensor(sensor::Sensor *humidity_sensor) { this->humidity_sensor_ = humidity_sensor; }
19
20 protected:
24
25 private:
26 void read_sensor_data_();
27 void start_measurement_();
28 bool is_measurement_ready_();
29 void measurement_timeout_();
30};
31
32} // namespace honeywell_hih_i2c
33} // namespace esphome
This class simplifies creating components that periodically check a state.
Definition component.h:512
void set_temperature_sensor(sensor::Sensor *temperature_sensor)
void set_humidity_sensor(sensor::Sensor *humidity_sensor)
This Class provides the methods to read/write bytes from/to an i2c device.
Definition i2c.h:133
Base-class for all sensors.
Definition sensor.h:43
Providing packet encoding functions for exchanging data with a remote host.
Definition a01nyub.cpp:7