I have a nodemcuv2 with a photoresistor on a pulse meter. The counting of the pulse is strange, because it is reading 600watt more than is has to be. The pulse light is the correct amout, when i do a check in the homewizard who use the same puls. So the have the same pulse reading but in Home Assistant de readings are more.
esphome:
,
esphome:
name: solarmeter
platform: ESP8266
board: nodemcuv2
wifi:
ssid: "Wifi"
password: "key"
# Enable fallback hotspot (captive portal) in case wifi connection fails
ap:
ssid: "Solarmeter"
password: "key"
captive_portal:
# Enable logging
logger:
# Enable Home Assistant API
api:
password: "key"
ota:
password: "key"
# Enable Web server
web_server:
port: 80
sensor:
# Uptime sensor
- platform: uptime
name: Elec Meter Uptime
# WiFi Signal sensor
- platform: wifi_signal
name: Elec Meter WiFi Signal
update_interval: 1s
#########################################
#
# Electricity usage
#
#########################################
# usage right now in kW
- platform: pulse_counter
pin: D5
unit_of_measurement: 'kW'
name: 'Power Meter'
id: power_meter
filters:
- multiply: 0.06
# converts above to kWh used today
- platform: total_daily_energy
name: "Total Daily Energy test"
power_id: power_meter
id: kwh_so_far
switch:
# Switch to restart
- platform: restart
name: Electricity meter monitor restart
# Sync time
time:
- platform: sntp
id: my_time
Who can help me to have good readings?
Thanks for the help.
Michel