Skip to content

DMX to IKEA Trådfri - Open Lighting Architecture trigger config to control IKEA Trådfri lights & control outlets with DMX (Art-Net, sACN or via DMX input)

Notifications You must be signed in to change notification settings

gobo-ws/ola-trigger-ikea-tradfri-dmx

Repository files navigation

OLA trigger config to control IKEA Trådfri lights & control outlets with DMX (Art-Net, sACN or via DMX input)

Requirements

Installation

  • Download and install libcoap with DTLS support:
git clone --recursive https://github.com/obgm/libcoap.git
cd libcoap
git checkout dtls
git submodule update --init --recursive
./autogen.sh
./configure --disable-documentation --disable-shared
make
sudo make install
  • Use the following string to connect to the Trådfri gateway and create a new DTLS identity (you will get a pre shared key from the gateway)
    SECURITY_KEY = Trådfri security key. Printed on the back of gateway
    IDENTITY = Your API user
    HOSTNAME = Trådfri gateway hostname or IP address

coap-client -m post -u "Client_identity" -k "SECURITY_KEY" -e '{"9090":"IDENTITY"}' "coaps://HOSTNAME:5684/15011/9063"

  • Download the tradfri.conf file and edit the configuration section
  • Download the tradfri.sh shell script, place it in the same directory and make it executable with chmod +x

OLA trigger documentation

Usage

  • Before running ola_trigger, make sure that olad is running and the universe has been configured with a DMX512 source.
    The config file is provided on the command line:

ola_trigger tradfri.conf

IKEA Trådfri bulb controlled with DMX - video clip

2018-11-10

Created a config for the new Trådfri control outlets.

2018-03-06

I have created a new config file tradfri_beta.conf that should support all IKEA Trådfri devices (single color, color temperature & RGB lamps) Also transition time can be changed using a third DMX channel (0-255 ms fade time)

It is still in beta stage so maybe we should change the fade time from millisecond till seconds instead. RGB color conversion would be nice to have.

Creating a plugin for OLA instead of using a trigger file would be better and would give more opportunities, but it requires more work and skills.

About

DMX to IKEA Trådfri - Open Lighting Architecture trigger config to control IKEA Trådfri lights & control outlets with DMX (Art-Net, sACN or via DMX input)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages