FHEM Modul: This module controls the christmas lights of Twinkly.
Supported models:
Copy to your fhem path and activate it:
reload 31_Twinkly.pm
Define:
define Twinkly
Example:
define Weihnachtskaktus Twinkly 192.168.178.100
or
define Weihnachtskaktus Twinkly Weihnachtskaktus.fritz.box
Make sure, the twinkly device is reachable in your network.
The loading of the device informations takes about 1-2minutes.
First the modul try to get an TOKEN from the device (expire after ~4h)
The modul try to get all the device informations (e.g. modul) from the device.
Depends on the model the modul try to set the necessary settings for fhem.
GET commands:
SET command:
ATTR command (optional):