electric meter

Everything about esp8266 and more.
Post Reply
h143
Posts: 28
Joined: Tuesday 28 October 2014 23:26
Target OS: Raspberry Pi
Domoticz version:
Contact:

electric meter

Post by h143 » Monday 25 September 2017 20:09

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: 28
Joined: Tuesday 28 October 2014 23:26
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: electric meter

Post by h143 » Saturday 30 September 2017 8:20

Is there nobody who have this worki g?

olleman
Posts: 49
Joined: Thursday 01 January 2015 19:56
Target OS: Linux
Domoticz version:
Contact:

Re: electric meter

Post by olleman » Wednesday 04 October 2017 14:11

Looking for the exact same solution

so +1

User avatar
Antori91
Posts: 82
Joined: Sunday 12 February 2017 18:12
Target OS: NAS (Synology & others)
Domoticz version: 4.97&3.5
Location: France
Contact:

Re: electric meter

Post by Antori91 » Thursday 05 October 2017 17:14

Domoticz High Availability Cluster: Synology Dz V3.5877 (Main) - Raspberry Dz V4.97 (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: 76
Joined: Saturday 28 January 2017 12:30
Target OS: -
Domoticz version:
Contact:

Re: electric meter

Post by gerardwr » 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
Schermafbeelding 2017-10-05 om 17.26.33.png (34.63 KiB) Viewed 1489 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: 28
Joined: Tuesday 28 October 2014 23:26
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: electric meter

Post by h143 » Friday 06 October 2017 23:51

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: 76
Joined: Saturday 28 January 2017 12:30
Target OS: -
Domoticz version:
Contact:

Re: electric meter

Post by gerardwr » Saturday 07 October 2017 13:46

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 85 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: 28
Joined: Tuesday 28 October 2014 23:26
Target OS: Raspberry Pi
Domoticz version:
Contact:

Re: electric meter

Post by h143 » Saturday 07 October 2017 13:59

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: No registered users and 3 guests