Ah, I see. I'll be very interested to hear how it goes.amz4u2nv wrote:markk - ordered yesterday worked out £50 for both - £25 discount if both added to the basket.
Thought I would get it and see what I could do with it. If it doesnt work give it back...
Monitoring Gas Usage - UK
Moderators: leecollings, remb0
-
- Posts: 267
- Joined: Tuesday 14 January 2014 14:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Monitoring Gas Usage - UK
Running Domoticz on Pi3 with RFXtrx433e. LWRF power sockets and dimmer switches. Integrated my existing wirefree alarm PIRs and door contacts with domoticz. Geofencing with Pilot. Harmony Hub. Tado for Heating. Now playing with mysensors.
-
- Posts: 267
- Joined: Tuesday 14 January 2014 14:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Monitoring Gas Usage - UK
Sorry, I'm picking this up a long way down but I've just started looking at Gas monitoring. The picture posted by the threadstarter looks identical to mine. No wheel but there is an RJ11 socket underneath the far right digits. I've plugged in an RJ11 cable in mine and then the two centre wires from this to a reed switch and found this reads the pulses. Now to read up about how I could connect this using mysensors I suppose!stlaha2007 wrote:Have you seen the picture from threadstarter. Seems to me he doesn't have a turning wheel.ThinkPad wrote:Have a look at the MySensors project.
For the reflective mirror in the counting reel, a TCRT5000 / CNY70 photosensor can probably be used. But your gasmeter might also have a little magnet in the counter reel, maybe you can pickup this signal with a so called 'reed contact'.
I however, have looked at suggested MySensors, looks promising but need lot of cabling from outside meterhouse into central nervecenter on 2nd floor
For me: my setup works for now. Builded my own gateway with bash and tesseract on domoticz-pi.
Im extending it with electricity and watermeter in a couple of days.
Sent from my D6503 using Tapatalk
Running Domoticz on Pi3 with RFXtrx433e. LWRF power sockets and dimmer switches. Integrated my existing wirefree alarm PIRs and door contacts with domoticz. Geofencing with Pilot. Harmony Hub. Tado for Heating. Now playing with mysensors.
- Marci
- Posts: 532
- Joined: Friday 22 January 2016 18:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8153
- Location: Wakefield, West Yorkshire UK
- Contact:
Monitoring Gas Usage - UK
For the pictured gas meter, I ordered the below... early versions of that meter don't have RJ45 etc, but still have the magnet in the dial, and mounting point for the module below. I snipped wires from sensor to transmitter and attached directly to RPi GPIO, and used a python script to do the counting & calculations. The rest went in the bin: https://www.amazon.co.uk/gp/aw/d/B004MQ ... UTF8&psc=1
S'just a software-debounced magnetic reed sensor that sits by the right hand zero.
EDIT: £36 direct - http://www.saveometer.com/store.aspx?As ... eSupport=1
S'just a software-debounced magnetic reed sensor that sits by the right hand zero.
EDIT: £36 direct - http://www.saveometer.com/store.aspx?As ... eSupport=1
Extended Domoticz homebridge-plugin for latest Homebridge - adds temp/humidity/pressure sensors, power consumption sensors, DarkSkies virtual weather station support, YouLess Meter support, general % usage support & switch/lamp status checking!
-
- Posts: 267
- Joined: Tuesday 14 January 2014 14:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Monitoring Gas Usage - UK
So the connector bit you kept I have already for mine? Seems all i need is a Pi and your know how then?!Marci wrote:For the pictured gas meter, I ordered the below... early versions of that meter don't have RJ45 etc, but still have the magnet in the dial, and mounting point for the module below. I snipped wires from sensor to transmitter and attached directly to RPi GPIO, and used a python script to do the counting & calculations. The rest went in the bin: https://www.amazon.co.uk/gp/aw/d/B004MQ ... UTF8&psc=1
S'just a software-debounced magnetic reed sensor that sits by the right hand zero.
EDIT: £36 direct - http://www.saveometer.com/store.aspx?As ... eSupport=1
Running Domoticz on Pi3 with RFXtrx433e. LWRF power sockets and dimmer switches. Integrated my existing wirefree alarm PIRs and door contacts with domoticz. Geofencing with Pilot. Harmony Hub. Tado for Heating. Now playing with mysensors.
- Marci
- Posts: 532
- Joined: Friday 22 January 2016 18:00
- Target OS: Raspberry Pi / ODroid
- Domoticz version: 3.8153
- Location: Wakefield, West Yorkshire UK
- Contact:
Monitoring Gas Usage - UK
https://github.com/PatchworkBoy/gaspulse
Wire sensor between a gpio pin and grnd. Set gas_sensor variable to gpio pin.
Make 3 meter sensors in Domoticz, set IDs for these towards top of file (read the code, all fairly apparent).
Touch the 3 log files at top of script. Set url etc for your Domoticz instance.
Run in background with nohup &. It'll then update the virtual sensors in Domoticz every 5 mins.
Wire sensor between a gpio pin and grnd. Set gas_sensor variable to gpio pin.
Make 3 meter sensors in Domoticz, set IDs for these towards top of file (read the code, all fairly apparent).
Touch the 3 log files at top of script. Set url etc for your Domoticz instance.
Run in background with nohup &. It'll then update the virtual sensors in Domoticz every 5 mins.
Extended Domoticz homebridge-plugin for latest Homebridge - adds temp/humidity/pressure sensors, power consumption sensors, DarkSkies virtual weather station support, YouLess Meter support, general % usage support & switch/lamp status checking!
-
- Posts: 267
- Joined: Tuesday 14 January 2014 14:50
- Target OS: Raspberry Pi / ODroid
- Domoticz version:
- Contact:
Re: Monitoring Gas Usage - UK
Thank you. I'll have a go this weekendMarci wrote:https://github.com/PatchworkBoy/gaspulse
Wire sensor between a gpio pin and grnd. Set gas_sensor variable to gpio pin.
Make 3 meter sensors in Domoticz, set IDs for these towards top of file (read the code, all fairly apparent).
Touch the 3 log files at top of script. Set url etc for your Domoticz instance.
Run in background with nohup &. It'll then update the virtual sensors in Domoticz every 5 mins.
Running Domoticz on Pi3 with RFXtrx433e. LWRF power sockets and dimmer switches. Integrated my existing wirefree alarm PIRs and door contacts with domoticz. Geofencing with Pilot. Harmony Hub. Tado for Heating. Now playing with mysensors.
-
- Posts: 39
- Joined: Thursday 08 December 2016 20:50
- Target OS: Linux
- Domoticz version:
- Contact:
Re: Monitoring Gas Usage - UK
Sounds exactly like what I had in mind - do you mind sharing your code?stlaha2007 wrote:Hi there,
Im not from UK but Netherlands. Here part of the household have smartmeters. Unfortunately mine will get one scheduled for end of 2017. So i have almost the same start, an analog meter with digits.
What i have done is read the number with an IPcam (bought this cheap €55,- d-link dcs-933), tried with irleds in nightvision (bad results of the reflected irleds), got a usb-ledlight (plusminus € 6,-).
Now the image is well lit without reflection (lot of trail and error).
Read the image with wget into domoticz sdcard.
Installed tesseract and imagingtools for crop, grayscale and OCR (tesseract) the number into file.
Then after OCR write the number with curl into json request into gasmeter device.
Created cronjob to read every 59th minute of the hour to get the reading of this gasmeter.
Need to say im in the testfase now, reading only the white-on-dark digits. Planning on reading the digits in de redbox later.
And still need to find out which number and divider needs to be fed and adjusted to get correct use statistics.
Sent from my D6503 using Tapatalk

