I have a ESP8266-based sensor. It seems to gather data properly, but it was suggested that I have it go into a deep sleep to make the battery last longer. Following is a part of the sensor’s yaml file:
esphome:
name: luxsensor
platform: ESP8266
board: nodemcuv2
wifi:
ssid: <SSID>
password: pwd
deep_sleep:
run_duration: 60s
sleep_duration: 10min
sensor:
- platform: bh1750
name: "Light Level"
address: 0x23
update_interval: 1s
I have this sensor on the homepage of Home Assistant and when I click on it, I see a chart of data. When I zoomed way in, I noticed that data points are two minutes apart, which strongly suggests I have something wrong in the yaml. Any ideas?