The cake fairy
September 23, 2009 at 18:33 | In Life, the Universe, and Everything | 2 CommentsTags: cake, CurrentCost, homecamp, honeymoon, jthouse, letters, marriage, Photos, wedding, work
Reentry from honeymoon to real life was softened a bit by this…
…which was waiting for us when we got home this morning. Looks like the cake fairy got in while we were away! And the milk fairy had restocked the fridge so we could start making up for missed tea without any shopping delays!
It’s been a fantastic September so far, but it’s not over yet. The rest of the month I will mostly be:
- Married!
- Unpacking
- Going back to work tomorrow- urg!
- Catching up (what’s been happing the last few weeks? Anything interesting?)
- Writing lots of thank you letters
- Looking at wedding photos
- Looking at honeymoon photos
- Finding out why @jthouse is frozen
- Working on my second CurrentCost development board circuit (this time sensing pipe temperature- any clues?!) inspired by the homecamp blog
- Taking things apart
- Going to another wedding!
- Other stuff I’ll find out about when I risk looking at my inbox in the morning
But first, of course, I’ll be eating cake! (And sleeping!)
Gas meter online
July 10, 2009 at 21:22 | In Life, the Universe, and Everything | Leave a CommentTags: CurrentCost, gas, gas meter, house, meter, pachube
Finished the ice cream, so the gas meter monitoring circuit is now installed…
and publishing to Pachube…
My first CurrentCost development board circuit
June 22, 2009 at 17:59 | In Ones and Zeros, Uncategorized | 6 CommentsTags: 555 timer, circuit diagram, CurrentCost, energy, gas, gas meter, home, home automation, home camp, homecamp, house
The result of a fair bit of googling and a weekend of hacking is… [drum roll]… a circuit to connect my gas meter to a CurrentCost Envi using a nice little dev board from CurrentCost…
Now I’m much more familiar with messing about with software, not all this messy hardware stuff, so I’m really hoping to get some feedback to improve this early prototype!
So, my theory is that the stuff on the left will trigger the timer on the positive edge of the pulse from the gas meter. R1 and C1 control the 555 timing; more on that in a second. And the stuff on the right (LED and the CurrentCost dev board) should be triggered whenever the gas meter is running and emitting pulses. It all seems to work, except that I can’t seem to get the timing quite right. The gas meter takes about 1m40s between pulses, and I can choose values for R1 and C1 that trigger the output for the right length of time when a single pulse is detected, unfortunately subsequent pulses don’t keep the output on as I was hoping. The best I’ve managed is with R1 = 3M ohms and C1 = 100uF, which does stay on as long as there are pulses from the meter… unfortunately just for a little too long at 5 minutes. Still, at least the CurrentCost Envi will get a reading all the time the boiler is running, and it won’t get stuck on if the meter stops on the portion of the dial where the reed switch is closed.
Any comments with glaring errors, small problems, improvements, or a completely different way to do it?!
Updated: looks like I was having problems with left and right in my first description! Hopefully I’ve got them the right way round now! (2 July 2009)
Update: for an alternative approach (latching a pulse and clearing it when the cc board transmits) take a look at the circuit and photos on John’s blog. (9 July 2009)
GasCost
June 20, 2009 at 09:21 | In Ones and Zeros | 1 CommentTags: 555 timer, CurrentCost, energy, gas, gas meter, home, home automation, home camp, homecamp, house
I’m getting pretty close to getting the gas meter hoked up to CurrentCost. Not quite the finished thing, but was pretty excited when I got this working…
It’s a 555 timer circuit (using a low power 555 chip) which I’m hoping will keep the CurrentCost dev board transmitting a value as long as the gas meter is running. I’ve since added a capacitor to trigger on an edge so it shouldn’t keep transmitting if the meter stops on the ‘pulse’ position, which is probably around 1/8th of the time on my meter.
I wasn’t quite sure everything was working when I finished last night, but it does seem to do what I want when I was showing Jo this morning, so hopefully all I need to do is get the timing right for the gas meter, rather than me hitting a button every few seconds. More details to follow if it does work.
Current Cost gas meter monitoring?
May 7, 2009 at 21:45 | In Ones and Zeros | 6 CommentsTags: CurrentCost, gas, homecamp, meter, monitor, pachube, PIC, pulse, Schlumberger, smart-meter
As revealed at the second homecamp, Current Cost have a very nice addition to their array of energy monitoring tricks: basically a little circuit board sporting a microchip (a PIC16F689 if my squiniting is accurate) and a wireless transmitter, so the gas monitoring item on my to do list is looking a little more interesting all of a sudden.
Richard has already hooked up his gas meter to Pachube but for a few reasons I have slightly different plans. Firstly, my gas meter is not the same. Possibly better and worse for this kind of exercise at the same time: it has an RJ11 socket for counting pulses… but it is covered and declares that only approved equipment should be used. Maybe not a huge deal, but it is gas and we did have three van loads of people looking for a gas leek in the meter cupboard recently, so kind of keen to avoid any… mistakes! Though I suspect that an optical solution, leaving the meter untampered, would not be any safer but would be easier to overlook next time the meter is read. Not that it has any reflective spot on the dials as far as I’ve seen so far. (Any recommendations from someone with experience counting pulses on a Schlumberger R5 meter, or similar, would be great.)
Second difference is that I’d like to go wireless, and if possible avoid needing an arduino. The gas meter is pretty much outside the other side of the house to my home server, with no power supply. So a wireless transmitter, like the one attached to the electricity cable, would be great. It just so happens I have one of those as well now- handy!
Thirdly, having a single display with all the meter readings on has to be the smart thing to do. The display I already have, and the one which will pick up signals from that transmitter, is the Current Cost. Perfect if I didn’t want a server running to connect up to Pachube/the internet, and also perfect if it’s already connected.
So all I need to do is:
- decide how to read pulses on the gas meter (peel off that cover, or come up with some Heath Robinson alternative)
- count the pulses and produce a pulse for the Current Cost transmitter development kit at the appropriate increments
- find out how to pair the transmitter as a gas channel, instead of an appliance channel (if that’s possible)
- use some gas
Update: after a bit more investigating I think I’ll be using the socket on the gas meter; I’m hopeful a repurposed spare cable from one of the many modems TalkTalk sent will do the trick. I was also wondering about simplifying the gas meter monitor to just register when I’m using gas, rather than worry about the rate. Some sort of 555 timer based circuit to keep the Current Cost dev board input 2 on between pulses maybe? The only thing that runs on gas is the boiler, so a simple on/off signal should be good enough to work out what I’m using. Dale’s recent roundup of HomeCamp 2 has some tantalizing hints of gas monitoring as well. (22 May 2009)
Pachube and Yahoo Pipes part 1: show me the data
December 5, 2008 at 00:04 | In Ones and Zeros, Uncategorized | 3 CommentsTags: CurrentCost, homecamp, pachube, yahoo, Yahoo pipes
I’ve just been playing around with Yahoo Pipes for the first time in ages to see if it might be useful in mangling data feeds from Pachube. (Would have been useful to have tried this out before homecamp but never mind!) Early signs looked good- falling off a log looks difficult in comparison to getting Pachube data into a Yahoo Pipe. Having said that, finding data feeds to start working with is not so easy. If I want to start doing something with power data, I have to manually find the relevant feeds on the Pachube site with a tag search. It would be great to be able to get a feed of data feeds; that would be useful for keeping up with new data feeds that get added to Pachube as well as being a useful input to a Yahoo Pipe.
So the simple example pipe for part 1 does just this kind of aggregation except that, because it’s a hack, it only includes a specified set of feeds. The default user input list is just the feed IDs I manually copied from that tag search for ‘power’:
It should work using my API key if you don’t have one, but you’ll need your own if you clone the feed to do something more interesting.
Coming up in part 2: doing something useful with the data.
First Century
September 19, 2008 at 01:00 | In Uncategorized | 1 CommentTags: accessibility, anniversary, blogging, Blogs, cake, Cornwall, CurrentCost, diamond geezer, home server, iphone, mdm, Ordnance Survey, Perranporth, pirates, weblog
Almost by coincidence (i.e. only slightly contrived after I noticed how close it was) this is the first anniversary of Notes from a small field and the 100th post! If you don’t like blog posts about blog stats, look away now!
- First post: Hello world! on 19 September 2007, and I didn’t even write it!
- Most popular post (hits): Cheap low power home server options with 1,026 hits
- Most popular post (comments): DSL, Puppy Linux, Netvoyager and CurrentCost with 12 comments
- Least popular post (not including this one!): Perranporth, Cornwall with 3 hits, which is a shame because the Ordnance Survey still do nice wallpaper pics
- Most popular search term: “low power home server” 112 times
- Busiest day: Thursday, July 31, 2008 with 306 hits
- Total views: 8,994
- Spam: 2,763 (all caught thanks to Akismet)
Luckily it’s not all numbers. Here’s my roundup from the past year/99 posts:
- Favourite post (other than the obvious one!): You can do anything with stop motion animation
- Favourite comment: if I’d have started this blog sooner, there would have been a lot of posts about fitting the kitchen!
- Favourite incoming link: Blogrolled
- Most useful post: Setting up an MDM Server development environment (useful but not necessarily interesting! I’ve pointed a lot of people at work to it and it seems to help)
- Most useless post: iPhone accessibility (nobody seems interested, which is a shame- must try and catch up with Andy about trying it out on the touch screen kiosk in the ETS lab instead)
If you got this far, well done! If all goes to plan, I’ll have some cakes at my desk in Hursley to celebrate.
P.S. Aarrr!
Update: If you were working at home today/don’t work in Hursley, you missed out… yum…
Not Mashed
June 24, 2008 at 23:44 | In Life, the Universe, and Everything | Leave a CommentTags: bbc, Carbon Goggles, CurrentCost, hackday, mashed, mashed08, slorpedo, Travel Streamr, tweetject, tweetjects, twitter
Last weekend saw the second London Hackday, now called Mashed, and it was great to hear that CurrentCost mania is continuing to spread, with Rich and Dale’s CurrentCost Live project winning the Guardian prize! (See the presentation that led to fame and fortune on YouTube!)
Rich and Dale weren’t the only people from Hursley at Mashed, nor were they the only winners! Steve Godwin also had a winning entry with Twitter on TV. (No video that I can find as yet!)
I missed this year’s hack day but it looks like Mashed was another great weekend, even keeping up the tradition of opening the roof from last year! There were some members of team supernova back again and hacking though. Paul was interviewed about his project(s) on the day, and still had time to get Travel Streamr working. Jim’s call for Carbon Goggle helpers clearly worked and you can see the results in action on YouTube.
Mashed might be over but I hope that doesn’t mean the end to the projects it created. SLorpedo has certainly made one or two appearances since last year. Watch out for more CurrentCost, TV Twittering, Travel Streamr and Carbon Goggles in the months ahead. (I’m also on the look out for more details about the other projects, so leave a link if you have one.)
Update: finding a few of the twitter bots that got a mention to add to the tweetjects @jthouse follows. Also discovered that Carbon Goggles made an appearance in the BBC news article on the event. (25 June 2008)
Graphing CurrentCost using RRDtool
June 1, 2008 at 23:02 | In Ones and Zeros | 3 CommentsTags: CurrentCost, home, home automation, Netvoyager, rrdtool, SLAX, Wii
I’ve not been doing much with my CurrentCost data lately, having been slightly distracted with upgrading my home server OS. Well, upgrading is possibly a slightly odd description for a running a new live CD system but to compile rrdtool I grabbed the latest version (6.0.7) of SLAX instead of SLAMPPLite which is based on an older release. I really like the new version of SLAX so I’ve been experimenting with some home server type customizations, manually so far since MySLAX creator only seems to understand older versions, but I might give SLAX Tools a go too.
Anyway, while not quite as interesting as Dale’s CurrentCost bill, I now have a working RRDtool SLAX module. RRDtool seems ideal for graphing CurrentCost data. I’m aiming for something like this example, which would be perfect for viewing on a TV using the Wii but to start with I’ve been giving it a simple trial run over the last day. Here are the results so far:
Looking pretty good, and I think there are a few more features of RRDtool that could prove useful.
Update: found another great example of using RRDtool for CurrentCost data, which has a link to another page with exactly the kind of RRDtool settings you’ll need for a CurrentCost meter! (17 November 2008)
Update: looks like Chris Dalby has RRDtool hooked up as well now. Hope to post about RRDtool again soon with the commands I’m using; just need a couple more tweaks! (7 December 2008)
House blogject/tweetject experiments
May 3, 2008 at 23:34 | In Ones and Zeros | 1 CommentTags: blog, blogject, curl, CurrentCost, google, graphs, house, mtsend, tweetject, twitter, wordpress
Now that I have my home server pretty much sorted, I’ve had a chance to start experimenting with a few ideas for what to actually do with it.
It’s already publishing CurrentCost data, along with several others, but it’d be nice to do a bit more. One thing that is definitely on my to do list is to hook it up to Twitter. Andy’s house uses Twitter to communicate, which is getting some interest. It’s easy to twitter something from a home server, although not quite so easy to make it interesting, or at least not way too talkative and repetitive. Plus Twitter is a fantastic way to get text message alerts from your house (and a million and one other uses).
The other thing I’d quite like is a nice web based dashboard to replicate some of the information on the CurrentCost screen, but it’s only a tiny home server and, while it does run XAMPP, there’s not much memory left afterwards. It would also be kind of nice to avoid any security holes by not running my own web server. I’ve done a few experiments and it looks like WordPress is the perfect answer: I’ve added a House page which I can update with Google graphs using mtsend.py. The alternative would be to use new posts each time, which would be great to keep a history but that would probably fill up my weblog with even less interesting stuff than is already here!
Quite pleased with the results so far. Now I just need to actually automate some of it!
Blog at WordPress.com. | Theme: Pool by Borja Fernandez.
Entries and comments feeds.






