Page 1 of 1

Real time power consumption from pulse meter

Posted: Wednesday 16 August 2017 17:11
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

Re: Real time power consumption from pulse meter

Posted: Wednesday 16 August 2017 17:47
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 :-)

Re: Real time power consumption from pulse meter

Posted: Wednesday 16 August 2017 20:38
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.

Re: Real time power consumption from pulse meter

Posted: Wednesday 16 August 2017 23:53
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.

Re: Real time power consumption from pulse meter

Posted: Saturday 19 August 2017 12:28
by gohan
Is it possible to count pulses directly from RPI3 GPIO using one of those Photodiodes with LM393 modules?

Re: Real time power consumption from pulse meter

Posted: Wednesday 21 February 2018 13:02
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?

Re: Real time power consumption from pulse meter

Posted: Saturday 24 February 2018 0:04
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.

Re: Real time power consumption from pulse meter

Posted: Saturday 24 February 2018 0:18
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


Re: Real time power consumption from pulse meter

Posted: Sunday 25 February 2018 14:52
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.

Re: Real time power consumption from pulse meter

Posted: Monday 28 January 2019 16:29
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