Tag Archives: smart home

A possible solution to slow or unresponsive Hue lights

They used to say that there are two ‘internet of things’ systems that ‘just work’ out of the box: the Sonos sound system, and Philips Hue lighting. I’m fortunate enough to own both of them, and I would add the Honeywell Evohome heating system (though one of my friends has had a few complications with an unusually large installation).

When we moved house recently, though, my previously-faultless Hue system seemed to become a bit less reliable. Admittedly, we have rather more bulbs now (33 and counting), but that’s nowhere close to the limit it can handle. Our bulbs are always powered, so the cunning mesh networking should make sure that nothing is out of signal range. Yet sometimes lights weren’t obeying their commands promptly, switch presses needed to be repeated, and things generally seemed, well, a bit sluggish. I was beginning to think it might be time to wipe the configuration off my bridge and start again from scratch. It probably does have a lot of accumulated junk on there…

And then I did a little research and realised something that I should have thought about earlier.

Zigbee (the wireless networking used by Hue and a variety of other systems) runs at approx 2.4Ghz: the same frequency range as Wifi. Like Wifi, it has a number of channels, and if your wifi router and your Zigbee hub have overlapping channels, they can interfere with each other. I found this useful diagram online (apologies for not knowing its creator):

‘802.11b/g’, in case you don’t know it, is part of the technical standard popularly known as Wifi, so the green labels show Wifi channels, and the blue bars show Zigbee.

The number and availability of channels vary depending on your country, but they will be similar to the above. Although Wifi has about a dozen channels, the nearby ones overlap substantially, so most installations only use 1, 6 or 11: if both you and your neighbour are using Wifi channel 1, you won’t make much difference by switching to 2 or 3; you need to go at least as far as 6. Go much further than 6, and you’ll start interfering with your other neighbour on channel 11. Usually, these days, wifi routers are pretty good at picking their channel by finding the least congested space, though you may need to reboot them from time to time to encourage them to do so.

Anyway, one thing that had changed in my new house was the Wifi. And when I looked, sure enough, my Wifi router was on channel 11 and my Hue hub was on a Zigbee channel that was rather too close for comfort. By going into the Hue app and looking at the settings for my Bridge, I was able to change the Zigbee channel to number 15, and things are going a lot more swimmingly now!

Hope that might help someone else…

Car Talk

The Amazon Echo arrived in the UK a couple of days ago, and by combining some of my earlier work with John Wheeler’s excellent Flask-Ask framework I was able to make it talk to my electric car.

Also available on Vimeo here if preferred.

© Copyright Quentin Stafford-Fraser