Page 1 of 1

electric meter

Posted: Monday 25 September 2017 20:09
by h143
Hello,
i have in my home an old ferrasi electical meter and want read it out with an esp8266 and domoticz,
i have it working based on thim, but i want my instant usage calulate on time between the pulsen is there a tutorial or can someone help me?

Re: electric meter

Posted: Saturday 30 September 2017 8:20
by h143
Is there nobody who have this worki g?

Re: electric meter

Posted: Wednesday 04 October 2017 14:11
by olleman
Looking for the exact same solution

so +1

Re: electric meter

Posted: Thursday 05 October 2017 17:14
by Antori91

Re: electric meter

Posted: Thursday 05 October 2017 17:30
by gerardwr
I use an Arduino sketch simulating a Youless powermeter. The Youless is a standard device in Domoticz, and report is like this:
Schermafbeelding 2017-10-05 om 17.26.33.png
Schermafbeelding 2017-10-05 om 17.26.33.png (34.63 KiB) Viewed 2589 times
The sketch runs on a Wemos Mini ESP8266 using just a phototransistor to monitor the time between led-pulses on the powermeter. Timing is then converted to actual Watt usage.

Let me know if you want to see the source of the sketch.

Re: electric meter

Posted: Friday 06 October 2017 23:51
by h143
gerardwr wrote: Thursday 05 October 2017 17:30 I use an Arduino sketch simulating a Youless powermeter. The Youless is a standard device in Domoticz, and report is like this:

Schermafbeelding 2017-10-05 om 17.26.33.png

The sketch runs on a Wemos Mini ESP8266 using just a phototransistor to monitor the time between led-pulses on the powermeter. Timing is then converted to actual Watt usage.

Let me know if you want to see the source of the sketch.
That is where i am looking for can you explane how you have did it. In dutch is also good for me

Re: electric meter

Posted: Saturday 07 October 2017 13:46
by gerardwr
h143 wrote: Friday 06 October 2017 23:51 That is where i am looking for can you explane how you have did it. In dutch is also good for me
Arduino sketch for ESP8266 attached below, with some instructions on connecting the phototransistor in the sketch (in Dutch).

This sketch has been running for me for more than 6 months without problems.
Youless_powermeter_clone_ESP_nointerrupt.zip
(2.94 KiB) Downloaded 172 times
As an alternative you can have a look at ESPEASY, that is able to measure pulselengths:
https://www.letscontrolit.com/wiki/index.php/ESPEasy

Re: electric meter

Posted: Saturday 07 October 2017 13:59
by h143
Thank you i will try it today.
I have already run espeasy but that can not comunicate the pulse time to domoticz