Ikea Illuminati

Charly's Column – libcoap

Article from Issue 202/2017

Charly did a spot of shopping in a furniture store and came out with a smart lighting system that he has now automated with a Linux PC: Read on for further enlightenment.

Trådlös is the Swedish word for "wireless" and thus throws light on the name of the TrÂdfri smart lighting system. In the simplest case, you combine a lamp with an actuator: A remote control, a dimmer, and a motion detector are offered.

If you also want to use an Android or Apple smartphone to control the light source's brightness – and in many cases also modulate the light temperature from cold to warm white – you need a gateway, which is a small control box that connects to your Ethernet network and sends commands to the lighting systems. ZigBee Light Link [1] acts as the protocol in this case, but customers also can use compatible lamps with E14, E27, and GU10 sockets and LED panels that can be hung on the wall or built in to furniture.

That's all quite nice, but, of course, I do not want to control everything with an app. Instead, I want the lighting system to adapt dynamically to the ambient light, such as gradually becoming brighter at the onset of dusk. The Linux PC that evaluates the data from my photovoltaic system knows when it turns dark (otherwise, a simple brightness sensor will do the trick), and it is precisely this Linux PC to which I want to pass the Ikea gateway commands so that it can pass them on to the lights.


Use Express-Checkout link below to read the full article (PDF).

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • Charly's Column: PomodoPi

    Charly starts the tomato and dill season aboveground with a traffic light and underground with a soaker hose, along with assistance from two gardeners and the ubiquitous Raspberry Pi board.

  • Charly's Column: iWatch

    Recently, sys admin Charly was faced with the task of synchronizing a directory on a server with two NFS-mounted clients. He wanted the whole thing to happen quickly and to be easily manageable, which ruled out DRBD and GlusterFS.

  • The sys admin's daily grind: colorls

    The first time in our lives we got to a black-and-white Linux or Unix shell, most of us probably typed ls first. In a mixture of nostalgia and the knowledge that life is colorful, columnist Charly Kühnast plays a colorful trump card with colorls.

  • Charly's Column – Doorbell Pi

    When Charly puts on his headphones at home, he often fails to hear the doorbell. So, he dreamed up a solution with a Raspberry Pi Zero, a noise detector, and a power outlet with a LAN connection.

  • Charly's Column

    Charly may be a traditionalist with sync-unfriendly duplicate home directories, but a little utility called Unison helps keep his data consistent . This month you’ll learn why Rsync sometimes isn’t enough.

comments powered by Disqus

Direct Download

Read full article as PDF:

Price $2.95