Skip to content

A Max MSP package for controlling the Ikea's smart lights over local network using Dirigera gateway

License

Notifications You must be signed in to change notification settings

maceq687/dirigera-max

Repository files navigation

Dirigera Max

Dirigera Max is a Max MSP package for controlling smart lights connected to the Ikea's Dirigera gateway.

How to start

You can add the package to your machine running Max either using the Package Manager (recommended) or manually

Package Manager

You can find the package in the Max's Package Manager - look for Dirigera Max in Remote Packages

Manually

Clone this repository into your Max Packages folder.

Navigate to <path-to-documents>\Max 8\Packages on your computer, open command line there and enter:

git clone https://github.com/maceq687/dirigera-max

Prerequisities

To make it work you will need to create dirigera_config.json file in the javascript folder of the cloned project. The file must contain two variables:

  • ip - The IP address of the Dirigera gateway.
  • auth_key - Your access token for the Dirigera gateway. You can obtain this token using e.g. dirigera CLI tool by running npx dirigera authenticate and following the instructions.

You will find an example configuration file in the javascript folder, use it as a reference.

Compatibility

This package was developed and tested on Dirigera gateway art. 105.034.06 and Tradfri smart light bulbs models: LED2109G6 (E27 CWS 806lm), LED2201G8 (E27 WS 1055lm) and LED1935C3 (E14 WW 250lm).

Notes

It is intended to work only with lights but it is possible to expand it further to control other smart devices that can be connected to the Dirigera gateway.