Electricity meter issue

Moderator: leecollings

Post Reply
Pinguin
Posts: 10
Joined: Thursday 10 March 2016 17:38
Target OS: NAS (Synology & others)
Domoticz version:
Location: Switzerland
Contact:

Electricity meter issue

Post by Pinguin »

Good evening, I have an issue and cannot find a solution.
I have an powermeter with a led pulsing 1000 times/kWh.
I installed an optical sensor connected to a ESP07 running ESP easy.
I have a graph with a point every 5 minutes, but the value in watts is wrong (60 times too small and no decimals).
fig1.jpg
fig1.jpg (99.51 KiB) Viewed 2194 times
I created a second sensor in domoticZ / ESP Easy with the same physical sensor.
Now the value in watt is OK but I have only a value per hour.
fig1.jpg
fig1.jpg (99.51 KiB) Viewed 2194 times
How can I configure domoticZ to have a sample per 5 minutes with the right value ? What's wrong ?
thanks in advance to all
Attachments
fig2.jpg
fig2.jpg (92.53 KiB) Viewed 2194 times
Pinguin
Posts: 10
Joined: Thursday 10 March 2016 17:38
Target OS: NAS (Synology & others)
Domoticz version:
Location: Switzerland
Contact:

Re: Electricity meter issue

Post by Pinguin »

Sorry for mixing figures.
The yellow is the 5 minutes sample rate with wrong values and the blue the 1 hour sample rate with real values
Pinguin
Posts: 10
Joined: Thursday 10 March 2016 17:38
Target OS: NAS (Synology & others)
Domoticz version:
Location: Switzerland
Contact:

Re: Electricity meter issue

Post by Pinguin »

Thanks for your answer.
Does it exist a solution to have on the blue curve 1 sample every 5 minutes, in place of 1/hour, just to have enough pulses for an acceptable precision ?
RidingTheFlow
Posts: 72
Joined: Friday 11 March 2016 18:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Essex, UK
Contact:

Re: Electricity meter issue

Post by RidingTheFlow »

I don't think Domoticz supports this unfortunately.

Though I'd like to have such feature too. Generally I have ~10-20 pulses per 5 minutes. Multiply this by 12 (60/5) and this will give a wattage with good enough precision at least to see when energy-hungry devices (fridge, oven, boiler etc) switch on and how much power they take.

Count per hour is just too low resolution and limits usefulness of reports.
gordonb3 wrote:The graphs are a nice gimmick to show trends but you should not expect them to show any real values, particularly with hardware that shows such crude information.
Edit: actually pulse meter indicator is PWM-like device, and there is nothing "crude" about it, it actually can provide quite accurate data.
Since its PWM, "instant load" could be approximated as:

(Instant load at this pulse in Watts) = (Wh per pulse)/(hours since last pulse)

Obviously it will be as precise as pulse frequency - actually it will be more precise when power consumption increases (and when it actually matters most).
RidingTheFlow
Posts: 72
Joined: Friday 11 March 2016 18:23
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Essex, UK
Contact:

Re: Electricity meter issue

Post by RidingTheFlow »

... and as a proof that its totally possible to make simplest Wh pulse meter to act as accurate Watt-meter I've made a script, which you can see in its dedicated thread - viewtopic.php?f=32&t=11315
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest