Hi,
I have set up a NodeMCU and TCRT5000 sensor with ESPHome to monitor our power consumption on a Ferraris Energy Meter. For one day it looked promising - the measurement was very accurate. Until all of a sudden the total counter dropped to zero:
Can anyone help me with finding the reason? Could this be due to an unexpected reboot of the esp? If so, how can I check the uptime? Maybe it lost the WIFI connection? Or did I screw up the configuration? :
esphome:
name: nodemcu01
esp8266:
board: nodemcuv2
# Enable logging
logger:
# Enable Home Assistant API
api:
ota:
password: "lalalala"
wifi:
ssid: !secret wifi_ssid
password: !secret wifi_password
domain: .myhome.domain
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Nodemcu01 Fallback Hotspot"
password: "lalalalala"
captive_portal:
sensor:
- platform: pulse_meter
pin: D5
name: "Stromverbrauch Aktuell"
device_class: power
state_class: measurement
unit_of_measurement: "W"
internal_filter: 40ms
internal_filter_mode: PULSE
timeout: 20min
filters:
- multiply: 800
total:
name: "Stromverbrauch Total"
unit_of_measurement: "kWh"
accuracy_decimals: 3
filters:
- multiply: 0.0133333
Thanks in advance!!!