Jack's blog

Reviews of energy saving lamps (LED and CFL)

Brief reviews of some energy saving lamps we've used.

Using computer science to improve environmental sustainability

I believe that computer science geeks have an important role to play in engineering our way out of the various environmental problems we currently find ourselves lumbered with.

This blog post is a non-exhaustive list of interesting subject areas for folks who, like me, are interested in both computer science and environmental sustainability. It aims to provide an (incomplete) answer to the question: how can a computer scientist contribute measurable improvements to our environmental sustainability?

Energy use recommendations

There are a number of systems and projects out there which aim to provide advice on your energy consumption. I don't personally do research on this stuff but it is quite closely related with my core work of disaggregation. So I wanted to start a list of energy use recommendations projects.

THIS LIST IS BY NO MEANS EXHAUSTIVE YET! Please, if you know of an energy recommendation project not currently on this list then please leave a comment and I'll add it! (Makes me think we need a wiki for this type of stuff...)

Smart Meters Equipment Tech Spec Version 2 (SMETS2)

By 2019 2020, all homes in the UK will have a smart meter installed. DECC is working on the spec for these meters at the moment. In the context of my PhD on smart meter disaggregation, I have several questions I need to answer about these specs:

  • exactly which power metrics will UK smart meters expose to the home area network (HAN)? (just active power? And reactive power? Can we distinguish between leading vs lagging? THD?)
  • report rate? (one measurement every 5 seconds? The 2011 "Functional Requirements Catalogue" said "The smart metering system shall support capture of consumption and demand data at 5 second intervals."
  • and how could a disaggregation system read these data?

The Smart Meters Equipment Tech Spec Version 2 (SMETS2) was released in Jan 2013. Some useful paragraphs for those of us interested in disaggregation:

UK-based disaggregation researchers

Are you based in the UK and working on some aspect of smart meter disaggregation (Non-Intrusive Load Monitoring / NILM / NIALM)? If so, please get in touch (either leave a comment at the bottom of this blog post or contact me directly). I was speaking to Oli Parsons and he came up with the great idea that we should have a UK disaggregation meetup!

UKERC International Energy Summer School

I've just stumbled across an interesting opportunity: a week-long summer school at Warwick from 7-12th July 2013 specifically for 2nd year PhD students doing PhDs related to Energy. It's free to attend but apparently the summer school is significantly oversubscribed. It sounds like it might be a good opportunity to present my work to a wide community of researchers and also to network with a diverse bunch of interesting people.

I wonder if any of the (small number of!) folks who read my blog have been in previous years (or might be tempted to apply this year)?! I'm going to apply now...

Update 27/3/2013: I've been accepted to attend. Yay!

Emails requesting I remove links from my site

Over the past few months, I have received three emails along the lines of this one:

It has come to our attention that your site may be linking to our own in a manner which we believe may be mutually harmful in SEO terms. For this reason, I would be very grateful if you would please remove all links to this site at your earliest convenience, letting me know that you have done so.

If you run a blog, have you received similar emails? My standard reply is along these lines:

I am happy to remove the link to <company name> from my site if necessary. However, before I do that...

(Forgive me for being paranoid and ultra-sceptical but...)

How do I know that you're not working for a competitor to <company name> who is trying to decrease the ranking of <company name> on search engines? I see that your email address comes from the domain <company name.suffix> but we all know that it's trivial to fake the "from" address of an email.

Please can you confirm that if I was to contact <company name> directly then they would confirm that you are working for them?

I understand that the Google Penguin search engine algorithm update targets "black-hat SEO techniques" such as participating in link schemes. However, I must emphasise that my website is just an "organic" blog. I was not paid to accept links from <company name>. If you feel that <company name> has been unfairly targeted by Google then please complain to Google using their Penguin feedback form.

Again, I'm really sorry to be so very sceptical about this. I just want to make sure I'm not being duped.

Following my reply, all three people who have contacted me have, so far at least, gone quiet.

Summary of my energy monitoring code

This is just a quick summary of the code I've been working on recently. The ultimate aim of all the code is to measure the whole-house electricity consumption and the consumption of individual appliances as cost-effectively as possible.

View on Flickr

  • rfm_edf_ecomanager - C++ code for running on a Nanode (an Arduino clone with easy wireless support and networking). This code allows the Nanode to talk directly to multiple Current Cost whole-house sensors (CC TXs) as well as to multiple EDF Transmitter Plugs (CC TRXs). This code aims to capture data from the sensors as reliably as possible. For example, it learns when each CC TX is due to transmit and ensures that it stops polling the CC TRXs for a short window of time around the CC TX's ETA. You talk to the Nanode over the serial port. You can send simple commands. It sends data back to the PC in a simple JSON format.
  • rfm_ecomanager_logger - A Python script for communicating with the rfm_edf_ecomanager Nanode system. rfm_ecomanager_logger provides a command-line tool for "pairing" sensors with the logging system; assigning human-readable names to those sensors and then logging the data in a REDD-formatted form. Again, the emphasis is on reliable logging. It attempts to restart the Nanode if it dies. It goes to quite a lot of effort to make sure we correctly time stamp data (which is surprisingly difficult, especially given that the Nanode doesn't have a real time clock).
  • babysitter - A Python module for "babysitting" a logging system. Sends an email if a sensor dies or if rfm_ecomanager_logger fails. Also sends a "heartbeat" email once a day with some stats and a graph produce by powerstats:
  • powerstats - Produce stats and graphs from REDD-formatted power data. Mainly used for checking the health of sensors.
  • snd_card_power_meter - System for recording voltage and current waveforms at 96 khz, 20 bit per channel using a PC's sound card. Saves down-sampled high frequency data and also calculates real power and apparent power.

Also, I wrote a long guide to setting up a complete logging system which uses all the code listed above and is based on a small, low-cost, low-power Intel Atom system running Ubuntu Server.

"Smart room-by-room heating control for homes"

Imperial MSc Computing Science students do a 3-month individual project over summer. Below is another proposal I and my Ph.D. supervisor have just submitted. Of course, there are no guarantees that any students will be interested...

General "smart home" and "home automation" links

Just a list of links with some notes. By no means exhaustive. Please, please go ahead an leave a comment if you know of any other good home automation links!

  • Robert Hekkers (an amazing hacker in Holland) has done lots and LOTS of "smart home hacking". Here's the web interface to his Domotica home automation / monitoring system. He monitors gas usage, power usage, water, heating, light, temperature, motion, taking photos when someone presses the door bell, which windows are open etc etc. Remarkable stuff.
  • Home Automation Hub (HAH): an open-source system running on a re-purposed router. Active forum and wiki.
  • Google's "Andriod@Home" project.
  • WikiPedia page on Home Automation
  • Fhem "is a GPL'd perl server for house automation. It is used to automate some common tasks in the household like switching lamps / shutters / heating / etc. and to log events like temperature / humidity / power consumption. The program runs as a server, you can control it via web or smartphone frontends, telnet or TCP/IP directly."
  • automatedhome.co.uk
  • SmartThings on Kickstarter "SmartThings makes it easy to connect the things in your physical world to the Internet. You can monitor, control, automate, and have fun with them from anywhere - at home or abroad, city or country. We've made it possible to install apps that mash up and interact with your SmartThings, as well as online and other services, unlocking a world of possibilities and unlimited potential to make your life easier, more convenient and fun. We call these SmartApps."
  • nest - smart and pretty heating control (but no room-by-room control?! gah.)
  • Open Remote - "Open Source Automation Platform"
  • Open standards are essential (surely?)
  • OPENARCH "Openarch is a real prototype of a smart home. The first home designed from scratch to incorporate a digital layer connecting the house and its elements to the Internet. Its inhabitants lead a new digital and connected life. It is flexible and thanks to its ability to transform, it can adapt to any condition that the user requires." (thanks Becky for the link!)


Subscribe to RSS - Jack's blog