Real time power consumption from pulse meter

Moderator: leecollings

Post Reply
gohan
Posts: 36
Joined: Monday 13 February 2017 23:42
Target OS: Windows
Domoticz version:
Contact:

Real time power consumption from pulse meter

Post by gohan »

I have set up a mysensors node that sends pulses as power meter and it is showing OK in domoticz, but I noticed that the power isn't updating very fast. Is there any other quicker or better solution for this? I wanted to have a fast update as I want to be able to power off power hungry devices before the main switch cuts the power to the whole house in case of an overload.
Thanks
freijn
Posts: 536
Joined: Friday 23 December 2016 16:40
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: Netherlands Purmerend
Contact:

Re: Real time power consumption from pulse meter

Post by freijn »

Would be better and more realtime if you monitor the devices yourself with something like this :
http://www.ebay.com/itm/Analog-Current- ... xyzi9SgOoo

How are you planning to power them off? Manually? or automatic? If automatic you already require wires to it.. So current wire is the next step.
Nice Job for an ESPnode I believe :-)
freijn
Posts: 536
Joined: Friday 23 December 2016 16:40
Target OS: Raspberry Pi / ODroid
Domoticz version: Stable
Location: Netherlands Purmerend
Contact:

Re: Real time power consumption from pulse meter

Post by freijn »

Ehhh have reading your question again..

If you are concerned having the main switch tripped because of overpower your max current, instead of trying to prevent it by swtiching off it might be better to suit your power needs and upgrade your connection?
Be aware if you overrun your cables or circuit they might get warm of even hot and causing a fire..

Please be careful.
gohan
Posts: 36
Joined: Monday 13 February 2017 23:42
Target OS: Windows
Domoticz version:
Contact:

Re: Real time power consumption from pulse meter

Post by gohan »

I already have 2 sonoff pow on the washing machine and dishwasher since sometimes they get turned on together by mistake and when both of then start heating up the water, the main switch cuts the power to the whole house. Sometimes it is washing machine and the Iron. I have a 5 sec power reading from the sonoffs, it is just the total power usage from the main switch that is slow to update. At the end I want to setup a rule that when total power reaches 3000W, the sonoff that is exceeding 500W will be turned off for something like 5 minutes.
gohan
Posts: 36
Joined: Monday 13 February 2017 23:42
Target OS: Windows
Domoticz version:
Contact:

Re: Real time power consumption from pulse meter

Post by gohan »

Is it possible to count pulses directly from RPI3 GPIO using one of those Photodiodes with LM393 modules?
Pahkis
Posts: 11
Joined: Thursday 23 November 2017 9:03
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: Real time power consumption from pulse meter

Post by Pahkis »

Hi, is there a limit how many LM393 can be added to Raspberry PI 3 ?

I have 4 energy meters and I would like to add those to Domoticz (1 meter with LED output for pulses and 3 with S0 output)
What would be best way to add those to 1-wire system?
kimot
Posts: 105
Joined: Saturday 25 November 2017 17:18
Target OS: Raspberry Pi / ODroid
Domoticz version: v3.8153
Location: Czech Rep.
Contact:

Re: Real time power consumption from pulse meter

Post by kimot »

And what about controlling watt limit at MYsensor node side and when exceeds your limit, switch on some virtual Domoticz switch and then you can do what you need.
RPi2 Domoticz v 4.10717
10 x Sonoff Basic - ESPeasy
1 x Wemos D1 - ESPeasy
1 x Shelly Plus Plug S
1 x Sonoff S26 - ESPeasy
1 x Shelly 1
1 x MySensors HC-SR04
1 x MySenosrs wifi gateway
1 x RFLink
4x Cam IPC-T240H
gohan
Posts: 36
Joined: Monday 13 February 2017 23:42
Target OS: Windows
Domoticz version:
Contact:

Re: Real time power consumption from pulse meter

Post by gohan »

kimot wrote:And what about controlling watt limit at MYsensor node side and when exceeds your limit, switch on some virtual Domoticz switch and then you can do what you need.
The problem is that the instant power reading using pulse sensor is not accurate at all. I can't figure out why. I'll probably going to try a CT sensor but since power was already measured on the electric meter, it would have been easier to just count pulses.

Inviato dal mio SHIELD Tablet K1 utilizzando Tapatalk

kimot
Posts: 105
Joined: Saturday 25 November 2017 17:18
Target OS: Raspberry Pi / ODroid
Domoticz version: v3.8153
Location: Czech Rep.
Contact:

Re: Real time power consumption from pulse meter

Post by kimot »

I can imagine, that reading low power consumption is difficult with "blinks" counting and interval measuring method.
But you want check high power consumption, and here interval is relatively short.
For your 3000W and 500 imp/kWh ( for example ) it corresponds 1500 imp per hour or one impulse every 2,4s.
So if your program measures shorter interval, you need make some action, then.
RPi2 Domoticz v 4.10717
10 x Sonoff Basic - ESPeasy
1 x Wemos D1 - ESPeasy
1 x Shelly Plus Plug S
1 x Sonoff S26 - ESPeasy
1 x Shelly 1
1 x MySensors HC-SR04
1 x MySenosrs wifi gateway
1 x RFLink
4x Cam IPC-T240H
salvacalatayud
Posts: 112
Joined: Monday 26 June 2017 21:16
Target OS: Raspberry Pi / ODroid
Domoticz version: beta
Location: Spain
Contact:

Re: Real time power consumption from pulse meter

Post by salvacalatayud »

gohan wrote: Wednesday 16 August 2017 23:53 I already have 2 sonoff pow on the washing machine and dishwasher since sometimes they get turned on together by mistake and when both of then start heating up the water, the main switch cuts the power to the whole house. Sometimes it is washing machine and the Iron. I have a 5 sec power reading from the sonoffs, it is just the total power usage from the main switch that is slow to update. At the end I want to setup a rule that when total power reaches 3000W, the sonoff that is exceeding 500W will be turned off for something like 5 minutes.
Can you share your script to do this? I'm planning the same as you
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest