ESPHome
2024.12.2
esphome
esphome
components
airthings_wave_mini
airthings_wave_mini.h
Go to the documentation of this file.
1
#pragma once
2
3
#ifdef USE_ESP32
4
5
#include "
esphome/components/airthings_wave_base/airthings_wave_base.h
"
6
7
namespace
esphome
{
8
namespace
airthings_wave_mini {
9
10
namespace
espbt
=
esphome::esp32_ble_tracker
;
11
12
static
const
char
*
const
SERVICE_UUID =
"b42e3882-ade7-11e4-89d3-123b93f75cba"
;
13
static
const
char
*
const
CHARACTERISTIC_UUID =
"b42e3b98-ade7-11e4-89d3-123b93f75cba"
;
14
static
const
char
*
const
ACCESS_CONTROL_POINT_CHARACTERISTIC_UUID =
"b42e3ef4-ade7-11e4-89d3-123b93f75cba"
;
15
16
class
AirthingsWaveMini
:
public
airthings_wave_base::AirthingsWaveBase
{
17
public
:
18
AirthingsWaveMini
();
19
20
void
dump_config
()
override
;
21
22
protected
:
23
void
read_sensors
(uint8_t *raw_value, uint16_t value_len)
override
;
24
25
struct
WaveMiniReadings
{
26
uint16_t
unused01
;
27
uint16_t
temperature
;
28
uint16_t
pressure
;
29
uint16_t
humidity
;
30
uint16_t
voc
;
31
uint16_t
unused02
;
32
uint32_t
unused03
;
33
uint32_t
unused04
;
34
};
35
};
36
37
}
// namespace airthings_wave_mini
38
}
// namespace esphome
39
40
#endif // USE_ESP32
esphome::airthings_wave_mini::AirthingsWaveMini::WaveMiniReadings::voc
uint16_t voc
Definition:
airthings_wave_mini.h:30
esphome::airthings_wave_mini::AirthingsWaveMini::WaveMiniReadings::unused02
uint16_t unused02
Definition:
airthings_wave_mini.h:31
esphome::airthings_wave_mini::AirthingsWaveMini::WaveMiniReadings
Definition:
airthings_wave_mini.h:25
esphome::airthings_wave_mini::AirthingsWaveMini::WaveMiniReadings::humidity
uint16_t humidity
Definition:
airthings_wave_mini.h:29
esphome::airthings_wave_mini::AirthingsWaveMini::read_sensors
void read_sensors(uint8_t *raw_value, uint16_t value_len) override
Definition:
airthings_wave_mini.cpp:10
esphome::airthings_wave_mini::AirthingsWaveMini::AirthingsWaveMini
AirthingsWaveMini()
Definition:
airthings_wave_mini.cpp:45
esphome::airthings_wave_mini::AirthingsWaveMini::WaveMiniReadings::temperature
uint16_t temperature
Definition:
airthings_wave_mini.h:27
esphome::airthings_wave_mini::AirthingsWaveMini::WaveMiniReadings::unused01
uint16_t unused01
Definition:
airthings_wave_mini.h:26
esphome::airthings_wave_base::AirthingsWaveBase
Definition:
airthings_wave_base.h:25
esphome::airthings_wave_mini::AirthingsWaveMini
Definition:
airthings_wave_mini.h:16
esphome::esp32_ble_tracker
Definition:
automation.h:9
esphome::airthings_wave_mini::AirthingsWaveMini::WaveMiniReadings::unused04
uint32_t unused04
Definition:
airthings_wave_mini.h:33
esphome
Implementation of SPI Controller mode.
Definition:
a01nyub.cpp:7
esphome::airthings_wave_mini::AirthingsWaveMini::dump_config
void dump_config() override
Definition:
airthings_wave_mini.cpp:34
esphome::airthings_wave_mini::AirthingsWaveMini::WaveMiniReadings::unused03
uint32_t unused03
Definition:
airthings_wave_mini.h:32
esphome::airthings_wave_mini::AirthingsWaveMini::WaveMiniReadings::pressure
uint16_t pressure
Definition:
airthings_wave_mini.h:28
airthings_wave_base.h
Generated by
1.8.13