Gas monitoring?

5 replies [Last post]
AndrewJ
Offline
United Kingdom
Joined: 22 Nov 2012

Hi All,

Im currently running my CC Envir with the CT Clamp for Electric and it seems to work fairly well despite the 6 second updates, now on to the next phase as it were....

Gas monitoring, i've seen various websites (links below) that talk of modifying an optial sensor with a reed or hall effect switch etc

my question is should i use a CC dev board using one of the spare CC channels importing that data into the HAH/Pachube i can also monitor the data from the CC display

or.... is it possible and better to use a roomnode and some clever scripting?

thanks

Andrew

http://www.homeautomationhub.com/content/script-read-gas-pulses-cc-dev-b...

http://home.btconnect.com/brettoliver1/Gas_Meter/Gas_Meter.htm

http://jtlog.wordpress.com/2009/05/07/current-cost-gas-meter-monitoring/

http://jtlog.wordpress.com/2009/06/22/my-first-currentcost-development-b...

http://john.crouchley.com/blog/archives/345

http://john.crouchley.com/blog/archives/322

http://www.virtualnet.demon.co.uk/#Gas

mark_baldwin
Offline
Blackburn, United Kingdom
Joined: 19 May 2012
gas monitor

Hi Andrew

I have used a CC dev board in the past with a few added components (you would be surprised how many times the meter stopped with the magnet over the reed switch) but now using a modified roomnode that uses the humi to store the number of pulses since last transmission -- ack cycle. It transmits every 2 minutes and stores the pulses until it recieves an acknowledge back from the HAH. I usually get 11 pulses max when the boiler is on full burn.

 

Mark

AndrewJ
Offline
United Kingdom
Joined: 22 Nov 2012
Hi Mark,i didnt actually

Hi Mark,

i didnt actually consider the meter stopping on the reed switch - is this a show stopper for a CC dev board? could you not code up a a small micro to sample the pulse and not count (transmit) until its moved on? - Edit like this http://john.crouchley.com/blog/archives/322

so using a modified node you would see 11 cycles (cubic meters m3) within a 2 min period? am i reading that right?

would it be worth converting m3 to Kwh for Pahube within the script for the purpose of comparing along side electic and billingetc - Gas KWhours = cubicmeters * correctionfactor * calorificvalue / 3.6

having not played with Room nodes yet how does this integrate with the HAH can i view this using xAPFlash on my Joggler?

too many questions i know sorry!! :)

thanks

Andrew

mark_baldwin
Offline
Blackburn, United Kingdom
Joined: 19 May 2012
gas monitor

Hi Andrew

I added a flip flop to the dev board that was set on a pulse and reset when the LED on the dev board flashed (transmit complete) I also added a cap in line with the pulse from the reed switch to only allow one pulse through, not multiple if the magnet stopped in the wrong position.

I see 11 pulses max and I was going to convert this to kWhr but the calorific value of the gas changes and so without using a lookup to the current calorific value, it would just be an estimate. At the end of the day you pay your bill based on units of gas and the gas boards fiddle factor, so I just upload to cosm and sen.se the current pulses and keep a daily record of pulses using an app on sen.se. It is easy enough to do on the HAH too. I see the current pulses at dbzoo.livebox.jeenode:gas-moitor.count so yes you could see the end point on the joggler.

Hope that helps

Mark

see here http://www.homeautomationhub.com/content/gas-monitor-jeenode

and here http://www.homeautomationhub.com/content/script-read-gas-pulses-cc-dev-b...

AndrewJ
Offline
United Kingdom
Joined: 22 Nov 2012
Hi Mark,i see that makes

Hi Mark,

i see that makes sense, so out of interest why did you not stick with the CC dev board solution?

just trying to understand why this isnt the easiest solution for counting the pulses?

i notice Brett talks about collecting a couple of BSC endpoints i.e usage and reading

Thanks

Andrew

mark_baldwin
Offline
Blackburn, United Kingdom
Joined: 19 May 2012
I had a spare roomnode and a

I had a spare roomnode and a need to write some code :) I had already done the CC dev board.

The beauty of using a roomnode is you can store the pulses on it if you wish and you get an outside temperature and light level as a bonus. With the CC dev board you just get a reading of 0 or 500...not quite the same

Either way works well though.

I just 'had' to try another way...you know what it's like :)

As an aside, I've just noticed my flakey roomnode is flakey again...hmmmm It's had a new chip, a new crystal, a new pcb, a new rf unit and a new housing. Maybe I'll just change it's address and see how that goes lol

Hardware Info