New Years Eve Hue and Spotify Party?
Posted: Friday 28 December 2018 9:18
I want to set an event, so that when it is exactly 00:00 on January1, spotify starts playing a certain song and hue lights starts color loop. Any suggestions?
Open source Home Automation System
https://forum.domoticz.com/
Create a scene Happy NewYear with the required actions and test below script.febalci wrote: Friday 28 December 2018 9:18 I want to set an event, so that when it is exactly 00:00 on January1, spotify starts playing a certain song and hue lights starts color loop. Any suggestions?
Code: Select all
return {
on = { timer = { "at 11:02 on 28/12", "at 23:59 on 31/12"}}, -- first timer for test
execute = function(dz)
dz.log("One minute to go",dz.LOG_FORCE)
dz.scenes("Happy NewYear").switchOn().afterSec(60)
end
}