<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>
<channel>
	<title>Chris Barnes</title>
	<atom:link href="http://chris.gg/feed/" rel="self" type="application/rss+xml" />
	<link>http://chris.gg</link>
	<description>Thoughts from a PHP web developer and general technology geek</description>
	<lastBuildDate>Tue, 26 Mar 2013 16:32:24 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5.1</generator>
		<item>
		<title>Heatmiser PRT-TS Wi-Fi thermostat not working after firmware update</title>
		<link>http://chris.gg/2013/03/heatmiser-prt-ts-wi-fi-thermostat-not-working-after-firmware-update/</link>
		<comments>http://chris.gg/2013/03/heatmiser-prt-ts-wi-fi-thermostat-not-working-after-firmware-update/#comments</comments>
		<pubDate>Mon, 25 Mar 2013 15:42:16 +0000</pubDate>
		<dc:creator>Chris Barnes</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://chris.gg/?p=949</guid>
		<description><![CDATA[I recently upgraded my PRT-TS Wi-Fi thermostat firmware from 1.2 to 1.6 and found that although it seemed to be working in every other way, it was no longer firing up my boiler when calling for heat. This is because the Heatmiser hardware contains two relays (presumably so it can be shared with models that [...]]]></description>
				<content:encoded><![CDATA[<p>I recently upgraded my PRT-TS Wi-Fi thermostat firmware from 1.2 to 1.6 and found that although it seemed to be working in every other way, it was no longer firing up my boiler when calling for heat.</p>
<p>This is because the Heatmiser hardware contains two relays (presumably so it can be shared with models that also incorporate hot water control), and thermostats shipped prior to 26th January 2012 (which includes mine) are programmed to use the one on the left for central heating, whereas newer thermostats use the one on the right (<a href="http://chris.gg/wp-content/uploads/2013/03/wifi-prt-label-correction.pdf">PDF link</a> - note that although it specifically mentions 1.3 thermostats, mine was a 1.2 and it had the same issue):</p>
<p style="text-align: center;"><img class="aligncenter" title="Updated wiring diagram for PRT-TS Wi-Fi" src="http://chris.gg/wp-content/uploads/2013/03/heatmiser-wifi-wiring-diagram1.png" alt="" width="596" height="659" /></p>
<p>To combat this problem, Heatmiser have two sets of firmware &#8211; the &#8220;A&#8221; set for older thermostats and the &#8220;B&#8221; set for newer thermostats. Unbeknownst to me, I had received version 1.6b when I should have been sent 1.6a.</p>
<p>There are two options to fix this &#8211; either have Heatmiser send out a programmer with the 1.6a firmware, which would take a few days, or &#8211; as I did &#8211; simply rewire the thermostat as per the corrected wiring diagram. Obviously I recommend that you hire a qualified electrician to do this if you&#8217;re not proficient yourself.</p>
<p>Unfortunately it&#8217;s not possible to determine which firmware you have been sent until you&#8217;ve flashed your thermostat with it, so if you decide to upgrade, I recommend you check the label on the rear of your device and check with Heatmiser that they are sending the correct firmware type (A for the top diagram marked with a cross, B for the middle diagram marked with a tick).</p>
]]></content:encoded>
			<wfw:commentRss>http://chris.gg/2013/03/heatmiser-prt-ts-wi-fi-thermostat-not-working-after-firmware-update/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Review: TopCashBack</title>
		<link>http://chris.gg/2013/02/review-topcashback/</link>
		<comments>http://chris.gg/2013/02/review-topcashback/#comments</comments>
		<pubDate>Wed, 13 Feb 2013 13:42:37 +0000</pubDate>
		<dc:creator>Chris Barnes</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://chris.gg/?p=938</guid>
		<description><![CDATA[I&#8217;ve been a loyal Quidco member since 2007, and have earned a fair bit of cashback through them. But over the past few years, I&#8217;ve been hearing more and more about their main competitor, TopCashBack. I never really felt the urge to try them out until recently when I heard about their new Spend&#8217;n'Save feature. [...]]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve been a loyal <a href="http://www.quidco.com/user/134616/">Quidco</a> member since 2007, and have earned a fair bit of cashback through them. But over the past few years, I&#8217;ve been hearing more and more about their main competitor, <a href="http://www.topcashback.co.uk/ref/chrisbarnes?source=tellafriend">TopCashBack</a>. I never really felt the urge to try them out until recently when I heard about their new Spend&#8217;n'Save feature. This enables you to earn cashback by buying certain products from participating retailers and uploading a picture of the receipt via the TCB mobile app.</p>
<p>The Snap&#8217;n'Save process itself was very quick and easy and definitely something I&#8217;ll be using again. It took less than 24 hours for the receipt image to be approved and for the cashback to show in my account. In this case it was 50p cashback on a £1 4-pack of Mars Bars &#8211; bargain!</p>
<p>On first impression, the TCB site doesn&#8217;t look as polished or well-designed as the Quidco site, and this carries through to the mobile app. Like the Quidco app, it&#8217;s not yet optimised for the iPhone 5, so it appears vertically letterboxed. Also, the In-Store section is a bit of a pain to use: it shows the available offers as a carousel that you have to navigate by swiping right to left, rather than a simple list. It&#8217;s a universal app, so works on the iPad, although it&#8217;s clearly designed to be used in portrait mode only &#8211; it looks very strange in landscape.</p>
<p>Unlike Quidco, which retains the first £5 cashback you earn each year as an admin fee, there is no charge to use TopCashBack. Also they have a unique &#8220;top-up&#8221; feature, so as a new member you earn 101% of the cashback that TCB receives from the retailer. The extra 1% is funded by sponsorship and advertising on the site (in contrast, the Quidco site is ad-free). As you earn more cashback, the top-up amount increases up to a maximum of 10% (i.e. you earn 110% of the cashback). I did a quick straw poll of a few of my favourite retailers, and generally the TCB rate was 101% of Quidco&#8217;s and occasionally even higher. However, Quidco do sometimes have limited-time exclusive rates that TCB seem to be unable to beat.</p>
<p>I will keep my Quidco account for those occasions, and also to take advantage of a couple of features than TCB doesn&#8217;t yet have &#8211; instore cashback (you securely register your credit/debit card numbers on the Quidco site and then automatically receive cashback for card purchases in participating retailers) and check-in cashback (you receive a small amount, typically 5p-25p, for pressing a button in the Quidco mobile app when you&#8217;re near to participating stores). Apart from that, I look forward to using my new TCB account.</p>
<p><em>Please note that if you sign up to either <a href="http://www.topcashback.co.uk/ref/chrisbarnes?source=tellafriend">TopCashBack</a> or <a href="http://www.quidco.com/user/134616/">Quidco</a> via the links in this post, I will receive a kickback. Thanks!</em></p>
]]></content:encoded>
			<wfw:commentRss>http://chris.gg/2013/02/review-topcashback/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>O2 nano sim fiasco</title>
		<link>http://chris.gg/2012/09/o2-nano-sim-fiasco/</link>
		<comments>http://chris.gg/2012/09/o2-nano-sim-fiasco/#comments</comments>
		<pubDate>Tue, 18 Sep 2012 19:23:14 +0000</pubDate>
		<dc:creator>Chris Barnes</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://chris.gg/?p=927</guid>
		<description><![CDATA[After the iPhone 5 was announced on 14 September, as widely anticipated, O2 were initially tight-lipped about their plans to roll out nano SIM cards to existing O2 customers, like myself, who chose to pre-order their iPhone direct from Apple. Perhaps this is to be expected since until very recently they didn&#8217;t know for sure [...]]]></description>
				<content:encoded><![CDATA[<p>After the iPhone 5 was announced on 14 September, as widely anticipated, O2 were initially tight-lipped about their plans to roll out nano SIM cards to existing O2 customers, like myself, who chose to pre-order their iPhone direct from Apple. Perhaps this is to be expected since until very recently they didn&#8217;t know for sure when the new model was going to launch or whether it would indeed require a nano SIM.</p>
<p>However I was pleased to hear the announcement yesterday that nano SIMs would be available from all O2 stores that afternoon. I visited the Rugby town centre store shortly after 1pm and was told that they did have them in stock, but they weren&#8217;t authorised to release them until Friday. I thought this was a little strange, but perhaps the news from O2 HQ was a little slow to trickle down to the stores.</p>
<p>When I got back to my computer, I started a live chat with a customer service agent on the O2 website. After a bit of to-and-froing, the agent told me that O2 had originally planned to release the nano SIMs on that day, but this had now been postponed to Friday 21 September, the iPhone 5 launch date. I asked the agent to request that the website and Twitter feed be updated with this development, and he assured me that this was already in hand.</p>
<p>I also decided to tweet the official O2 Twitter account to find out what was going on &#8211; I seemed to be getting mixed messages and wasn&#8217;t sure who was right. Their <a href="https://twitter.com/O2/status/247727757700788224">reply</a> was that all stores were providing SIMs from that day (Monday) and the confusion should be cleared up now.</p>
<p>However when I returned the store today, the staff there were still adamant that I couldn&#8217;t have my nano SIM until Friday. In fact they were now saying that they didn&#8217;t have any, a blatant lie given what I&#8217;d been told previously. I tweeted O2 back to let them know that the issue was still unresolved, and also embarked upon another live chat. This time I explained my difficulties obtaining a nano SIM from the store and asked if the agent would order one to be posted out instead. He replied with &#8220;Ok&#8221;, then said it would take a few minutes to sort out, and finally came back and said that I could actually pick one up from any store and sent me a link to find my nearest store!</p>
<p>So I phoned the recently-opened store at Junction 1 Retail Park. Someone answered almost immediately and said that they did have nano SIMs available to hand out to customers. I went down to the store, and within five minutes had the new nano SIM in my hand. Akmal, the member of staff who served me, even processed the SIM swap request for me. The new nano SIM is now working in my iPhone 4 (using the included adaptor) ready to switch over to my iPhone 5 when it arrives on Friday, rather than me having to queue up on launch day for a SIM, assuming there were any left.</p>
<p>Judging by some of the comments on Twitter and O2&#8242;s own community forums (<a href="http://community.o2.co.uk/t5/Apple-iOS-Devices-iPhone-iPad/iPhone-5-Nano-Sim/td-p/281348">here</a> and <a href="http://community.o2.co.uk/t5/Apple-iOS-Devices-iPhone-iPad/Nano-sim-where-have-you-tried-and-the-result/td-p/287638">here</a>), I&#8217;m far from the only person who&#8217;s had trouble getting hold of a nano SIM from stores. It seems that O2 head office and the stores aren&#8217;t singing from the same hymn sheet in some cases, the end result being a lot of frustrated and dissatisfied customers.</p>
<p>Before announcing the release of the nano SIMs on the web, O2 really should have made sure that all stores were geared up (and staff sufficiently briefed) to start handing them out. Even better, they could have enabled online ordering, like they do for micro SIMs <a href="http://freesim.o2.co.uk/freesim/?campaign=1030">currently</a>: that system works beautifully; I used it a few days ago to order a micro SIM for my wife (who is inheriting my iPhone 4.)</p>
<p>Obviously I don&#8217;t have first-hand experience of other network operators&#8217; nano SIM rollouts, but I can&#8217;t imagine they&#8217;ve been as shambolic as this, and although the eventual positive outcome at the Junction 1 store went some way towards renewing my faith in the company, the overall experience has made me think twice about blindly renewing my O2 contract each year, given that their customer service appears to have taken a nosedive of late.</p>
]]></content:encoded>
			<wfw:commentRss>http://chris.gg/2012/09/o2-nano-sim-fiasco/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Using a PS3 EyeToy with the Raspberry Pi</title>
		<link>http://chris.gg/2012/07/using-a-ps3-eyetoy-with-the-raspberry-pi/</link>
		<comments>http://chris.gg/2012/07/using-a-ps3-eyetoy-with-the-raspberry-pi/#comments</comments>
		<pubDate>Wed, 25 Jul 2012 13:00:24 +0000</pubDate>
		<dc:creator>Chris Barnes</dc:creator>
				<category><![CDATA[Raspberry Pi]]></category>
		<category><![CDATA[eyetoy]]></category>
		<category><![CDATA[motion]]></category>
		<category><![CDATA[raspberry pi]]></category>
		<category><![CDATA[webcam]]></category>
		<guid isPermaLink="false">http://chris.gg/?p=910</guid>
		<description><![CDATA[Having heard about the new camera driver built into the kernel of the new Raspbian OS image, I decided to have a play, using my PS3 EyeToy camera. The steps below are based on this forum thread, with some changes to reflect my own experience. The Raspberry Pi supports a number of cameras, not just [...]]]></description>
				<content:encoded><![CDATA[<p>Having heard about the new camera driver built into the kernel of the new Raspbian OS image, I decided to have a play, using my PS3 EyeToy camera. The steps below are based on <a href="http://www.raspberrypi.org/phpBB3/viewtopic.php?f=26&amp;t=7397">this forum thread</a>, with some changes to reflect my own experience. The Raspberry Pi supports a number of cameras, not just the EyeToy, so if you have a spare one lying around, give it a go.</p>
<ol>
<li>Install the <a href="http://www.lavrsen.dk/foswiki/bin/view/Motion/WebHome">&#8216;motion&#8217;</a>package:<code>sudo apt-get install motion<br />
</code><br />
This should automatically install the required &#8216;ffmpeg&#8217; package &#8211; if not you can just do <strong>sudo apt-get install ffmpeg</strong>.</li>
<li>Edit the config file:
<p><code>sudo nano/etc/motion/motion.conf</p>
<p></code>To enable daemon mode (so you can run the software in the background without it tying up your terminal):</p>
<p><code>daemon on</p>
<p></code>To increase the resolution to the maximum supported by the EyeToy, change the following lines:<code>width 640<br />
height 480</code></p>
<p>If you want the stream to be viewable from other computers on the network (rather than just the Pi itself):</p>
<p><code>webcam_localhost off</code></p>
<p>If you want to change the port on which the stream is served (default 8080) &#8211; replace 1234 with the desired port number:</p>
<p><code>webcam_port 1234</code></p>
<p>By default, the camera will only start capturing images (and video) if it detects motion. If you want to take regular snapshots whether motion is detected or not, you can change the following line (the value is in seconds):</p>
<p><code>snapshot_interval 60</code></p>
<p>(Press Ctrl+X, Y then Enter to save changes and quit the nano editor)</p>
<p>There are loads of other things you can do such as enable a basic remote control interface, tweak the JPEG quality, set up regular snapshots (by default, snapshots are taken only when motion is detected), customise the text which is overlaid onto the image and change the location to which images are saved (by default these go into <strong>/tmp/motion</strong> which is deleted whenever the Pi is rebooted). Just have a browse through the config file which is fairly well-commented and self-explanatory.</li>
<li>Now plug the EyeToy into a USB port on your Pi. The two LEDs (one red, one blue) should illuminate. These are not necessary for webcam use so you may want to cover them with black electrical tape or similar.</li>
<li>Start up &#8216;motion&#8217; in interactive mode (this is a text-mode app which you can run from the terminal, you don&#8217;t need to be in the &#8216;startx&#8217; GUI:<code>sudo motion -n<br />
</code><br />
(Without the sudo, I get permission errors which I haven&#8217;t yet figured out how to resolve).</li>
<li>Browse to the IP address of your Raspberry Pi on the port you configured earlier (or 8080 if you didn&#8217;t change it) in a Web browser. Firefox works fine, but at the time of writing the current stable version of Chrome seems to have a bug with motion JPEG streams, and only shows the first frame. You can work around this by embedding the stream into a simple HTML page, which works fine in Chrome:<code>&lt;img src="http://ip.address.here:1234" /&gt;</code>
<p>Alternatively you can open the stream in <a href="http://www.videolan.org/vlc/index.html">VLC</a>. You can also browse to the feed on the Raspberry Pi itself, but you will have to install Chrome or Firefox on it as the built-in Midori browser doesn&#8217;t support MJPEG streams.</li>
<li>Once you are satisfied, press Ctrl+C in the terminal to stop the server. You can then start it up in daemon mode:<code>sudo motion<br />
</code></li>
<li>If you need to stop the daemon, get its process ID:<code>cat /var/run/motion/motion.pid<br />
</code><br />
And kill it (replace 12345 with the ID from the above file):<code>sudo kill 12345<br />
</code><br />
If you want to automate this:</p>
<p><code>sudo nano /usr/bin/killmotion<br />
</code><br />
And type in or paste the following lines:</p>
<p><code>#!/bin/bash<br />
sudo kill `cat /var/run/motion/motion.pid`<br />
</code><br />
(Again press Ctrl+X, Y then Enter to save changes and quit)</p>
<p>Finally make the script executable:<br />
<code>sudo chmod a+x /usr/bin/killmotion<br />
</code><br />
And whenever you need to stop the motion daemon, just type:<br />
<code>killmotion</code></li>
</ol>
<p>And there you have it &#8211; a simple baby monitor, security camera or basis for time-lapse photography!</p>
<p>The files can build up quickly though, particularly if you enable regular snapshots, so make sure you have plenty of space on the SD card you are using.</p>
<p>Unfortunately, like the original poster, I noticed that occasional frames had a strange form of corruption (<a href="http://chris.gg/wp-content/uploads/2012/07/corrupt-frame.jpg">example</a>), which unfortunately the camera detects as motion (although you can tweak the config file to only trigger after a number of consecutive frames of motion). I suspect this may be due to the Raspberry Pi not providing quite enough power to run the camera stably. A powered USB hub may solve the problem, or more drastically, desoldering the two LEDs. Reducing the resolution back down to 352&#215;288 apparently fixes the problem, but obviously means lower image fidelity.</p>
<p>If you don&#8217;t already have an EyeToy or spare webcam, it&#8217;s probably best to wait for the official Raspberry Pi camera module. It will plug into a dedicated connector on the board so you&#8217;re not hogging a USB port, and will obviously be more stable. The pre-release version uses a 14-megapixel sensor, but it&#8217;s likely that a lower resolution sensor will be used in the final release to keep the costs down. A good-quality 720p (just under 1 megapixel) sensor would be nice, 1080p (just over 3 megapixels) even better.</p>
]]></content:encoded>
			<wfw:commentRss>http://chris.gg/2012/07/using-a-ps3-eyetoy-with-the-raspberry-pi/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>How to set up a web interface for a Heatmiser wi-fi thermostat using a Raspberry Pi</title>
		<link>http://chris.gg/2012/07/how-to-set-up-a-web-interface-for-a-heatmiser-wi-fi-thermostat-with-a-raspberry-pi/</link>
		<comments>http://chris.gg/2012/07/how-to-set-up-a-web-interface-for-a-heatmiser-wi-fi-thermostat-with-a-raspberry-pi/#comments</comments>
		<pubDate>Sat, 07 Jul 2012 22:34:01 +0000</pubDate>
		<dc:creator>Chris Barnes</dc:creator>
				<category><![CDATA[Hints & Tips]]></category>
		<category><![CDATA[heatmiser]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[raspberrypi]]></category>
		<guid isPermaLink="false">http://chris.gg/?p=875</guid>
		<description><![CDATA[My earlier post on the Heatmiser PRT-TS wi-fi thermostat proved very popular and is the most commented article on this blog. When commenter Rich mentioned the heatmiser-wifi project, a set of Perl scripts that can be installed on a PC or Raspberry Pi to provide a full-featured web interface for the Heatmiser, I just had [...]]]></description>
				<content:encoded><![CDATA[<p>My <a href="http://chris.gg/2011/11/heatmiser-prt-ts-wi-fi-thermostat-review-troubleshooting-tips">earlier post</a> on the Heatmiser PRT-TS wi-fi thermostat proved very popular and is the most commented article on this blog. When commenter <a href="http://www.rpcs.info/">Rich</a> mentioned the <a href="http://code.google.com/p/heatmiser-wifi">heatmiser-wifi project</a>, a set of Perl scripts that can be installed on a PC or Raspberry Pi to provide a full-featured web interface for the Heatmiser, I just had to give it a go.</p>
<p>Although the project site mentions that it has been tested on Raspberry Pi, I just couldn&#8217;t get past one of the steps. A little bit of Googling revealed a possible solution, and it worked. Be warned, the process takes a little while but in my opinion the results are definitely worth it.</p>
<p><strong>Installation of Subversion and the heatmiser-wifi software</strong></p>
<p>To get hold of the software, you have to check it out using the Subversion (SVN) source control system. So the first step is to install SVN:</p>
<p><code>sudo apt-get install subversion</code></p>
<p>You can then run the following command to download the heatmiser-wifi software:</p>
<p><code>svn checkout http://heatmiser-wifi.googlecode.com/svn/trunk/ ~/heatmiser-wifi-read-only</code></p>
<p>This will create a folder called heatmiser-wifi-read-only in your home directory. If you want to specify a different path, edit the command as appropriate.</p>
<p><strong>Install Perl and essential packages</strong></p>
<p>Check that Perl version 5 is installed by running:</p>
<p><code>perl -v</code></p>
<p>This should return some output starting with the following (or similar):</p>
<p><code>This is perl, v5.10.1 (*) built for arm-linux-gnueabi-thread-multi</code></p>
<p>If not, install Perl using:</p>
<p><code>sudo apt-get update<br />
sudo apt-get install perl5</code></p>
<p>Now you need to install the required packages:</p>
<p><code>curl -L http://cpanmin.us | perl - --sudo App::cpanminus</code><br />
<code>sudo cpanm CGI Cwd DBI File::HomeDir Getopt::Std IO::Socket JSON LWP::UserAgent Proc::Daemon Proc::PID::File Time::HiRes</code><br />
<code> sudo apt-get install libxml-simple-perl<br />
sudo cpanm XML::Simple</code></p>
<p>This takes a long time, so you may want to have a cup of tea, run a bath or go for a walk!</p>
<p>(Note that the original instructions had the CPAN modules listed on one line, omitting the apt-get before XML::Simple, but this didn&#8217;t work for me, hence the change. Also I had trouble getting the standard cpan command to work on the Pi due to its limited hardware, hence using cpanminus instead.)</p>
<p><strong>Test the installation</strong></p>
<p>Run the following command, adjusting the path if necessary, replacing 192.168.0.100 with the actual IP address of your Heatmiser and 1234 with the PIN number:</p>
<p><code>~/heatmiser-wifi-read-only/bin/heatmiser.pl -h 192.168.0.100 -p 1234</code></p>
<p>You should get some output like this:</p>
<p><code>Heatmiser PRT version 1.2<br />
Thermostat is ON (heating mode)<br />
Time 2012-07-07 21:45:59<br />
Temperature 23.5 deg C (internal)<br />
Target 17 deg C<br />
Heating is OFF<br />
Feature 01: Temperature format C<br />
Feature 02: Switching differential 1 deg C<br />
Feature 03: Frost protect 1<br />
Feature 04: Frost temperature 15 deg C<br />
Feature 05: Output delay 0 minutes<br />
Feature 06: Comms # n/a<br />
Feature 07: Temperature limit 0 deg C<br />
Feature 08: Sensor selection internal<br />
Feature 09: Floor limit n/a<br />
Feature 10: Optimum start disabled hours<br />
Feature 11: Rate of change 20 minutes / deg C<br />
Feature 12: Program mode 5/2 day<br />
Weekday 1: 07:00 20 deg C<br />
2: 07:30 17 deg C<br />
3: 17:00 20 deg C<br />
4: 21:30 17 deg C<br />
Weekend 1: 09:30 20 deg C<br />
2: 21:30 17 deg C</code></p>
<p>For the rest of the steps to work, you need to store the IP address and PIN number in a config file. To do this:</p>
<p><code>sudo nano /etc/heatmiser.conf</code></p>
<p>Type the following two lines, substituting 192.168.0.100 with your thermostat&#8217;s actual IP address, and 1234 with its PIN:</p>
<p><code>HOST 192.168.0.100<br />
PIN 1234</code></p>
<p>Press Ctrl+X and type Y to save the file.</p>
<p>You should now be able to run the following command (same as before but without the IP and password, which will now be read from the conf file).</p>
<p><code>~/heatmiser-wifi-read-only/bin/heatmiser.pl</code></p>
<p><strong>Set up the web interface</strong></p>
<p>Happily the project&#8217;s <a href="http://code.google.com/p/heatmiser-wifi/wiki/InstallationWebInterface">web interface instructions</a> seem to work fine on the Pi without any changes.</p>
<p>I have also set up <a href="http://code.google.com/p/heatmiser-wifi/wiki/InstallationWeather">logging and charting of external temperature</a> (via the Met Office API). Frustratingly, my Met Office API key didn&#8217;t work straight away &#8211; it kept returning <strong>Invalid key please register at http://www.metoffice.gov.uk/public/ddc</strong> via both the heatmiser_weather.pl script and the &#8220;preview data&#8221; feature on the Met Office site itself. Also note that it will take up to five minutes for the weather table to start populating, unless you&#8217;ve increased the rate in the heatmiser.conf file.</p>
]]></content:encoded>
			<wfw:commentRss>http://chris.gg/2012/07/how-to-set-up-a-web-interface-for-a-heatmiser-wi-fi-thermostat-with-a-raspberry-pi/feed/</wfw:commentRss>
		<slash:comments>23</slash:comments>
		</item>
		<item>
		<title>Installing lighttpd web server on Raspberry Pi</title>
		<link>http://chris.gg/2012/05/installing-lighttpd-web-server-on-raspberry-pi/</link>
		<comments>http://chris.gg/2012/05/installing-lighttpd-web-server-on-raspberry-pi/#comments</comments>
		<pubDate>Mon, 28 May 2012 21:08:41 +0000</pubDate>
		<dc:creator>Chris Barnes</dc:creator>
				<category><![CDATA[Raspberry Pi]]></category>
		<guid isPermaLink="false">http://chris.gg/?p=859</guid>
		<description><![CDATA[I&#8217;ve just set up my Raspberry Pi, and managed to get it up and running after a minor panic &#8211; I couldn&#8217;t find a micro USB cable anywhere in the house, despite apparently owning way more mini USB and USB A-B cables than I&#8217;ll ever need. I then remembered that the Kindle comes with a [...]]]></description>
				<content:encoded><![CDATA[<p>I&#8217;ve just set up my <a href="http://www.raspberrypi.org/">Raspberry Pi</a>, and managed to get it up and running after a minor panic &#8211; I couldn&#8217;t find a micro USB cable anywhere in the house, despite apparently owning way more mini USB and USB A-B cables than I&#8217;ll ever need. I then remembered that the Kindle comes with a micro USB cable, phew!</p>
<p>As a web developer, one of the first things I thought of doing was installing a web server, and decided to go for <a href="http://www.lighttpd.net/">lighttpd</a> as it&#8217;s designed to be lightweight and efficient, which is just the ticket for the Raspberry Pi and its limited hardware resources.</p>
<p>Installing it was as simple as <strong>sudo apt-get install lighttpd</strong> &#8211; or it should have been! The installation failed with &#8220;chown: invalid group: &#8216;www-data:www-data&#8217;. To fix this, I ran two commands:</p>
<p><strong>   sudo adduser www-data<br />
   sudo addgroup www-data</strong></p>
<p>(The first command probably isn&#8217;t necessary, as it returned &#8220;adduser: The user `www-data&#8217; already exists.&#8221;)</p>
<p>I then re-ran <strong>sudo apt-get install lighttpd</strong> again and it succeeded.</p>
<p><strong>Update 30/05/2012:</strong><br />
I have since decided to switch to Apache and PHP. After running <strong>apt-get remove lighttpd</strong>, I just had to run:</p>
<p><strong>apt-get install php5</strong></p>
<p>This installs all the basics. Apache still needs the www-data group and will refuse to start if you haven&#8217;t already run <strong>sudo addgroup www-data</strong>.</p>
<p>If you get 404 errors when trying to install PHP (as I did), run the following commands and try again:</p>
<p><strong>apt-get update<br />
apt-get upgrade</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://chris.gg/2012/05/installing-lighttpd-web-server-on-raspberry-pi/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Heatmiser PRT-TS Wi-Fi thermostat review &amp; troubleshooting tips</title>
		<link>http://chris.gg/2011/11/heatmiser-prt-ts-wi-fi-thermostat-review-troubleshooting-tips/</link>
		<comments>http://chris.gg/2011/11/heatmiser-prt-ts-wi-fi-thermostat-review-troubleshooting-tips/#comments</comments>
		<pubDate>Fri, 25 Nov 2011 20:33:07 +0000</pubDate>
		<dc:creator>Chris Barnes</dc:creator>
				<category><![CDATA[Reviews]]></category>
		<guid isPermaLink="false">http://chris.gg/?p=850</guid>
		<description><![CDATA[I recently decided to replace my central heating programmer with a programmable thermostat, and decided to go for the geeky option: a wi-fi connected model! So I ordered a PRT-TS Wi-Fi from Heatmiser, which can be controlled both via a Web browser and an iPhone app. Overall, I&#8217;m happy with the product but I found [...]]]></description>
				<content:encoded><![CDATA[<p>I recently decided to replace my central heating programmer with a programmable thermostat, and decided to go for the geeky option: a wi-fi connected model! So I ordered a <a href="http://www.heatmiser.co.uk/web/index.php/wifi-thermostats">PRT-TS Wi-Fi</a> from Heatmiser, which can be controlled both via a Web browser and an <a href="http://itunes.apple.com/app/heatmiser-wifi-stat/id461728950?mt=8">iPhone app</a>.</p>
<p>Overall, I&#8217;m happy with the product but I found it a little tricky to set up. The instructions don&#8217;t go into a huge amount of detail, a problem which is compounded by the fact that the <a href="http://www.heatmiser.co.uk/support/">Heatmiser support site</a> was devoid of any information on this particular model at the time of writing, so I have discussed my difficulties below and explained how I resolved them.</p>
<p><strong>Installation</strong></p>
<p>I won&#8217;t go into too much detail on the physical installation, but suffice to say, most people should get the unit fitted by a qualified electrician. There&#8217;s only a page and a half of the small (A7 size) manual devoted to it, plus three wiring diagrams, and any mistakes could damage the thermostat and/or the boiler. The thermostat is designed to be flush mounted into a standard 35mm deep single back box. It can be surface mounted but it won&#8217;t look as good, particular as the thermostat is a few centimetres larger than the back box at each edge. I chose the latter option to save money, but will have it flush mounted at a later date. I will be interested to see what effect flush-mounting has on the Wi-Fi signal strength, if any.</p>
<p><strong>Appearance &amp; usability</strong></p>
<p>The thermostat is essentially a PRT-TS with an added Wi-Fi card, and it looks exactly the same from the outside. It&#8217;s reasonably modern-looking (as far as thermostats go!) with a touchscreen illuminated by a blue backlight. It displays the room temperature in the middle of the screen, which can be adjusting using the up/down icons below it. A slight niggle is that it can be difficult to see what you are doing &#8211; the backlight doesn&#8217;t come on until you touch an icon, by which time it is too late. I would personally prefer the backlight to come on when touching any part of the screen (not just an icon) and the unit to only respond to icon presses when the backlight is on.</p>
<p>A nice feature is the &#8220;Screen&#8221; icon which locks the screen for 15 seconds, allowing time to clean it without accidentally activating any functions.</p>
<p>You can also view and set heating programmes, set the clock, enable temperature hold and holiday modes from the touch screen. I found setting the time slightly strange, as the down button changes the hour down and the up button changes the minute up &#8211; changing the date works in a similar way with the month and day &#8211; but this is something that is rarely necessary to change and can be done from the Web interface or iPhone app anyway.</p>
<p><strong>Wi-Fi setup</strong></p>
<p>Setting up the Wi-Fi connectivity nominally requires a Windows PC and the configuration utility supplied on CD. However, when plugged in via USB, the device presents itself as a USB mass storage device (albeit a very small one: 6.5KB) containing a single file &#8211; CONFIG.TXT &#8211; which contains the network configuration information in plain text, which could easily be edited by hand by users of other platforms such as Mac or Linux. The file is fairly self-explanatory &#8211; the only thing worth pointing out is that the KEYMODE parameter (wireless encryption type) must be either WPA, WEP or OPEN.  There&#8217;s a slight security issue in that if someone were to steal your thermostat, they&#8217;d have access to your wireless key, thermostat password and PIN, but this is a fairly unlikely scenario!</p>
<p>I had trouble getting the unit to connect to my Wi-Fi network until I switched my router (Linksys WRT54GS with Tomato firmware) from WPA only to WPA+WPA2 encryption. I&#8217;m not sure whether this means that the PRT-TS needs WPA2 encryption to operate (despite the configuration utility only showing WPA), or whether there is an issue with my particular router, but if you&#8217;re having trouble, it&#8217;s worth enabling WPA2 on your router. Before I managed to get WPA+WPA2 working, I tried using WEP encryption as a test but the configuration utility wouldn&#8217;t let me save the changes. I didn&#8217;t play with the OPEN option, so I&#8217;m not sure whether this refers to unencrypted Wi-Fi (and therefore will ignore any username/password) or WEP Open System encryption.</p>
<p>The device requires a static IP address, and port 8068 must be forwarded via the router if remote connection via the iPhone app is required.</p>
<p>It&#8217;s worth noting that the front part of the thermostat detaches from the rear, so it can easily be removed once installed, and the front part will power up when attached via USB which means you can set up and test the Wi-Fi connectivity before installing the unit on the wall. This isn&#8217;t mentioned in the manual, and neither is the fact that a Wi-Fi icon (similar to the one used on the iPhone) appears on the display when connected successfully.</p>
<p><strong>Browser interface</strong></p>
<p>The browser interface is full-featured if a little basic-looking &#8211; it&#8217;s reminiscent of a router interface from ten years ago. The so-called &#8220;Live View&#8221;  panel on the right shows the actual temperature (to one decimal place), set temperature and heat status, and a refresh button as it doesn&#8217;t seem to auto-refresh. The main interface allows you to view and adjust heating programmes, temporarily override the temperature, lock the keypad remotely, set the clock and change network settings. There doesn&#8217;t seem to be a way to change the port on which the Web interface is accessible, which would be a nice feature to have.</p>
<p>It doesn&#8217;t contain any form of logging functionality, so it&#8217;s not possible to view temperature changes over time. This would be nice to see in a future firmware update, but I&#8217;n not holding my breath.</p>
<p><strong>iPhone app</strong></p>
<p>The iPhone app, a free download from the App Store, is similarly utilitarian. It allows you to see the current temperature (rounded to the nearest degree, unlike the browser interface), set temperature (which can be adjusted) and heat status. You can also view and adjust heating programmes via the app.</p>
<p>One quirk of the app is that you have to select whether you want to connect locally (i.e. when you are on your home Wi-Fi network)  or remotely (via the Internet). It would be nice if the app could determine whether you are home or away and select the corresponding connection method dynamically.</p>
<p>The interface is fairly bland but it does the job. It&#8217;s a shame that the graphics aren&#8217;t retina ready, so they look jaggy on the iPhone 4 (which has been out for more than a year, so you would have expected Heatmiser to have updated their app!). It would also be nice if a future version of the app came with iPad support &#8211; the current version works fine on the iPad but doesn&#8217;t take advantage of the bigger screen.</p>
<p>I was left scratching my head for a while, as I was originally able to connect via my Web browser but not via the iPhone app. This resolved itself once I moved my router closer to the thermostat, so it seems that the protocol used by the iPhone app is less forgiving of low signal strength (and potential packet loss) than standard HTTP over TCP/IP. Again this is something that should perhaps be mentioned in the manual.</p>
<p><strong>Conclusion</strong></p>
<p>It&#8217;s a version 1 product, so is sometimes a little rough around the edges, but the hardware is solid and the product could easily be improved with updates to the Web interface and iPhone app. The manual is fairly basic, which I can understand is necessary to minimise the size and weight of the box, but why not include a more detailed version on the included CD and/or on the Web?</p>
<p><s>One final point is that I was slightly perturbed to find that the thermostat, which I paid £150 plus delivery for via Heatmiser&#8217;s own shop, is available for as little as £126 delivered from some resellers, so it pays to shop around!</s></p>
<p><strong>Update</strong></p>
<p>Heatmiser <a href="https://twitter.com/#!/HeatmiserUK/status/140712348670365698">tweeted me</a> and pointed me towards their <a href="http://www.heatmiser.co.uk/web/index.php/docs/">document download area</a> which contains some useful information. They also say they&#8217;re working on a new version of the iPhone app, iPad and Android support, multi-zone and logging functionality, and suggest that users email <a href="mailto:support@heatmiser.co.uk">support@heatmiser.co.uk</a> with any further suggestions.</p>
<p>Also, the £126.20 price I found is actually ex-VAT (thanks Luke!) so it is actually best to buy from Heatmiser directly.</p>
]]></content:encoded>
			<wfw:commentRss>http://chris.gg/2011/11/heatmiser-prt-ts-wi-fi-thermostat-review-troubleshooting-tips/feed/</wfw:commentRss>
		<slash:comments>77</slash:comments>
		</item>
		<item>
		<title>Display filename instead of document title in SharePoint search</title>
		<link>http://chris.gg/2011/06/display-filename-instead-of-document-title-in-sharepoint-search/</link>
		<comments>http://chris.gg/2011/06/display-filename-instead-of-document-title-in-sharepoint-search/#comments</comments>
		<pubDate>Mon, 06 Jun 2011 16:22:14 +0000</pubDate>
		<dc:creator>Chris Barnes</dc:creator>
				<category><![CDATA[SharePoint]]></category>
		<category><![CDATA[document]]></category>
		<category><![CDATA[filename]]></category>
		<category><![CDATA[moss]]></category>
		<category><![CDATA[search]]></category>
		<category><![CDATA[sharepoint]]></category>
		<category><![CDATA[title]]></category>
		<category><![CDATA[xml]]></category>
		<category><![CDATA[xsl]]></category>
		<category><![CDATA[xslt]]></category>
		<guid isPermaLink="false">http://chris.gg/?p=844</guid>
		<description><![CDATA[My employer has been using SharePoint for a number of years now, and it&#8217;s recently come to light that people haven&#8217;t always been putting meaningful information in the Document Title field. It seems that if this field is left blank, it will default to the document filename, but a lot of our documents have incorrect [...]]]></description>
				<content:encoded><![CDATA[<p>My employer has been using SharePoint for a number of years now, and it&#8217;s recently come to light that people haven&#8217;t always been putting meaningful information in the Document Title field. It seems that if this field is left blank, it will default to the document filename, but a lot of our documents have incorrect titles. e.g. if they have been based on a template or another document.</p>
<p>Clearly the best solution is to educate users to use the Title field properly for newly-created documents (see <a href="http://amatterofdegree.typepad.com/a_matter_of_degree/2007/03/title_vs_name_i.html">Title vs Name</a>), and also to update all existing documents, but it&#8217;s a big task and for now we have opted for the&#8221;quick fix&#8221; of showing the document filename in search results. Here&#8217;s how you do it:</p>
<ul>
<li>Ensure that the <strong>IsDocument </strong>managed property is set for use within scopes:
<ul>
<li>Browse to Central Administration</li>
<li>Click on your Shared Service Provider</li>
<li>Click <strong>Search settings</strong></li>
<li>Click <strong>Metadata property mappings</strong></li>
<li>Find the <strong>IsDocument </strong>property and set <strong>Use in scope</strong> to <strong>True</strong></li>
<li>Click <strong>OK</strong></li>
</ul>
</li>
<li>Edit the page and modify the <strong>Search Core</strong> web part</li>
<li>Under <strong>Results Query Options</strong>, edit the <strong>Selected Columns </strong>property to include Filename:<br />
<em>&lt;Column Name=&#8221;Filename&#8221;/&gt;<br />
<span style="font-style: normal;">(it doesn&#8217;t matter where as long as it is between <em><strong>&lt;Columns&gt;</strong></em> and <em>&lt;/Columns&gt;</em>, and obviously not halfway through another <strong><em>&lt;Column&gt;</em></strong> tag)</span></em></li>
</ul>
<ul>
<li>Find the following line (it should be in the <strong>Result</strong> template):<br />
<strong><em>&lt;xsl:variable name=&#8221;id&#8221; select=&#8221;id&#8221;/&gt;</em></strong></li>
<li>Underneath it, add the following two lines:<br />
<strong><em>&lt;xsl:variable name=&#8221;filename&#8221; select=&#8221;filename&#8221;/&gt;<br />
<strong><em>&lt;xsl:variable name=&#8221;isdocument&#8221; select=&#8221;isdocument&#8221;/&gt;</em></strong> </em></strong></li>
<li>A few lines down, replace the code starting with <strong>&lt;span class=&#8221;srch-Title&#8221;&gt;</strong> and ending in<strong>&lt;/span&gt;</strong> with the following:<br />
<em><strong> &lt;span class=&#8221;srch-Title&#8221;&gt;</strong><br />
<strong> &lt;a href=&#8221;{$url}&#8221; id=&#8221;{concat(&#8216;CSR_&#8217;,$id)}&#8221; title=&#8221;{$url}&#8221;&gt;</strong><br />
<strong> &lt;xsl:if test=&#8221;$isdocument &amp;#61; 1&#8243;&gt;</strong><br />
<strong> &lt;xsl:value-of select=&#8221;filename&#8221;/&gt;</strong><br />
<strong> &lt;/xsl:if&gt;</strong><br />
<strong> &lt;xsl:if test=&#8221;$isdocument &amp;#61; 0&#8243;&gt;</strong><br />
<strong> &lt;xsl:choose&gt;</strong><br />
<strong> &lt;xsl:when test=&#8221;hithighlightedproperties/HHTitle[. != '']&#8220;&gt;</strong><br />
<strong> &lt;xsl:call-template name=&#8221;HitHighlighting&#8221;&gt;</strong><br />
<strong> &lt;xsl:with-param name=&#8221;hh&#8221; select=&#8221;hithighlightedproperties/HHTitle&#8221; /&gt;</strong><br />
<strong> &lt;/xsl:call-template&gt;</strong><br />
<strong> &lt;/xsl:when&gt;</strong><br />
<strong> &lt;xsl:otherwise&gt;&lt;xsl:value-of select=&#8221;title&#8221;/&gt;&lt;/xsl:otherwise&gt;</strong><br />
<strong> &lt;/xsl:choose&gt;</strong><br />
<strong> &lt;/xsl:if&gt;</strong><br />
<strong> &lt;/a&gt;</strong><br />
<strong> &lt;br/&gt;</strong><br />
<strong> &lt;/span&gt;</strong></em><br />
<strong></strong></li>
</ul>
<p>I found this tip on the <a href="http://social.technet.microsoft.com/Forums/en/sharepointsearch/thread/c2ec4fc2-e04c-453c-8035-4f334f062d05">TechNet forums</a>, although it didn&#8217;t work as-is because the author had forgotten to declare the <em>isdocument</em> variable. It has been tested in MOSS 2007 but will possibly also work in SharePoint 2010. If desired, you could easily tweak the XSL above to show the document title as well as the filename.</p>
<p>There&#8217;s no easy way of changing the <strong>OSSSearchResults.aspx</strong> page that appears when you do a &#8220;This Site&#8221; search, and even if you do, it&#8217;s unsupported and any changes will most likely be lost next time you install a MOSS service pack. If you have ISAPI_Rewrite installed, as we do, you can easily redirect site searches to the Search Center using this line:</p>
<p><strong><em> RewriteRule ^(.*)OSSSearchResults.aspx(.*)$ /SearchCenter/Pages/results.aspx$2 [I,L,RP]</em></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://chris.gg/2011/06/display-filename-instead-of-document-title-in-sharepoint-search/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>The iPad 2 saga (aka Best Buy fail)</title>
		<link>http://chris.gg/2011/04/the-ipad-2-saga-aka-best-buy-fail/</link>
		<comments>http://chris.gg/2011/04/the-ipad-2-saga-aka-best-buy-fail/#comments</comments>
		<pubDate>Sat, 09 Apr 2011 12:41:42 +0000</pubDate>
		<dc:creator>Chris Barnes</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[apple]]></category>
		<category><![CDATA[best buy]]></category>
		<category><![CDATA[comet]]></category>
		<category><![CDATA[fail]]></category>
		<category><![CDATA[hmv]]></category>
		<category><![CDATA[insight]]></category>
		<category><![CDATA[ipad]]></category>
		<category><![CDATA[ipad 2]]></category>
		<category><![CDATA[tesco direct]]></category>
		<guid isPermaLink="false">http://chris.gg/?p=840</guid>
		<description><![CDATA[Having resisted the original iPad, I succumbed to the temptation of the iPad 2 and placed an order via the online Apple Store at 9am on the UK launch day, March 25th. Unfortunately, due to demand, I was given an estimated shipping date of 15 April, with estimated delivery on 26 April, inexplicably eleven days [...]]]></description>
				<content:encoded><![CDATA[<p>Having resisted the original iPad, I succumbed to the temptation of the iPad 2 and placed an order via the online <a href="http://store.apple.com/uk">Apple Store</a> at 9am on the UK launch day, March 25th. Unfortunately, due to demand, I was given an estimated shipping date of 15 April, with estimated delivery on 26 April, inexplicably eleven days after shipping &#8211; a far cry from the experience I had when I pre-ordered my iPhone 4 and it arrived on launch day.</p>
<p>I thought I&#8217;d be OK to wait, but having played with one in the <a href="http://www.apple.com/uk/retail/bullring/">Birmingham Bullring Apple Store</a> last week (who didn&#8217;t have any stock available to take away on the day), I started getting twitchy fingers &#8211; as well as considering going for a 32GB model instead of the 16GB I&#8217;d ordered through Apple &#8211; so started watching the very useful <a href="http://www.ipad-stock.co.uk">iPad-Stock.co.uk</a> website.</p>
<p>After a couple of false alarms &#8211; <a href="http://direct.tesco.com">Tesco Direct</a> occasionally showed stock but every time I got to the checkout, I was told it was out of stock, and a friend managed to order one from <a href="http://www.hmv.co.uk">HMV</a> only for his order status to change to &#8220;pre-order&#8221; within hours &#8211; I eventually managed to find some stock, this time at <a href="http://www.bestbuy.co.uk">Best Buy</a>, the US electronics giant who have recently opened up shop (physically and online) in the UK. All went well, until I put my credit card details in&#8230; declined!</p>
<p>I tried a couple of different cards &#8211; one credit, one debit &#8211; and strangely both of those failed as well. My phone then rang &#8211; it was Tesco Bank, the issuer of my main credit card, who wanted to go through a few transactions with me to make sure they weren&#8217;t fraudulent. Having verified that the declined Best Buy transaction (along with a few previous purchases elsewhere) were legit, the operator unblocked my card and said that I should be able to put the order through again.</p>
<p>Great, I thought, so I input my card details again &#8211; still no joy! So I phoned Best Buy, who helpfully told me that my account had been blocked for 24 hours due to the original declined transaction and I was welcome to try again tomorrow. When I asked if there was any way around this, I was told not &#8211; I couldn&#8217;t even order over the phone. A friend of mine had a similar experience, so I wonder how many potential orders Best Buy have lost out on due to this dubious &#8220;security&#8221; measure &#8211; I can imagine a lot of banks and card issuers have declined cards as people suddenly dropping some £500 on an electronics website could well appear fraudulent without speaking to the customer first.</p>
<p>Knowing that the Best Buy stock was likely to have run out by the following day, I decided to go elsewhere. At the time, <a href="http://uk.insight.com">Insight</a> were showing stock of the black 32GB Wi-Fi model that I wanted, so I decided to place an order with them. The deal wasn&#8217;t as good as the Best Buy one, as I had to pay £12 delivery, but if it meant I could have the iPad in my hand sooner, I was happy to fork out.</p>
<p>I was pleased to see that the website accepted my credit card details&#8230; then dismayed when I got an email later saying that it had been declined. By the time I read the email on that same evening, Insight&#8217;s phone lines had closed, and as it was a Friday I wouldn&#8217;t be able to give them a different card to try until the following Monday. Another retail fail &#8211; why doesn&#8217;t the site have an option to update the payment method via the website when the phone lines are closed?</p>
<p>So, having exhausted my options, I gave up for the day. At around 10.30 this morning, I had a quick look at iPad-Stock, not expecting to see anything, but to my surprise there was stock showing at <a href="http://www.comet.co.uk">Comet</a>. They were offering free delivery for Tuesday, or £6 for a Monday (7am-6pm) delivery. It&#8217;s not like me to pay extra to receive something a day early, but this is the iPad 2 we&#8217;re talking about&#8230; My order went through successfully and I got an email confirmation, so all good so far.</p>
<p>I haven&#8217;t cancelled my Apple order yet &#8211; I thought I&#8217;d wait until my Comet order is fulfilled, so I have something to fall back on in case of problems. However, a friend of mine also put an order through with Comet and tried to cancel his Apple order immediately, and was told that the order was already being shipped and couldn&#8217;t be cancelled &#8211; so he ended up cancelling his Comet order. I&#8217;ll wait and see what happens on Monday &#8211; worst case is I can&#8217;t cancel it and have to return it to Apple when it arrives, or sell it on to a friend or colleague (at cost price, naturally &#8211; I can&#8217;t be bothered eBaying it).</p>
]]></content:encoded>
			<wfw:commentRss>http://chris.gg/2011/04/the-ipad-2-saga-aka-best-buy-fail/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Thoughts on npower hometeam</title>
		<link>http://chris.gg/2011/04/thoughts-on-npower-hometeam/</link>
		<comments>http://chris.gg/2011/04/thoughts-on-npower-hometeam/#comments</comments>
		<pubDate>Sat, 09 Apr 2011 12:01:40 +0000</pubDate>
		<dc:creator>Chris Barnes</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[boiler]]></category>
		<category><![CDATA[british gas]]></category>
		<category><![CDATA[cover]]></category>
		<category><![CDATA[custom heat]]></category>
		<category><![CDATA[flue]]></category>
		<category><![CDATA[hometeam]]></category>
		<category><![CDATA[npower]]></category>
		<category><![CDATA[rugby]]></category>
		<guid isPermaLink="false">http://chris.gg/?p=838</guid>
		<description><![CDATA[I signed up for a npower hometeam 50 central heating care contract at the start of February. Knowing that boiler repair can be expensive and that my boiler hadn&#8217;t been serviced since we moved in over a year ago, £15 a month didn&#8217;t seem a bad price for peace of mind, especially as it includes [...]]]></description>
				<content:encoded><![CDATA[<p>I signed up for a <a href="http://www.npower.com/Home/npower-hometeam/Care-products/Hometeam-50/index.htm">npower hometeam 50 central heating care</a> contract at the start of February. Knowing that boiler repair can be expensive and that my boiler hadn&#8217;t been serviced since we moved in over a year ago, £15 a month didn&#8217;t seem a bad price for peace of mind, especially as it includes an annual service worth £75. Also, as npower supply my gas and electricity, I&#8217;d be entitled to 50% cashback at the end of the year if I didn&#8217;t call them out.</p>
<p>Towards the end of March &#8211; coincidentally, a week before my first annual inspection and service was due &#8211; the boiler failed and I called npower out. They offered me an appointment for two days later, so I agreed with my employer to work from home on that day.</p>
<p>The engineer arrived and set to work looking at the boiler. He thought that either the gas valve or PCB needed replacing, although he didn&#8217;t seem to perform any extensive diagnosis in order to reach this conclusion. He then started the annual service inspection, and at this point noticed that there was a small gap between the boiler and the flue because the original installer hadn&#8217;t properly attached the bottom of the flue pipe to the fan assembly. Unfortunately the flue pipe was cemented in place through the wall of the garage in which the boiler is installed. He said that npower could fix this, but as a pre-existing fault it would be chargeable at £200 and they wouldn&#8217;t necessarily do a great job as they are not installation specialists, so I would be better off getting a local gas fitter to rectify the problem, which would probably take around an hour and cost in the region of £80. The npower engineer said that once the flue had been fitted correctly, I should contact the call centre and book an appointment so he could come back and fit a new gas valve. In the meantime, he said he had no choice but to declare the boiler as &#8220;Immediately Dangerous&#8221; and disconnect it from the gas supply.</p>
<p>The engineer left, and I immediately contacted Custom Heat, a local (Rugby-based) gas installation company, about whom I had previously heard good things. They were able to come out the following day after 1pm, which I was pleased with as I was eager to get the issue resolved.</p>
<p>When the Custom Heat engineer arrived, he took a look at the boiler and told me categorically that there was no problem with the flue installation, and that the npower engineer was wrong to condemn the boiler. He reconnected the boiler to the gas supply, charged me a £72 callout fee and left.</p>
<p>I got straight on the phone to the npower call centre to explain this. The operator was very apologetic and promised that she would call me back by the end of the day. This didn&#8217;t happen, and when I called the following day to chase this, I was told they had no record of the conversation. So I explained everything in detail again, requesting that the information be added onto my account notes, and was given an appointment for the npower engineer to return five days later.</p>
<p>The engineer arrived and, to my surprise, he had no knowledge of what had happened with Custom Heat. He was still adamant that the flue was incorrectly fitted and therefore the boiler was unsafe. He demonstrated this by dismantling the boiler and shining a torch up from the combustion chamber into the flue, and we could both see that there was an escape of light. He said that unfortunately he&#8217;d have to condemn the boiler once again and wouldn&#8217;t be able to replace any parts until the boiler had been made safe.</p>
<p>So I phoned Custom Heat to explain the situation. The operator said she would get the engineer to call me back as soon as possible. Around ten minutes later, he called me so I briefly explained the situation again and put him on the npower engineer who was still on the premises. The Custom Heat engineer told him that he they would come out and fix the flue with no charge, and that I should call the office to arrange this, which I did. The operator initially tried to backtrack on the &#8220;free fix&#8221; promise, saying that there would be no additional callout fee, but parts and labour would be chargeable. I didn&#8217;t accept this and they did back down and send an installer out within 15 minutes. As luck would have it, the npower engineer was fortunately still here and he was able to explain his findings.</p>
<p>The installer was very good and completed the work within an hour and a half, albeit with some difficulty as the boiler was installed approximately seven years ago and the fittings had started to corrode in place. Unfortunately, by the time he&#8217;d finished, the npower engineer had left, so I had to book a third appointment with them, for three days&#8217; time.</p>
<p>The npower engineer arrived, was happy with the flue, and started carrying out a proper diagnosis of the original fault. He decided that the gas valve wasn&#8217;t the problem after all, and it was actually the PCB. He didn&#8217;t have one with him, but was able to pick one up from a local supplier and fit it the same day, which did indeed get the boiler working.</p>
<p>So, after twelve days without heating or hot water (even the shower runs from the mains water), I was finally up and running again.</p>
<p>Clearly the original installer was at fault for not connecting the flue correctly, but I have no recourse as the central heating system was already fitted when we move in, and we were left no paperwork showing who installed it. Also Custom Heat were in the wrong for refusing to accept that there was a flue problem, and reconnecting the boiler without remedial work when the npower engineer had declared it unsafe. I can&#8217;t fault the npower engineer for erring on the side of caution and refusing the work on the boiler until it had been made safe, but things could have progressed much more quickly if the call centre staff had logged my issue correctly, and there wasn&#8217;t such a long lead time for appointments, which would have made the situation all the more unpleasant had it happened in the middle of winter.</p>
<p>Custom Heat deserve some credit for eventually fixing the problem for free, saving me approximately £60 in labour, although I&#8217;d have preferred to have paid and had it fixed first time around. They were also quick to come out on both occasions, unlike npower. I would hesitate to recommend Custom Heat based on my experience though, as they were happy to leave me with a visibly unsafe boiler.</p>
<p>I&#8217;m glad I had the npower cover, as it saved me paying £200-odd for a new PCB (although reconditioned boards are available on eBay for around £65) plus labour to diagnose the problem and fit the part. Fortunately my employer is flexible enough to allow me to work from home when necessary, so despite the inconvenience, I wasn&#8217;t out of pocket for four separate days I had to spend out of the office.</p>
<p>I haven&#8217;t decided whether I&#8217;ll renew my npower hometeam contract when it runs out. Most likely, I&#8217;ll switch to the <a href="http://www.britishgas.co.uk/products-and-services/maintenance-and-repair/boilers-and-heating/boiler-and-heating-cover/homecare.html">British Gas equivalent</a> which costs an extra £2/month for similar cover (albeit without the 50% cashback option), which could be worth it if they&#8217;re able to get out to me more quickly in the event of a boiler breakdown.</p>
]]></content:encoded>
			<wfw:commentRss>http://chris.gg/2011/04/thoughts-on-npower-hometeam/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
	</channel>
</rss>
