electric meter

Everything about esp8266 and more.

Moderator: leecollings

Post Reply
h143
Posts: 27
Joined: Tuesday 28 October 2014 22:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

electric meter

Post 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?
h143
Posts: 27
Joined: Tuesday 28 October 2014 22:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: electric meter

Post by h143 »

Is there nobody who have this worki g?
olleman
Posts: 107
Joined: Thursday 01 January 2015 18:56
Target OS: Linux
Domoticz version:
Contact:

Re: electric meter

Post by olleman »

Looking for the exact same solution

so +1
User avatar
Antori91
Posts: 136
Joined: Sunday 12 February 2017 17:12
Target OS: NAS (Synology & others)
Domoticz version: 4.10717
Location: France
Contact:

Re: electric meter

Post by Antori91 »

Domoticz High Availability Cluster: Synology Dz V4.10693 (Main) - Raspberry Dz V4.10717 (Backup) - Scripts Node.js
Alarm server: Raspberry - motionEye - iot_ALARM-SVR Node.js
Sensors/Actuators: ESP8266-Arduino
https://github.com/Antori91/Home_Automation
gerardwr
Posts: 32
Joined: Saturday 28 January 2017 11:30
Target OS: -
Domoticz version:
Contact:

Re: electric meter

Post 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 2499 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.
h143
Posts: 27
Joined: Tuesday 28 October 2014 22:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: electric meter

Post 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
gerardwr
Posts: 32
Joined: Saturday 28 January 2017 11:30
Target OS: -
Domoticz version:
Contact:

Re: electric meter

Post 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 167 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
h143
Posts: 27
Joined: Tuesday 28 October 2014 22:26
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: electric meter

Post by h143 »

Thank you i will try it today.
I have already run espeasy but that can not comunicate the pulse time to domoticz
Post Reply

Who is online

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