New Years Eve Hue and Spotify Party?
Moderators: leecollings, remb0
-
febalci
- Posts: 331
- Joined: Monday 03 July 2017 19:58
- Target OS: NAS (Synology & others)
- Domoticz version:
- Contact:
New Years Eve Hue and Spotify Party?
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?
- waaren
- Posts: 6028
- Joined: Tuesday 03 January 2017 14:18
- Target OS: Linux
- Domoticz version: Beta
- Location: Netherlands
- Contact:
Re: New Years Eve Hue and Spotify Party?
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
}
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
- EdwinK
- Posts: 1820
- Joined: Sunday 22 January 2017 21:46
- Target OS: Raspberry Pi / ODroid
- Domoticz version: BETA
- Location: Rhoon
- Contact:
Re: New Years Eve Hue and Spotify Party?
Now just let's think of something nice to happen.
Running latest BETA on a Pi-3 | Toon® Thermostat (rooted) | Hue | Tuya | IKEA tradfri | Dashticz V3 on Lenovo Huawei Tablet | Conbee
Who is online
Users browsing this forum: Bing [Bot] and 1 guest