Thanks,
M
-
- Posts: 370
- Joined: Monday 05 October 2015 10:16
- Target OS: -
- Domoticz version:
- Contact:
Re: Monitoring Gas Usage - UK
I don't mind to share. However abandonned the testfase. Very unstable 65% accurate digitsmikkel75 wrote:Sounds exactly like what I had in mind - do you mind sharing your code?stlaha2007 wrote:Hi there,
Im not from UK but Netherlands. Here part of the household have smartmeters. Unfortunately mine will get one scheduled for end of 2017. So i have almost the same start, an analog meter with digits.
What i have done is read the number with an IPcam (bought this cheap €55,- d-link dcs-933), tried with irleds in nightvision (bad results of the reflected irleds), got a usb-ledlight (plusminus € 6,-).
Now the image is well lit without reflection (lot of trail and error).
Read the image with wget into domoticz sdcard.
Installed tesseract and imagingtools for crop, grayscale and OCR (tesseract) the number into file.
Then after OCR write the number with curl into json request into gasmeter device.
Created cronjob to read every 59th minute of the hour to get the reading of this gasmeter.
Need to say im in the testfase now, reading only the white-on-dark digits. Planning on reading the digits in de redbox later.
And still need to find out which number and divider needs to be fed and adjusted to get correct use statistics.
Sent from my D6503 using Tapatalk![]()
Thanks,
M

I have solarpanels and a smartmeter since january this year. Only using a piece of code to do the snapshot of the watermeter with some resizing to 'remotely' read the watermeter. And 'still' working on the trct5000 gpio version.
If your still interrested. I can try digging up the code pieces. Let me know, ok?
Sent from my D6603 using Tapatalk
Who is online
Users browsing this forum: No registered users and 1 guest