{"id":7397,"date":"2018-12-12T12:45:48","date_gmt":"2018-12-12T12:45:48","guid":{"rendered":"https:\/\/dev.adambowie.com\/?p=7397"},"modified":"2018-12-12T12:45:50","modified_gmt":"2018-12-12T12:45:50","slug":"ikea-tradfri-lights-working-with-hue-alexa-and-google-assistant","status":"publish","type":"post","link":"https:\/\/dev.adambowie.com\/blog\/2018\/12\/ikea-tradfri-lights-working-with-hue-alexa-and-google-assistant\/","title":{"rendered":"IKEA Tradfri Lights Working with Hue, Alexa and Google Assistant"},"content":{"rendered":"\n<p>Here&#8217;s another one of those tutorials that I really shouldn&#8217;t need to write but somehow do, because despite dozens of tutorials already existing online, it was only a combination of things that got everything working for me. In short, I already have a Philips Hue lighting set-up and I wanted to add some IKEA Tradfri bulbs to it.<\/p>\n\n\n\n<p>I was in my local IKEA when I noticed that they had <a href=\"https:\/\/www.ikea.com\/gb\/en\/products\/lighting\/smart-lighting\/tr%C3%A5dfri-led-bulb-e14-400-lumen-wireless-dimmable-warm-white-chandelier-opal-white-art-60365271\/\">Tradfri E14 bulbs<\/a>. Tradfri is IKEA&#8217;s smart lightbulb range, introduced a couple of years ago, and it has become a cheaper option for automating your lights. <\/p>\n\n\n\n<p>The main source of light in the rear of my living room takes 5 E14 bulbs, and although the front half is already nicely Hue controlled, it was always just too expensive to do the rear. A twin pack of white bulbs costs \u00a340 on Amazon at time of writing, or \u00a325 for a single bulb. So I&#8217;d be looking at over \u00a3100 to make one lighting fixture Hue-controlled! (OK &#8211; other options include replacing the light switch, fitting a new light to my ceiling that takes fewer, cheaper bulbs, or just continuing to use the light switch like a normal person).<\/p>\n\n\n\n<p>The key thing here was that the IKEA bulbs are \u00a37 each. \u00a335 (5 x \u00a37) is still a lot, but it&#8217;s <em>much <\/em>more palatable than \u00a3105. Sidenote: I suspect that there is some kind of economic theory that explains why I&#8217;m happy to pay \u00a335 to automate a light, having previously worked out \u00a3105 as being the &#8216;regular&#8217; price.<\/p>\n\n\n\n<p>Now, over the last year or so, IKEA&#8217;s Tradfri range has become more compatible with Philips Hue. Both use <a href=\"https:\/\/www.zigbee.org\/\">Zigbee<\/a> to connect together, but IKEA&#8217;s bulbs are designed for it&#8217;s own set-up out of the box, and I didn&#8217;t want to invest in that. In any case, I think with one or two hiccups along the way, Hue&#8217;s app and connectivity is excellent.<\/p>\n\n\n\n<p>So in theory, it should have been simple. Read a couple of guides online. Watch a YouTube video and away you go.<\/p>\n\n\n\n<p>Well it wasn&#8217;t&nbsp;<em>quite <\/em>that simple.<\/p>\n\n\n\n<p>One of the key things I read was that when connecting a Tradfri bulb to an exiting Hue set-up, you should first power down all your existing Hue lights. For precaution, I also unplugged a couple of Meross power adaptors that I use (these tend to appear relatively inexpensively on Amazon, and are useful for controlling things like desk lights and fans).<\/p>\n\n\n\n<p>Then you need to do a reset of the IKEA lights by flicking them off and then on six times. This <em>should<\/em> result in the bulb flickering slightly to show you that it&#8217;s ready. Despite multiple attempts, I couldn&#8217;t discern any flickering. I felt that I was more likely to blow a fuse than get the bulbs into reset mode.<\/p>\n\n\n\n<p>Nonetheless, I pressed on.<\/p>\n\n\n\n<p>Then you need to make sure that the lit bulb and the Hue hub are within 30 cm proximity of each other. On YouTube people tend to use a lamp to temporarily set up their new bulbs. They dutifully place their lamp with Tradfri bulb close to where their Hue hub sits. But I don&#8217;t own a lamp with the right E14 screw fitting. So I had to fit a long network cable to my hub which fortunately is not too far from the router or the light in question. The hub&#8217;s power cable just about stretched too. This is all worth knowing in case you&#8217;re using an exotic bulb type and can&#8217;t place the hub near the light fitting in question.<\/p>\n\n\n\n<p>Unfortunately, I repeatedly failed to get the bulb to connect using the Android app. Simply searching for a new bulb should have found it. This was frustrating.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\">The Solution<\/h4>\n\n\n\n<p>I ended up using using an app called <a href=\"http:\/\/huelights.com\/\">Hue Lights.<\/a>\u00a0It&#8217;s iOS, PC and Mac only, and is not made by Philips. So I used the iOS version on my iPad. And I carried out the process one bulb at a time.<\/p>\n\n\n\n<p>Then flicking the light switch off and on 6 times, holding my Hue bridge to the bulb and using the Touchlink function in Settings on the Hue Lights app, I pressed &#8220;Force bulb to join bridge.&#8221;<\/p>\n\n\n\n<p>Almost immediately the bulb visibly pulsed, and after an arm-aching minute or so (Remember, I was holding my hub to the ceiling), it was properly set-up. I repeated this 4 more times, one bulb at a time, removing bulbs I&#8217;d just added to avoid any bulb &#8220;confusion.&#8221;<\/p>\n\n\n\n<p>Then I replaced all the bulbs, switched everything back on, and the bulbs now showed up in the Hue app on my Android phone. I could allocate them to a new &#8220;Room&#8221; and control them properly that way with the Hue app.<\/p>\n\n\n\n<p>But for some reason, none of them were yet being recognised by either Amazon Alexa or Google Assistant. At first I thought it might take a few minutes for them to register, but time passed by and none of it was controllable via a smart speaker.<\/p>\n\n\n\n<p>In the end, it required me to <em>disable<\/em> and then <em>re-enable<\/em> access to my Hue account from within both the Amazon Alexa app and the Google Home app.\u00a0<\/p>\n\n\n\n<p>Once that had been done, all the new bulbs showed up, and I was able to set them up into various groupings and rooms as makes sense within each of the apps. It&#8217;s worth spending some time thinking about which combinations of lights you want turned on simultaneously. I think that the Alexa app is better for this than the Google app, but you can fight through and eventually get things sorted in Google&#8217;s app too.\u00a0<\/p>\n\n\n\n<p>What all of this has told me is that adding off-brand bulbs is not for the fainthearted. But then, I don&#8217;t think setting up smart homes is especially easy in any case. And as I noted with<a href=\"https:\/\/dev.adambowie.com\/2018\/11\/setting-radio-alarms-with-amazon-alexa-and-google-assistant\/\"> my recent piece about setting up radio alarm clocks<\/a>, I don&#8217;t think that the apps are as user friendly as they could be just yet.<\/p>\n\n\n\n<p>Still, if you want to save some money, then IKEA&#8217;s bulbs are a decent enough way to go, and aside from automating my living room lights completely, I&#8217;m now able to dim some lights that previously weren&#8217;t dimmable which is a nice bonus.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Here&#8217;s another one of those tutorials that I really shouldn&#8217;t need to write but somehow do, because despite dozens of tutorials already existing online, it was only a combination of things that got everything working for me. In short, I already have a Philips Hue lighting set-up and I wanted to add some IKEA Tradfri [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[711,911,923,922,924],"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/dev.adambowie.com\/blog\/wp-json\/wp\/v2\/posts\/7397"}],"collection":[{"href":"https:\/\/dev.adambowie.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dev.adambowie.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dev.adambowie.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/dev.adambowie.com\/blog\/wp-json\/wp\/v2\/comments?post=7397"}],"version-history":[{"count":3,"href":"https:\/\/dev.adambowie.com\/blog\/wp-json\/wp\/v2\/posts\/7397\/revisions"}],"predecessor-version":[{"id":7415,"href":"https:\/\/dev.adambowie.com\/blog\/wp-json\/wp\/v2\/posts\/7397\/revisions\/7415"}],"wp:attachment":[{"href":"https:\/\/dev.adambowie.com\/blog\/wp-json\/wp\/v2\/media?parent=7397"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dev.adambowie.com\/blog\/wp-json\/wp\/v2\/categories?post=7397"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dev.adambowie.com\/blog\/wp-json\/wp\/v2\/tags?post=7397"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}