Generic pulse counter question
Posted: 26 Sep 2018, 10:39
Hello all,
I have an s0 powermeter hooked up to an ESP and in general it works quite ok (except an potential bug when you change something in the Pulse Counter but that i reported already on Git).
I want to have a bit higher resolution as now my lowest resolution due the calculation is 30 Watt.
My s0 gives 2000 pulses per KW so i use the following calculation: %value%*3600/60/2 (the /2 is as it seems ESP Easy uses internal a different number)
I update the value every 60 seconds so what if i update every 10 seconds would i then need to calculate like : %value%*3600/10/2 or does that work different?
*(I tried this but i get a quite unlogic number back)
I have an s0 powermeter hooked up to an ESP and in general it works quite ok (except an potential bug when you change something in the Pulse Counter but that i reported already on Git).
I want to have a bit higher resolution as now my lowest resolution due the calculation is 30 Watt.
My s0 gives 2000 pulses per KW so i use the following calculation: %value%*3600/60/2 (the /2 is as it seems ESP Easy uses internal a different number)
I update the value every 60 seconds so what if i update every 10 seconds would i then need to calculate like : %value%*3600/10/2 or does that work different?
*(I tried this but i get a quite unlogic number back)