Skip to content

A Raspberry Pi firmware for controlling IKEA Dioder lights

License

Notifications You must be signed in to change notification settings

th0mas/Fancy-Lights

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fancy Lights

Raspberry Pi IKEA Dioder Light Controller

A lockdown project.

Features ( Current and TODO)

  • Can control light colour
  • Simple Web Interface
  • Light transitions / animations
  • Real time control
  • Alexa Integration

Usage

Once installed on a Raspberry Pi, the control panel can be accessed at the IP of the Pi or, more conviniently, http://nerves.local


Uses the Elixir Nerves framework to create a firmware for the Raspberry Pi, and uses Pigpio to generate PWM signals to control the LED Lights.

Pi connected to the DIODER controller using these modifications. Soldering required.

Uses a Pheonix web interface to control the lights currently. Will implement using Liveview later, the current interface is the bare minimum to be controlable as doesn't work completely.

Install

A Nerves 'poncho' project. Requires Elixir and Erlang to be installed.

Firmware for the Raspberry Pi Zero can be downloaded here

To generate your own firmware:

git clone https://github.com/th0mas/Fancy-Lights
cd Fancy-Lights/fancy_lights_firmware
export MIX_TARGET=<Your Decvice Tag> # View supported devices
mix deps.get
mix firmware
mix firmware.burn # burn firmware to inserted SD Card

Suported Devices

Tested on a Raspberry Pi 0, should run on any Nerves supported raspberry pi.

More details here: https://hexdocs.pm/nerves/0.4.8/targets.html#supported-targets-and-systems

Notes

Probaly not the most idiomatic Elixir code, this is my first Elixir project, it does, however, work. Works on my Raspberry Pi Zero W.