mruettgers / SMLReader

ESP8266 based smart meter (SML) to MQTT gateway
GNU General Public License v3.0
292 stars 68 forks source link

[FR] input for "old" pulse based sensors / meters #4

Closed hamster65 closed 4 years ago

hamster65 commented 4 years ago

Hi Michael,

thanks for publishing this project! We will get an electronic power meter installed during the next weeks, and I already have everything prepared, including a 3d printed IR head etc.

Currently, I use an Atmega128 controller to receive impulses from our gas meter (reed sensor), water meter (reflex light sensor) and ferraris energy meter (green led+photo transistor). Since the water and gas meter will not be changed, it would be nice to connect those sensors to the Wemos module to get an output by mqtt.

Unfortunately, there is no periodic output from those meters when there is no or very low consumption. Right now, I use a fixed interval and I output how many pulses have been detected during that time but this is not good for live monitoring.

I can think of 3 ways to do this:

I am looking forward to reading your thoughts on this.

Regards, hamster 65

mruettgers commented 4 years ago

Hi hamster 65,

I'm sorry I didn't get back to you sooner. My two children and the many tasks at the house take too much of my free time. Therefore, I will unfortunately not be able to implement this FR in the near future. I also lack the appropriate hardware to be able to test the whole thing meaningfully.

I did already think about making my analog water meter smart, but I would try to solve the problem with computer vision like described in this project: https://www.kompf.de/cplus/emeocv.html

Regards,

Michael

hamster65 commented 4 years ago

Thanks Michael!

mruettgers commented 4 years ago

@hamster65 I just took notice of a project for old meters on Instagram: https://github.com/Eisbaeeer/Ferraris_MQTT_Energy_Counter_Meter_TCRT5000 It might be worth a look.

Cheers, Michael