Page 1 of 1

How to record pulses from energy meters ?

Posted: Friday 12 January 2018 23:59
by syldes
Hello,

I'd like to record in Domoticz the pulses issued from my energy meters.
I've got 4 (and more to come) energy meters in my setup, each sending 1 pulse for 1W consumed.
I have not definitely chosen the way these pulses will be pushed to Domoticz, but probably by using Arduino/ESP8266 with pulse detection code and JSON API for sensor update (or any better idea, as long as it is wireless or on LAN)

I'm first interested in tracking the power consumption by hour:minute of the day, and if possible, instant power consumption.

What is the best virtual sensor to record those pulses in Domoticz ?

Thank you !

Re: How to record pulses from energy meters ?

Posted: Saturday 13 January 2018 9:09
by blauwebuis
There are so many possibilities :-)

I use MySensors. This allows for a wireless encrypted connnection. But you may also be able to rig something up directly to your Pi. Aliexpress has lots of nice little LDR sensor boards that to all the work for you.

https://www.aliexpress.com/item/Photose ... 49658.html

For the MySensors option you'll also need two NRF24 modules, and an arduino nano. Total cost: less than 5 euro.

Re: How to record pulses from energy meters ?

Posted: Saturday 13 January 2018 10:45
by syldes
Thank you, but in the meantime, what virtual sensor best fits my use case : counting single pulses with minute (or even seconds) acuracy ?

Re: How to record pulses from energy meters ?

Posted: Sunday 21 January 2018 17:51
by kimot
Forgot about minute/second accuarcy with Domoticz.
Forgot about any accuracy with Domoticz in case energy consumption calculated by Domoticz.
It is well known bug.

viewtopic.php?f=6&t=20810&p=161377&hilit=kimot#p161377

http://www.domoticz.com/forum/viewtopic.php?f=6&t=20712

Re: How to record pulses from energy meters ?

Posted: Sunday 21 January 2018 18:49
by blauwebuis
There are specialized virtual sensors for this. Use those.

Re: How to record pulses from energy meters ?

Posted: Friday 02 February 2018 12:56
by rich710
I have this Pulse counter that show up in my RFXTRX and Domoticz and workd perfect.
http://foogadgets.tictail.com/product/wpc3