Script example 2: Fading RGB lights
Freek-Jan Buijsman
Administrator
Example 2a: Fading RGB lights 1 #Example for fading RGB lights 1 #This example fades between 3 colours that are set in this script with a fixed speed. FADE RGB(505/Colour wall) TO 255,0,0 IN 20 SEC STEP 100 #full red FADE RGB(505/Colour wall) TO 0,255,0 IN 20 SEC STEP 100 #full green FADE RGB(505/Colour wall) TO 0,0,255 IN 20 SEC STEP 100 #full blue RESTART #You can use a trigger or a scenario to start or stop this script #For example, start this script with a scenario and stop it with the Room Off button (trigger)
Example 2b: Fading RGB lights 2 #Example for fading RGB lights 2 #This example fades between 3 colours that can be set with an iOS or Android device and the speed is a dimmer value which can also be altered on the device. FADE RGB(505/Colour wall) TO RGB(501/RGB colour1) IN BYTE(500,RGB fade speed) SEC STEP 100 FADE RGB(505/Colour wall) TO RGB(502/RGB colour2) IN BYTE(500,RGB fade speed) SEC STEP 100 FADE RGB(505/Colour wall) TO RGB(503/RGB colour3) IN BYTE(500,RGB fade speed) SEC STEP 100 RESTART #You can use a trigger or a scenario to start or stop this script #For example, start this script with a scenario and stop it with the Room Off button (trigger)
Categorieën
- 360 Alle Categorieën
- 28 Release notes
- 8 Release notes - Pairot
- 20 Release notes - xxter
- 11 Pairot
- 48 Algemeen
- 5 Device
- App
- 1 Project
- 2 Voice assistants
- 10 xxter
- 126 Algemeen
- 47 Algemeen
- 34 Nieuwe functionaliteiten en nieuwe features
- 21 Apps
- 20 Apps algemeen
- 1 Apps Beta release
- 24 Profielen
- 7 Profiel algemeen
- 16 Pagina's en pagina elementen
- 1 Waarschuwingsservice
- 94 Project
- 6 Logica
- 2 Aanwezigheidsdetectie
- 12 Acties
- 3 BREEAM
- 14 Cameras
- 16 Componenten
- 1 Config Tool
- 6 Opdrachten
- 28 Native scripts
- 3 LUA scripts
- 3 Statistieken
- 50 Device
- 42 Device algemeen
- 3 Toegangsrechten en lokale gebruikers
- 4 Aanwezigheidssimulatie / Presence simulation