Good afternoon. I’m using an esp32-c3 with a bme280 sensor. I’m using battery in deep_sleep.
I have “sleep_duration: 5min” and “run_duration: 3min” and the sensor has “update_interval: 175s”
The intention is that, when the esp32-c3 wakes up, it waits for the sensor temperature to remain stable, and only then sends the temperature reading. This is to avoid sending too low a temperature.
The problem is that as soon as the esp32-c3 wakes up the temperature value is updated, giving a lower value and 175 seconds later it gives a higher value.
Is there a way to avoid sending this first value when the board is still cold?
captive_portal:
i2c:
sda: GPIO6
scl: GPIO7
sensor:
- platform: bme280_i2c
temperature:
name: "temperature-esp32-c3"
filters:
- offset: 0.0
id: temp_sensor
humidity:
name: "humidade-esp32-c3"
accuracy_decimals: 0
filters:
- offset: 0
address: 0x76
update_interval: 175s
- platform: adc
pin: GPIO2
name: "voltage sensor"
update_interval: 175s
attenuation: 11db
accuracy_decimals: 1
filters:
- multiply: 2.0292
id: original
deep_sleep:
run_duration:
default: 3min
gpio_wakeup_reason: 3min
sleep_duration: 5min
wakeup_pin:
number: GPIO3
inverted: True
button:
- platform: template
name: "Sleep Mode"
entity_category: diagnostic
on_press:
- deep_sleep.enter:
- platform: template
name: "Prevent Mode"
entity_category: diagnostic
on_press:
- deep_sleep.prevent:
THS