Dirigera Max is a Max MSP package for controlling smart lights connected to the Ikea's Dirigera gateway.
You can add the package to your machine running Max either using the Package Manager (recommended) or manually
You can find the package in the Max's Package Manager - look for Dirigera Max
in Remote Packages
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
To make it work you will need to create dirigera_config.json
file in the javascript folder in the package's directory: <path-to-documents>\Max 8\Packages\Dirigera Max\javascript
.
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 runningnpx dirigera authenticate
and following the instructions.
You will find an example configuration file in the javascript folder, use it as a reference.
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).
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.