electric pulse count to domoticz
Moderators: grovkillen, Stuntteam, TD-er
electric pulse count to domoticz
Hello,
i have in my house an old electric meter with a rotatingwheel,
my wheel rotates 600 times for 1 kw
i have the hardware part ready but i dont know how i setup it in ESPEasy
i make a sensor pulse counter and bekome 3 values
Count
Total
Time
witch value do i set in espeasy to show it correct in domoticz?
i hope someone can help me
i have in my house an old electric meter with a rotatingwheel,
my wheel rotates 600 times for 1 kw
i have the hardware part ready but i dont know how i setup it in ESPEasy
i make a sensor pulse counter and bekome 3 values
Count
Total
Time
witch value do i set in espeasy to show it correct in domoticz?
i hope someone can help me
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: electric pulse count to domoticz
I use Delta/Count as type. You then need to use the formula: %value%/600 in you case to make the pulses into kW.
Depending on the delay your ESP Easy will report how many kW has been used during that time (Delta).
Depending on the delay your ESP Easy will report how many kW has been used during that time (Delta).
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: electric pulse count to domoticz
Is that formule for count, total or time?
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: electric pulse count to domoticz
Count (as I tried to state in my previous post "Delta/Count").
Delta is the new Count as of 2.0.0 (when it is released).
Delta is the new Count as of 2.0.0 (when it is released).
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: electric pulse count to domoticz
thank you
what kind of formule do you have for time and total?
what kind of formule do you have for time and total?
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: electric pulse count to domoticz
What do you need them for? Total is the total pulses since last power cut and reboot. Time is the total time (I think) of the pulses. I don't use them myself.
If you want to use Total you use the same formula as for Count.
If you want to use Total you use the same formula as for Count.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: electric pulse count to domoticz
Use the incremental counter in Domoticz and the Delta setting in ESP Easy.
Domoticz is a single value counter device so you can only send one value...
Domoticz is a single value counter device so you can only send one value...
Re: electric pulse count to domoticz
So it is not possible to calculate the time between the pulses to the actual consumtion and the count for the total watts ? Like a p1 cabel can?
- grovkillen
- Core team member
- Posts: 3621
- Joined: 19 Jan 2017, 12:56
- Location: Hudiksvall, Sweden
- Contact:
Re: electric pulse count to domoticz
If you lets say have the delay for 60 seconds between the reports you could use the Count (aka Delta) with this formula to present consumption (speed) in kWh:
%value%/600*60
Thus
%value%/100
But this is only momentary consumption, not the true value since that need to take the Watts used during 1 hour. Not a snatched value. So report the Watts as suggested in the first post I wrote and do the sum on the Domoticz side.
%value%/600*60
Thus
%value%/100
But this is only momentary consumption, not the true value since that need to take the Watts used during 1 hour. Not a snatched value. So report the Watts as suggested in the first post I wrote and do the sum on the Domoticz side.
ESP Easy Flasher [flash tool and wifi setup at flash time]
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
ESP Easy Webdumper [easy screendumping of your units]
ESP Easy Netscan [find units]
Official shop: https://firstbyte.shop/
Sponsor ESP Easy, we need you
Re: electric pulse count to domoticz
But the actual usage must normaly calculate by the time between the pulses or do i have it wrong? Is it possible to send that to domoticz?
Re: electric pulse count to domoticz
is there already another solution to monitor my electric meter with esp-easy and domoticz?
Re: electric pulse count to domoticz
is there already another solution to monitor my electric meter with esp-easy and domoticz?
with actual usage calculated on time between the pulses?
with actual usage calculated on time between the pulses?
Re: electric pulse count to domoticz
Hello,
I have the same question. I use incremental counter in Domoticz and Delta in ESPEasy. Have only ran it a couple of hours but it seems to give me the correct usage for each hour.
BUT I too want to have the momentary value as well to be able to see what my house uses in just this instant. I have tried all the meters in Domoticz and non of the others seems to give me correct readings...
,Olle
I have the same question. I use incremental counter in Domoticz and Delta in ESPEasy. Have only ran it a couple of hours but it seems to give me the correct usage for each hour.
BUT I too want to have the momentary value as well to be able to see what my house uses in just this instant. I have tried all the meters in Domoticz and non of the others seems to give me correct readings...
,Olle
Re: electric pulse count to domoticz
But calculate the time between the pulses is not actual usage. It is usage between last two pulses only.
With heavy load, its close to actual usage, but less power - less actuality of data.
Imagine what happens, when power goes to zero. Sensor wait for last pulse, wait, wait, wait ....
You never know in first seconds ( minutes ) , that power is zero now.
With heavy load, its close to actual usage, but less power - less actuality of data.
Imagine what happens, when power goes to zero. Sensor wait for last pulse, wait, wait, wait ....
You never know in first seconds ( minutes ) , that power is zero now.
Re: electric pulse count to domoticz
Have you looked at Plugin 112 in the playground ?
I believe this is what you are looking for.
https://github.com/letscontrolit/ESPEas ... _Power.ino
I believe this is what you are looking for.
https://github.com/letscontrolit/ESPEas ... _Power.ino
-
- Normal user
- Posts: 19
- Joined: 20 Oct 2017, 14:30
Re: electric pulse count to domoticz
How do we use the plugins that are not part of the standard version?
-
- Normal user
- Posts: 37
- Joined: 27 Aug 2019, 23:57
Re: electric pulse count to domoticz
Not so sure to fully understand initial request, but I'll try to bring my 2 cents: As this is Domoticz, and it saves last time you wrote a value, I would suggest writting a small script that save last value, computes current value - last value/current time - last stored time to get the average consumption within the interval.
Who is online
Users browsing this forum: No registered users and 32 guests