{"id":98,"date":"2008-11-05T13:10:34","date_gmt":"2008-11-05T13:10:34","guid":{"rendered":"https:\/\/www.bishnet.net\/tim\/blog\/?p=98"},"modified":"2010-11-11T13:01:41","modified_gmt":"2010-11-11T13:01:41","slug":"currentcost-electricity-meter","status":"publish","type":"post","link":"https:\/\/www.bishnet.net\/tim\/blog\/2008\/11\/05\/currentcost-electricity-meter\/","title":{"rendered":"Current Cost Electricity Meter"},"content":{"rendered":"<p>It seems to be the &#8220;in thing&#8221; to do at the moment; get a <a href=\"http:\/\/www.currentcost.co.uk\/\">Current Cost electricity meter<\/a> and produce pretty graphs. I couldn&#8217;t resist, so I picked one up with a USB cable to connect it to my server.<\/p>\n<p>The system itself is trivial to install. There&#8217;s a box with a clamp that attaches to your mains supply (your side of the house meter), and a display which can be placed anywhere in your house (within the wireless range of the two units). Turn it on and it just works. I adjusted the electricity prices, but it&#8217;s not clear how accurate that&#8217;ll be given the multiple tiers of pricing we have.<\/p>\n<p>So even without connecting it to a PC it&#8217;s a pretty useful device. Although I am developing a habit of running around looking for what&#8217;s caused the usage to jump up. Hopefully that&#8217;ll pass \ud83d\ude42<\/p>\n<p>Connecting it to my FreeBSD server took a bit of effort. It needed the ucom module, but (I think) because I had ugen built in to the kernel it was using that instead. A kernel rebuild to include both fixed it. I also got some strange issues connecting to the device. On the first connect I got the expected XML output, but on the second connect I got messed up output. Turns out not to happen when I use my script to parse the data, so I don&#8217;t think I&#8217;ll worry about it.<\/p>\n<p>I did the graphing using <a href=\"http:\/\/oss.oetiker.ch\/rrdtool\/\">rrdtool<\/a>. I&#8217;d like to take the credit for doing that, but I just stole all of <a href=\"http:\/\/www.jibble.org\/currentcost\/\">Paul&#8217;s work<\/a>. Thanks Paul \ud83d\ude42<\/p>\n<p>The excitement has gone now, but I&#8217;m sure over time the data will prove to be interesting and useful.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>A look at the Current Cost electricity meter and how to produce pretty graphs from it.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[3,1],"tags":[],"class_list":["post-98","post","type-post","status-publish","format-standard","hentry","category-computing","category-general"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/posts\/98","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/comments?post=98"}],"version-history":[{"count":7,"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/posts\/98\/revisions"}],"predecessor-version":[{"id":344,"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/posts\/98\/revisions\/344"}],"wp:attachment":[{"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/media?parent=98"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/categories?post=98"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.bishnet.net\/tim\/blog\/wp-json\/wp\/v2\/tags?post=98"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}