cjdk
March 21, 2019, 9:22pm
1
Hi,
I was trying to messure my power usage.
My meter have an S0 output. giving 100 pulses / 1000 w usage.
the ESP is programmed with:
Blockquote
sensor:
platform: pulse_counter
pin: GPIO12
unit_of_measurement: ‘kW’
name: ‘Power Meter’
filters:
Blockquote
But it gives me only the pulses in HA.
what am i missing
Have you tried multiply: 0.01
As you will want 100 pulses to equal 1KW. Or 100 to equal 1, with the KW unit of measurement.
cjdk
March 22, 2019, 12:18pm
3
No I through the “6” had something to do with the 1 hour aka 60min
I think the problem is more or les that that HA just see it as pulses. should summe it up somehow.
here is the guide i was following:
nickrout
(Nick Rout)
March 23, 2019, 2:58am
4
What exactly are you seeing in HA?
What does your esphome log say?
cjdk
March 23, 2019, 4:58pm
5
It is not adding up the pulses.
nickrout
(Nick Rout)
March 23, 2019, 8:53pm
6
@OttoWinter any help please?
The linked page even contains a link for how to count the pulses at the bottom, rtfm
nickrout
(Nick Rout)
March 23, 2019, 9:39pm
8
You are right, I didn’t read to the bottom - I thought that’s what this example was doing. My bad, there is a further step. Sorry to bother you.
cjdk
March 24, 2019, 4:19pm
9
Realy sorry, but I can’t see what I am missing doing / wrong.
nickrout
(Nick Rout)
March 24, 2019, 6:47pm
10
See Total Daily Energy Sensor for counting up the total daily energy usage with these pulse_counter
power meters.
marcelod
(garliclord)
October 3, 2019, 11:30pm
11
Hi can I ask you which photoresistor you are using?