Great guide!mcduarte2000 wrote: ↑Sunday 30 July 2017 19:59 Just as an info, in case useful for someone else, I have been using with success this python script:
https://github.com/sandyjmacdonald/ikea-smartlight
Using this tutorial:
https://learn.pimoroni.com/tutorial/san ... om-your-pi
I have four lights in my corridor and created a simple bash script:
Which I am calling using a virtual switch (and with some simple timers depending on the hour of the day):Code: Select all
#!/bin/bash cd /home/pi/domoticz/scripts/python/ikea-smartlight/ python tradfri-groups.py -a power -g 174716 -v $1 python tradfri-groups.py -a brightness -g 174716 -v $2 python tradfri-lights.py -a color -l 65537 -v $3 python tradfri-lights.py -a color -l 65538 -v $3 python tradfri-lights.py -a color -l 65539 -v $3 python tradfri-lights.py -a color -l 65540 -v $3
![]()
I'm using it in a pi2 that is controlled by json from a Synology DS916+ Docker Domoticz installation.
Good enough until Ikea releases an API that can be integrated into Domoticz.