Lighting 2012-12-03+22.12.36-761369

Published on January 22nd, 2013 | by Jules Yap


ALANG Wireless Bedroom WakeUpLight

Materials: Ikea Alang, Ikea Sparsam (Dimable), Philips HUE, Philips LivingWhites

Description: I wanted to have a way to turn on my bedroom lighting, Ikea ALANG at the ceiling and two Philips LivingColors behind the bed, when it was time to get up in the morning.

Having a Wireless Zigbee network at home to control my lighting I was looking for a way to make my Ikea ALANG bedroom fixture Zigbee enabled. I had some spare Philips Zigbee plugin units laying around and looked for a way to join the two.

Step 1:
Remove the housing from the Philips plugin unit (remember which cable goes where)

Step 2:
Get your Ikea ALANG from the ceiling.

Step 3:
Drill a hole in the plastic base of the ALANG to fix the bare board of the plugin unit and screw the board in place.

Step 4:
Connect all cables correctly and make sure you have dimmable lights installed, in my case dimmable Ikea SPARSAM.

Step 5:
Install everything back at the ceiling and power up. You now can control the light with a Philips living colors remote (zigbee) or you can turn on or off the lights by toggling the power.

Step 6:
Link you plugin unit board the A Philips HUE kit. You now can control your ceiling lights with your smartphone.

Step 7:
Configure you smartphone, in my case an Android phone to send a message to HUE when it is time to get up in the morning.

My phone checks every 2 minutes (from 6 am to 8 am) if an alarm is going off in the next 20 minutes, if true the LivingColors behind the bed start dimming up to a bright orange/red for 10 minutes. After this they turn white in 10 minutes and the ceiling lights starts dimming up from 0 to maximum in the same 10 minutes.

I have made a video about my bedroom sunrise.

The more technical, Zigbee, HUE and Android work is left out of this tutorial but can be provided on request.

Link to video.

~ Joos Blankers, Belgium

More hacks on

Hacker help: TYLÖSAND sofa head rest

The Author

Jules Yap

"I am Jules, the engine behind IKEAHackers and the one who keeps this site up and running. My mission is to capture all the wonderful, inspiring, clever hacks and ideas for our much loved IKEA items".

9 Responses to ALANG Wireless Bedroom WakeUpLight

  1. Robin says:

    Hi Joos,
    The meethue forum doesn’t exist anymore :(
    Can you give the basics to connect a living whites plug to existing lamp/switch ?
    There is a picture showing it, but it isn’t clear enough.
    I would like to do the same but I fear to make a mistake.

    Thanks !

  2. Javier says:

    I´m a little bit confused with the wires!! which one goes where?? can you please explain it for dummies??
    i have three wires on the ceiling blue, brown, yellow/green (i´m from Spain)
    A better pic would be ideal.
    thank you very much.

  3. Samuele says:

    Hey very nice work! Can you send me the complete tutorial? Thanks a lot!

  4. Davide says:

    The task can not be imported on the latest version of tasker.
    Can you explain how to create it?

  5. First of all you need the Philips Hue kit, you can buy it at the Apple store. You can connect all sorts of Philips Zigbee lights to the HUE bridge like LivingColors Gen2 or Gen3 (LC), LivingWhites (LW) or PluginUnits (PIU).

    I have used the PIU for the ceiling because it has the toggle-on toggle-off feature and LC’s behind the bed. You could alsow use the HUE bulbs itself for a wakeuplight.

    Connecting LC’s , LS’w or PUI’s to the bridge can be done with the following procedure:

    I’ve used a PHP gateway running on my server to control HUE with simple url requests:

    Now you are able to control the lights from all sorts of application without the need of complex configurations with the bridge directly.

    Prepare your android phone by installing Tasker on it. Tasker is a highly flexible tool to create tasks like: when x happends do y and much more. You need to install a plugin for Tasker called AutoAlarm. This makes it possible to get the number of minutes until the next wake-up alarm is triggered in Android.

    I start checking my next alarm at 6 in the morning until 8 in the morning, it has no use to keep checking all day long. When the numer of minutes drops below 20 I do a first request to the HUE PHP gateway to start dimming up the LC behind the bed to a bright orange for 10 minutes, I do not wait for this to be finished. I wait for 5 minutes and do a second request to start dimming the ceiling PIU to 100% for the next 15 minutes. We are now 15 minutes befor the moring alarm is triggered. 5 minutes later the LW is at 100% bright orange. I do a final request to reduce the saturation of the LC to about 25% for the next 10 minutes, this removes the orange color from the LC.

    At the point the alarm is triggered the lights are at 100% brightness and I’m already up and doing my morning routine.

    My Tasker config can be found here:

    Another use I have implemented this way is A notification system blinking certain lamps in my house a specific color when an email, whatsapp or facebook message is received.

  6. motor-michi says:

    Yeah, please bring on the technical stuff :)

  7. NonnyMus says:

    Nice hack!

    I’d also be interested in the technical stuff and second the idea of a dropbox link or similar.

  8. Anonymous says:

    Hi Joos, whout about a link to the “The more technical, Zigbee, HUE and Android work..:” If I can suggest a dropbox zip or some thing like that :)

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Back to Top ↑