diff --git a/klanglicht-module-base/src/main/kotlin/de/visualdigits/kotlin/klanglicht/hardware/lightmanager/model/lm/LMActionLmAir.kt b/klanglicht-module-base/src/main/kotlin/de/visualdigits/kotlin/klanglicht/hardware/lightmanager/model/lm/LMActionLmAir.kt index f5de6c8..efe095c 100644 --- a/klanglicht-module-base/src/main/kotlin/de/visualdigits/kotlin/klanglicht/hardware/lightmanager/model/lm/LMActionLmAir.kt +++ b/klanglicht-module-base/src/main/kotlin/de/visualdigits/kotlin/klanglicht/hardware/lightmanager/model/lm/LMActionLmAir.kt @@ -1,11 +1,12 @@ package de.visualdigits.kotlin.klanglicht.hardware.lightmanager.model.lm class LMActionLmAir( + val comment: String? = null, val sceneIndex: Int? = null, ) : LMAction() { override fun toString(): String { - return "[LMAir] $sceneIndex" + return "[LMAir] $comment: $sceneIndex" } override fun url(): String = "/v1/scenes/json/lmair?sceneIndex=$sceneIndex&" diff --git a/klanglicht-module-base/src/main/kotlin/de/visualdigits/kotlin/klanglicht/hardware/lightmanager/model/lm/LMScenes.kt b/klanglicht-module-base/src/main/kotlin/de/visualdigits/kotlin/klanglicht/hardware/lightmanager/model/lm/LMScenes.kt index 57318e6..a6ff4aa 100644 --- a/klanglicht-module-base/src/main/kotlin/de/visualdigits/kotlin/klanglicht/hardware/lightmanager/model/lm/LMScenes.kt +++ b/klanglicht-module-base/src/main/kotlin/de/visualdigits/kotlin/klanglicht/hardware/lightmanager/model/lm/LMScenes.kt @@ -1,18 +1,20 @@ package de.visualdigits.kotlin.klanglicht.hardware.lightmanager.model.lm +import com.fasterxml.jackson.annotation.JsonIgnoreProperties import com.fasterxml.jackson.annotation.JsonInclude import com.fasterxml.jackson.databind.SerializationFeature import com.fasterxml.jackson.module.kotlin.jacksonMapperBuilder import java.io.File import java.util.Locale +@JsonIgnoreProperties("scenesMap") class LMScenes( val name: String? = null ) { - val scenes: MutableMap> = mutableMapOf() + val scenes: LinkedHashMap> = LinkedHashMap() - val scenesMap: MutableMap = mutableMapOf() + val scenesMap: LinkedHashMap = LinkedHashMap() companion object { private val mapper = jacksonMapperBuilder() diff --git a/klanglicht-module-base/src/test/resources/.klanglicht/preferences/scenes.json b/klanglicht-module-base/src/test/resources/.klanglicht/preferences/scenes.json index 061c8c9..48c037d 100644 --- a/klanglicht-module-base/src/test/resources/.klanglicht/preferences/scenes.json +++ b/klanglicht-module-base/src/test/resources/.klanglicht/preferences/scenes.json @@ -19,52 +19,19 @@ "actions": [ { "shelly": { - "ids": "Flur", - "turnOn": true - } - }, - { - "shelly": { - "ids": "Schlafzimmer", + "ids": "Flur,Schlafzimmer", "turnOn": true } }, { "lmair": { + "comment": "Idual Off", "sceneIndex": 1499 } }, - { - "lmair": { - "sceneIndex": 42 - } - }, - { - "lmair": { - "sceneIndex": 42 - } - }, { "shelly": { - "ids": "Wohnzimmer_Deckenlampe", - "turnOn": false - } - }, - { - "shelly": { - "ids": "Kristall", - "turnOn": false - } - }, - { - "shelly": { - "ids": "Bar", - "turnOn": false - } - }, - { - "shelly": { - "ids": "Starwars", + "ids": "Kristall,Wohnzimmer_Deckenlampe,Bar,Starwars", "turnOn": false } }, @@ -140,6 +107,7 @@ "actions": [ { "lmair": { + "comment": "Idual On", "sceneIndex": 42 } } @@ -151,6 +119,7 @@ "actions": [ { "lmair": { + "comment": "Idual On", "sceneIndex": 42 } } @@ -191,6 +160,7 @@ "actions": [ { "lmair": { + "comment": "Idual On", "sceneIndex": 42 } } @@ -235,6 +205,7 @@ "actions": [ { "lmair": { + "comment": "Idual On", "sceneIndex": 42 } } @@ -246,6 +217,7 @@ "actions": [ { "lmair": { + "comment": "Idual Off", "sceneIndex": 1499 } } @@ -257,6 +229,7 @@ "actions": [ { "lmair": { + "comment": "Idual Off", "sceneIndex": 1499 } } @@ -268,6 +241,7 @@ "actions": [ { "lmair": { + "comment": "Idual On", "sceneIndex": 42 } } @@ -279,6 +253,7 @@ "actions": [ { "lmair": { + "comment": "Idual On", "sceneIndex": 42 } } @@ -290,6 +265,7 @@ "actions": [ { "lmair": { + "comment": "Idual On", "sceneIndex": 42 } } @@ -301,6 +277,7 @@ "actions": [ { "lmair": { + "comment": "Idual On", "sceneIndex": 42 } } @@ -312,6 +289,7 @@ "actions": [ { "lmair": { + "comment": "Idual Off", "sceneIndex": 1499 } } @@ -323,6 +301,7 @@ "actions": [ { "lmair": { + "comment": "Idual Off", "sceneIndex": 1499 } } @@ -354,11 +333,13 @@ }, { "lmair": { + "comment": "Idual On", "sceneIndex": 42 } }, { "lmair": { + "comment": "Idual Off", "sceneIndex": 1499 } }, @@ -376,6 +357,7 @@ }, { "lmair": { + "comment": "Idual Off", "sceneIndex": 1499 } }, @@ -402,6 +384,7 @@ }, { "lmair": { + "comment": "Idual On", "sceneIndex": 42 } } @@ -487,11 +470,13 @@ }, { "lmair": { + "comment": "Idual On", "sceneIndex": 42 } }, { "lmair": { + "comment": "Idual Off", "sceneIndex": 1499 } }, @@ -509,6 +494,7 @@ }, { "lmair": { + "comment": "Idual Off", "sceneIndex": 1499 } }, @@ -554,6 +540,7 @@ "actions": [ { "lmair": { + "comment": "Idual Off", "sceneIndex": 1499 } }, @@ -639,6 +626,7 @@ }, { "lmair": { + "comment": "Idual On", "sceneIndex": 42 } } @@ -1453,44 +1441,15 @@ "name": "Licht TV", "color": "#fffad5", "actions": [ - { - "lmair": { - "sceneIndex": 1499 - } - }, { "shelly": { - "ids": "Wohnzimmer_Deckenlampe", + "ids": "Wohnzimmer_Deckenlampe,Flur,Kristall,Schlafzimmer", "turnOn": false } }, - { - "shelly": { - "ids": "Flur", - "turnOn": false - } - }, - { - "shelly": { - "ids": "Kristall", - "turnOn": false - } - }, - { - "shelly": { - "ids": "Schlafzimmer", - "turnOn": false - } - }, - { - "lmair": { - "sceneIndex": 42 - } - }, { "hybrid": { - "hexColors": "000000,000000,94832d,94832d,94832d,94832d,000000", - "gains": "1.0" + "hexColors": "000000,000000,94832d,94832d,94832d,94832d,000000" } }, { @@ -1500,6 +1459,7 @@ }, { "lmair": { + "comment": "Idual On", "sceneIndex": 42 } }, @@ -1527,6 +1487,7 @@ "actions": [ { "lmair": { + "comment": "Idual Off", "sceneIndex": 1499 } } @@ -1549,6 +1510,7 @@ }, { "lmair": { + "comment": "Idual Off", "sceneIndex": 1499 } }, @@ -2460,2477 +2422,5 @@ ] } ] - }, - "scenesMap": { - "All On {group:wohnzimmer;color:#ffffff}": { - "name": "All On", - "color": "#ffffff", - "actions": [ - { - "pause": { - "duration": 1000 - } - } - ] - }, - "All Off {group:wohnzimmer;color:#333333}": { - "name": "All Off", - "color": "#333333", - "actions": [ - { - "shelly": { - "ids": "Flur", - "turnOn": true - } - }, - { - "shelly": { - "ids": "Schlafzimmer", - "turnOn": true - } - }, - { - "lmair": { - "sceneIndex": 1499 - } - }, - { - "lmair": { - "sceneIndex": 42 - } - }, - { - "lmair": { - "sceneIndex": 42 - } - }, - { - "shelly": { - "ids": "Wohnzimmer_Deckenlampe", - "turnOn": false - } - }, - { - "shelly": { - "ids": "Kristall", - "turnOn": false - } - }, - { - "shelly": { - "ids": "Bar", - "turnOn": false - } - }, - { - "shelly": { - "ids": "Starwars", - "turnOn": false - } - }, - { - "pause": { - "duration": 1000 - } - }, - { - "shelly": { - "ids": "Wohnzimmer_Esstisch", - "turnOn": false - } - } - ] - }, - "TV [D] {group:wohnzimmer}": { - "name": "TV [D]", - "color": "", - "actions": [] - }, - "Darth Vader On {group:starwars}": { - "name": "Darth Vader On", - "color": "", - "actions": [ - { - "shelly": { - "ids": "Starwars", - "turnOn": true - } - } - ] - }, - "Darth Vader Off {group:starwars}": { - "name": "Darth Vader Off", - "color": "", - "actions": [ - { - "shelly": { - "ids": "Starwars", - "turnOn": false - } - } - ] - }, - "Star Wars [D] {group:starwars}": { - "name": "Star Wars [D]", - "color": "", - "actions": [] - }, - "IDual On {group:idual;color:#ffffff}": { - "name": "IDual On", - "color": "#ffffff", - "actions": [ - { - "lmair": { - "sceneIndex": 42 - } - } - ] - }, - "IDual Off {group:idual;color:#000000}": { - "name": "IDual Off", - "color": "#000000", - "actions": [ - { - "lmair": { - "sceneIndex": 1499 - } - } - ] - }, - "IDual Red {group:idual;color:#ff0000}": { - "name": "IDual Red", - "color": "#ff0000", - "actions": [ - { - "lmair": { - "sceneIndex": 1499 - } - } - ] - }, - "IDual Green {group:idual;color:#00ff00}": { - "name": "IDual Green", - "color": "#00ff00", - "actions": [ - { - "lmair": { - "sceneIndex": 42 - } - } - ] - }, - "IDual Blue {group:idual;color:#0000ff}": { - "name": "IDual Blue", - "color": "#0000ff", - "actions": [ - { - "lmair": { - "sceneIndex": 42 - } - } - ] - }, - "IDual Yellow {group:idual;color:#ffff00}": { - "name": "IDual Yellow", - "color": "#ffff00", - "actions": [ - { - "lmair": { - "sceneIndex": 42 - } - } - ] - }, - "IDual DayWhite {group:idual;color:#ffffff}": { - "name": "IDual DayWhite", - "color": "#ffffff", - "actions": [ - { - "lmair": { - "sceneIndex": 42 - } - } - ] - }, - "IDual ColdWhite {group:idual;color:#d5f1ff}": { - "name": "IDual ColdWhite", - "color": "#d5f1ff", - "actions": [ - { - "lmair": { - "sceneIndex": 1499 - } - } - ] - }, - "IDual WarmWhite {group:idual;color:#fffad5}": { - "name": "IDual WarmWhite", - "color": "#fffad5", - "actions": [ - { - "lmair": { - "sceneIndex": 1499 - } - } - ] - }, - "Hollywood {group:dmx}": { - "name": "Hollywood", - "color": "", - "actions": [ - { - "shelly": { - "ids": "Kristall", - "turnOn": false - } - }, - { - "shelly": { - "ids": "Starwars", - "turnOn": false - } - }, - { - "shelly": { - "ids": "Wohnzimmer_Deckenlampe", - "turnOn": false - } - }, - { - "lmair": { - "sceneIndex": 42 - } - }, - { - "lmair": { - "sceneIndex": 1499 - } - }, - { - "shelly": { - "ids": "Flur", - "turnOn": false - } - }, - { - "shelly": { - "ids": "Schlafzimmer", - "turnOn": false - } - }, - { - "lmair": { - "sceneIndex": 1499 - } - }, - { - "pause": { - "duration": 2000 - } - }, - { - "shelly": { - "ids": "Wohnzimmer_Esstisch", - "turnOn": false - } - }, - { - "url": { - "url": "playPreset?preset=hollywood" - } - }, - { - "pause": { - "duration": 20000 - } - }, - { - "lmair": { - "sceneIndex": 42 - } - } - ] - }, - "DMX Red {group:dmx;color:#ff0000}": { - "name": "DMX Red", - "color": "#ff0000", - "actions": [ - { - "hybrid": { - "hexColors": "ff0000" - } - } - ] - }, - "DMX Yello {group:dmx;color:#ffef00,#ffaa00,#ffef00,#ffaa00,#ffef00,#ffaa00,#ffef00}": { - "name": "DMX Yello", - "color": "#ffef00,#ffaa00,#ffef00,#ffaa00,#ffef00,#ffaa00,#ffef00", - "actions": [ - { - "hybrid": { - "hexColors": "ffff00" - } - } - ] - }, - "DMX Christmas {group:dmx;color:#990000,#009900,#990000,#009900,#990000,#009900,#990000}": { - "name": "DMX Christmas", - "color": "#990000,#009900,#990000,#009900,#990000,#009900,#990000", - "actions": [ - { - "hybrid": { - "ids": "15,29,21,1", - "hexColors": "990000,009900,990000,009900,990000,009900,990000" - } - } - ] - }, - "DMX Computerwelt {group:dmx;color:#ffff00,#ff00ff,#ffff00,#ff00ff,#ffff00,#ff00ff,#ffff00}": { - "name": "DMX Computerwelt", - "color": "#ffff00,#ff00ff,#ffff00,#ff00ff,#ffff00,#ff00ff,#ffff00", - "actions": [ - { - "hybrid": { - "ids": "15,29,21,1", - "hexColors": "ffff00,ff00ff,ffff00,ff00ff,ffff00,ff00ff,ffff00" - } - } - ] - }, - "DMX ROBOTER {group:dmx;color:#ff0000,#ffffff}": { - "name": "DMX ROBOTER", - "color": "#ff0000,#ffffff", - "actions": [ - { - "url": { - "url": "playTake?take=ROBOTER" - } - } - ] - }, - "DMX Enterprise E MovingHeads {group:dmx;color:#ddddff,#ffefdd,#ddddff,#ffefdd}": { - "name": "DMX Enterprise E MovingHeads", - "color": "#ddddff,#ffefdd,#ddddff,#ffefdd", - "actions": [ - { - "url": { - "url": "playTake?take=Enterprise E" - } - } - ] - }, - "DMX Darth Vaders {group:dmx;color:#ff0000}": { - "name": "DMX Darth Vaders", - "color": "#ff0000", - "actions": [ - { - "shelly": { - "ids": "Wohnzimmer_Deckenlampe", - "turnOn": false - } - }, - { - "lmair": { - "sceneIndex": 42 - } - }, - { - "lmair": { - "sceneIndex": 1499 - } - }, - { - "shelly": { - "ids": "Flur", - "turnOn": false - } - }, - { - "shelly": { - "ids": "Schlafzimmer", - "turnOn": false - } - }, - { - "lmair": { - "sceneIndex": 1499 - } - }, - { - "pause": { - "duration": 1000 - } - }, - { - "shelly": { - "ids": "Wohnzimmer_Esstisch", - "turnOn": false - } - }, - { - "url": { - "url": "playTake?take=Darth Vaders" - } - }, - { - "shelly": { - "ids": "Kristall", - "turnOn": true - } - }, - { - "hybrid": { - "ids": "Starwars", - "hexColors": "ff0000" - } - }, - { - "shelly": { - "ids": "Starwars", - "turnOn": true - } - } - ] - }, - "DMX Star Wars {group:dmx;color:#0000ff,#ff0000,#0000aa,#00ff00,#0000ee}": { - "name": "DMX Star Wars", - "color": "#0000ff,#ff0000,#0000aa,#00ff00,#0000ee", - "actions": [ - { - "lmair": { - "sceneIndex": 1499 - } - }, - { - "shelly": { - "ids": "Wohnzimmer_Deckenlampe", - "turnOn": false - } - }, - { - "shelly": { - "ids": "Flur", - "turnOn": false - } - }, - { - "shelly": { - "ids": "Schlafzimmer", - "turnOn": false - } - }, - { - "pause": { - "duration": 1000 - } - }, - { - "shelly": { - "ids": "Wohnzimmer_Esstisch", - "turnOn": false - } - }, - { - "url": { - "url": "playTake?take=Star Wars" - } - }, - { - "shelly": { - "ids": "Kristall", - "turnOn": true - } - }, - { - "hybrid": { - "ids": "Starwars", - "hexColors": "ff0000" - } - }, - { - "shelly": { - "ids": "Starwars", - "turnOn": true - } - } - ] - }, - "DMX Blackout {group:dmx;color:#333333}": { - "name": "DMX Blackout", - "color": "#333333", - "actions": [ - { - "hybrid": { - "ids": "15,29,21,1", - "hexColors": "000000" - } - } - ] - }, - "DMX Parking {group:dmx;color:#333333}": { - "name": "DMX Parking", - "color": "#333333", - "actions": [ - { - "url": { - "url": "playTake?take=parking.json" - } - }, - { - "pause": { - "duration": 20000 - } - }, - { - "lmair": { - "sceneIndex": 42 - } - } - ] - }, - "Esstisch An {group:wohnzimmer}": { - "name": "Esstisch An", - "color": "", - "actions": [ - { - "shelly": { - "ids": "Wohnzimmer_Esstisch", - "turnOn": true - } - } - ] - }, - "Esstisch Aus {group:wohnzimmer}": { - "name": "Esstisch Aus", - "color": "", - "actions": [ - { - "shelly": { - "ids": "Wohnzimmer_Esstisch", - "turnOn": false - } - } - ] - }, - "Deckenlampe On {group:wohnzimmer}": { - "name": "Deckenlampe On", - "color": "", - "actions": [ - { - "shelly": { - "ids": "Wohnzimmer_Deckenlampe", - "turnOn": true - } - } - ] - }, - "Deckenlampe Off {group:wohnzimmer}": { - "name": "Deckenlampe Off", - "color": "", - "actions": [ - { - "shelly": { - "ids": "Wohnzimmer_Deckenlampe", - "turnOn": false - } - } - ] - }, - "Deckenlampe [M=1] {group:markers}": { - "name": "Deckenlampe [M=1]", - "color": "", - "actions": [] - }, - "Deckenlampe [M=0] {group:markers}": { - "name": "Deckenlampe [M=0]", - "color": "", - "actions": [] - }, - "Esstisch [M=1] {group:markers}": { - "name": "Esstisch [M=1]", - "color": "", - "actions": [] - }, - "Esstisch [M=0] {group:markers}": { - "name": "Esstisch [M=0]", - "color": "", - "actions": [] - }, - "Flur [M=1] {group:markers}": { - "name": "Flur [M=1]", - "color": "", - "actions": [] - }, - "Flur [M=0] {group:markers}": { - "name": "Flur [M=0]", - "color": "", - "actions": [] - }, - "Flur On {group:shelly}": { - "name": "Flur On", - "color": "", - "actions": [ - { - "shelly": { - "ids": "Flur", - "turnOn": true - } - } - ] - }, - "Flur Off {group:shelly}": { - "name": "Flur Off", - "color": "", - "actions": [ - { - "shelly": { - "ids": "Flur", - "turnOn": false - } - } - ] - }, - "Flur und Wohnzimmer {group:shelly}": { - "name": "Flur und Wohnzimmer", - "color": "", - "actions": [] - }, - "Schlafzimmer Off {group:shelly}": { - "name": "Schlafzimmer Off", - "color": "", - "actions": [ - { - "shelly": { - "ids": "Schlafzimmer", - "turnOn": false - } - } - ] - }, - "Schlafzimmer [M=1] {group:markers}": { - "name": "Schlafzimmer [M=1]", - "color": "", - "actions": [] - }, - "Schlafzimmer [M=0] {group:markers}": { - "name": "Schlafzimmer [M=0]", - "color": "", - "actions": [] - }, - "DMX Fireplace {group:dmx;color:#ff0000,#ffaa00,#ee0000,#ffee00,#cc0000}": { - "name": "DMX Fireplace", - "color": "#ff0000,#ffaa00,#ee0000,#ffee00,#cc0000", - "actions": [ - { - "url": { - "url": "playPreset?preset=Fire&loop=true" - } - } - ] - }, - "Deckenfluter Full {group:wohnzimmer}": { - "name": "Deckenfluter Full", - "color": "", - "actions": [ - { - "lmair": { - "sceneIndex": 42 - } - } - ] - }, - "Deckenfluter Off {group:wohnzimmer}": { - "name": "Deckenfluter Off", - "color": "", - "actions": [ - { - "lmair": { - "sceneIndex": 42 - } - } - ] - }, - "Salzkristall On {group:wohnzimmer;color:#ffffff}": { - "name": "Salzkristall On", - "color": "#ffffff", - "actions": [ - { - "shelly": { - "ids": "Kristall", - "turnOn": true - } - } - ] - }, - "Salzkristall Off {group:wohnzimmer;color:#333333}": { - "name": "Salzkristall Off", - "color": "#333333", - "actions": [ - { - "shelly": { - "ids": "Kristall", - "turnOn": false - } - } - ] - }, - "Aikido {group:wohnzimmer}": { - "name": "Aikido", - "color": "", - "actions": [] - }, - "All Markers Off": { - "name": "All Markers Off", - "color": "", - "actions": [] - }, - "Deckenfluter Dim {group:wohnzimmer}": { - "name": "Deckenfluter Dim", - "color": "", - "actions": [ - { - "lmair": { - "sceneIndex": 42 - } - } - ] - }, - "Surround Standard {group:yamaha}": { - "name": "Surround Standard", - "color": "", - "actions": [ - { - "yamahaAvantage": { - "command": "surroundProgram", - "program": "Standard" - } - } - ] - }, - "Surround Sci-Fi {group:yamaha}": { - "name": "Surround Sci-Fi", - "color": "", - "actions": [ - { - "yamahaAvantage": { - "command": "surroundProgram", - "program": "Sci-Fi" - } - } - ] - }, - "Surround Spectacle {group:yamaha}": { - "name": "Surround Spectacle", - "color": "", - "actions": [ - { - "yamahaAvantage": { - "command": "surroundProgram", - "program": "Spectacle" - } - } - ] - }, - "Surround Adventure {group:yamaha}": { - "name": "Surround Adventure", - "color": "", - "actions": [ - { - "yamahaAvantage": { - "command": "surroundProgram", - "program": "Adventure" - } - } - ] - }, - "Surround The Roxy Theatre {group:yamaha}": { - "name": "Surround The Roxy Theatre", - "color": "", - "actions": [ - { - "yamahaAvantage": { - "command": "surroundProgram", - "program": "The+Roxy+Theatre" - } - } - ] - }, - "Surround The Bottom Line {group:yamaha}": { - "name": "Surround The Bottom Line", - "color": "", - "actions": [ - { - "yamahaAvantage": { - "command": "surroundProgram", - "program": "The+Bottom+Line" - } - } - ] - }, - "Surround Hall In Vienna {group:yamaha}": { - "name": "Surround Hall In Vienna", - "color": "", - "actions": [ - { - "yamahaAvantage": { - "command": "surroundProgram", - "program": "Hall+in+Vienna" - } - } - ] - }, - "Surround Decoder {group:yamaha}": { - "name": "Surround Decoder", - "color": "", - "actions": [ - { - "yamahaAvantage": { - "command": "surroundProgram", - "program": "Surround+Decoder" - } - } - ] - }, - "Surround 7ch Stereo {group:yamaha}": { - "name": "Surround 7ch Stereo", - "color": "", - "actions": [ - { - "yamahaAvantage": { - "command": "surroundProgram", - "program": "7ch+Stereo" - } - } - ] - }, - "Surround Hall In Munich {group:yamaha}": { - "name": "Surround Hall In Munich", - "color": "", - "actions": [ - { - "yamahaAvantage": { - "command": "surroundProgram", - "program": "Hall+in+Munich" - } - } - ] - }, - "RGBW On {group:rgbw;color:#ffffff}": { - "name": "RGBW On", - "color": "#ffffff", - "actions": [ - { - "shelly": { - "ids": "Rgbw", - "turnOn": true - } - } - ] - }, - "RGBW Off {group:rgbw;color:#333333}": { - "name": "RGBW Off", - "color": "#333333", - "actions": [ - { - "shelly": { - "ids": "Rgbw", - "turnOn": false - } - } - ] - }, - "RGBW Red {group:rgbw;color:#ff0000}": { - "name": "RGBW Red", - "color": "#ff0000", - "actions": [ - { - "hybrid": { - "ids": "Rgbw", - "hexColors": "ff0000" - } - } - ] - }, - "RGBW Green {group:rgbw;color:#00ff00}": { - "name": "RGBW Green", - "color": "#00ff00", - "actions": [ - { - "hybrid": { - "ids": "Rgbw", - "hexColors": "00ff00" - } - } - ] - }, - "RGBW Blue {group:rgbw;color:#0000ff}": { - "name": "RGBW Blue", - "color": "#0000ff", - "actions": [ - { - "hybrid": { - "ids": "Rgbw", - "hexColors": "0000ff" - } - } - ] - }, - "RGBW Cyan {group:rgbw;color:#00ffff}": { - "name": "RGBW Cyan", - "color": "#00ffff", - "actions": [ - { - "hybrid": { - "ids": "Rgbw", - "hexColors": "00ffff" - } - } - ] - }, - "RGBW Yellow {group:rgbw;color:#ffff00}": { - "name": "RGBW Yellow", - "color": "#ffff00", - "actions": [ - { - "hybrid": { - "ids": "Rgbw", - "hexColors": "ffff00" - } - } - ] - }, - "RGBW Magenta {group:rgbw;color:#ff00ff}": { - "name": "RGBW Magenta", - "color": "#ff00ff", - "actions": [ - { - "hybrid": { - "ids": "Rgbw", - "hexColors": "ff00ff" - } - } - ] - }, - "RGBW Orange {group:rgbw;color:#ff8000}": { - "name": "RGBW Orange", - "color": "#ff8000", - "actions": [ - { - "hybrid": { - "ids": "Rgbw", - "hexColors": "ff8000" - } - } - ] - }, - "RGBW Purple {group:rgbw;color:#8000ff}": { - "name": "RGBW Purple", - "color": "#8000ff", - "actions": [ - { - "hybrid": { - "ids": "Rgbw", - "hexColors": "8000ff" - } - } - ] - }, - "RGBW Full {group:rgbw;color:#ffffff}": { - "name": "RGBW Full", - "color": "#ffffff", - "actions": [ - { - "url": { - "url": "shelly/gain?ids=Rgbw&gain=100&" - } - } - ] - }, - "RGBW Half {group:rgbw;color:#808080}": { - "name": "RGBW Half", - "color": "#808080", - "actions": [ - { - "url": { - "url": "shelly/gain?ids=Rgbw&gain=1&" - } - } - ] - }, - "Deko Red {group:deko;color:#ff0000}": { - "name": "Deko Red", - "color": "#ff0000", - "actions": [ - { - "hybrid": { - "ids": "Rgbw,Starwars,Bar", - "hexColors": "ff0000" - } - } - ] - }, - "Deko Green {group:deko;color:#00ff00}": { - "name": "Deko Green", - "color": "#00ff00", - "actions": [ - { - "hybrid": { - "ids": "Rgbw,Starwars,Bar", - "hexColors": "00ff00" - } - } - ] - }, - "Deko Blue {group:deko;color:#0000ff}": { - "name": "Deko Blue", - "color": "#0000ff", - "actions": [ - { - "hybrid": { - "ids": "Rgbw,Starwars,Bar", - "hexColors": "0000ff" - } - } - ] - }, - "Deko Cyan {group:deko;color:#00ffff}": { - "name": "Deko Cyan", - "color": "#00ffff", - "actions": [ - { - "hybrid": { - "ids": "Rgbw,Starwars,Bar", - "hexColors": "00ffff" - } - } - ] - }, - "Deko Yellow {group:deko;color:#ffff00}": { - "name": "Deko Yellow", - "color": "#ffff00", - "actions": [ - { - "hybrid": { - "ids": "Rgbw,Starwars,Bar", - "hexColors": "ffff00" - } - } - ] - }, - "Deko Magenta {group:deko;color:#ff00ff}": { - "name": "Deko Magenta", - "color": "#ff00ff", - "actions": [ - { - "hybrid": { - "ids": "Rgbw,Starwars,Bar", - "hexColors": "ff00ff" - } - } - ] - }, - "Deko Orange {group:deko;color:#ff8000}": { - "name": "Deko Orange", - "color": "#ff8000", - "actions": [ - { - "hybrid": { - "ids": "Rgbw,Starwars,Bar", - "hexColors": "ff8000" - } - } - ] - }, - "Deko Purple {group:deko;color:#8000ff}": { - "name": "Deko Purple", - "color": "#8000ff", - "actions": [ - { - "hybrid": { - "ids": "Rgbw,Starwars,Bar", - "hexColors": "8000ff" - } - } - ] - }, - "Bar Off {group:bar;color:#333333}": { - "name": "Bar Off", - "color": "#333333", - "actions": [ - { - "shelly": { - "ids": "Bar", - "turnOn": false - } - } - ] - }, - "Deko White {group:deko;color:#ffffff}": { - "name": "Deko White", - "color": "#ffffff", - "actions": [ - { - "hybrid": { - "ids": "Rgbw,Starwars,Bar", - "hexColors": "ffffff" - } - } - ] - }, - "Deko Off {group:deko;color:#333333}": { - "name": "Deko Off", - "color": "#333333", - "actions": [ - { - "shelly": { - "ids": "Rgbw,Starwars,Bar", - "turnOn": false - } - } - ] - }, - "Deko On {group:deko;color:#ffffff}": { - "name": "Deko On", - "color": "#ffffff", - "actions": [ - { - "shelly": { - "ids": "Rgbw,Starwars,Bar", - "turnOn": true - } - } - ] - }, - "Licht TV {group:background;color:#fffad5}": { - "name": "Licht TV", - "color": "#fffad5", - "actions": [ - { - "lmair": { - "sceneIndex": 1499 - } - }, - { - "shelly": { - "ids": "Wohnzimmer_Deckenlampe", - "turnOn": false - } - }, - { - "shelly": { - "ids": "Flur", - "turnOn": false - } - }, - { - "shelly": { - "ids": "Kristall", - "turnOn": false - } - }, - { - "shelly": { - "ids": "Schlafzimmer", - "turnOn": false - } - }, - { - "lmair": { - "sceneIndex": 42 - } - }, - { - "hybrid": { - "hexColors": "000000,000000,94832d,94832d,94832d,94832d,000000", - "gains": "1.0" - } - }, - { - "pause": { - "duration": 5000 - } - }, - { - "lmair": { - "sceneIndex": 42 - } - }, - { - "hybrid": { - "hexColors": "000000" - } - }, - { - "pause": { - "duration": 1000 - } - }, - { - "shelly": { - "ids": "Wohnzimmer_Esstisch", - "turnOn": false - } - } - ] - }, - "TV Licht Aus {group:background;color:#333333}": { - "name": "TV Licht Aus", - "color": "#333333", - "actions": [ - { - "lmair": { - "sceneIndex": 1499 - } - } - ] - }, - "Licht Kino {group:background;color:#000088,#000088,#880000,#880000}": { - "name": "Licht Kino", - "color": "#000088,#000088,#880000,#880000", - "actions": [ - { - "hybrid": { - "hexColors": "000000,000000,94832d,94832d,94832d,94832d,000000", - "gains": "1.0" - } - }, - { - "pause": { - "duration": 2000 - } - }, - { - "lmair": { - "sceneIndex": 1499 - } - }, - { - "pause": { - "duration": 1000 - } - }, - { - "hybrid": { - "hexColors": "7777ff,aaaaff,7777ff,aaaaff,7777ff,aaaaff,7777ff" - } - }, - { - "pause": { - "duration": 5000 - } - }, - { - "hybrid": { - "hexColors": "000088,000088,ffffcc,000088,000088,000088,000088" - } - }, - { - "pause": { - "duration": 5000 - } - }, - { - "hybrid": { - "hexColors": "880000,880000,000088,000088,000088,000088,880000" - } - } - ] - }, - "Background Red {group:background;color:#ff0000}": { - "name": "Background Red", - "color": "#ff0000", - "actions": [ - { - "hybrid": { - "hexColors": "ff0000" - } - } - ] - }, - "Background Dark Red {group:background;color:#880000}": { - "name": "Background Dark Red", - "color": "#880000", - "actions": [ - { - "hybrid": { - "hexColors": "880000" - } - } - ] - }, - "Background Green {group:background;color:#00ff00}": { - "name": "Background Green", - "color": "#00ff00", - "actions": [ - { - "hybrid": { - "hexColors": "00ff00" - } - } - ] - }, - "Background Dark Green {group:background;color:#008800}": { - "name": "Background Dark Green", - "color": "#008800", - "actions": [ - { - "hybrid": { - "hexColors": "008800" - } - } - ] - }, - "Background Blue {group:background;color:#0000ff}": { - "name": "Background Blue", - "color": "#0000ff", - "actions": [ - { - "hybrid": { - "hexColors": "0000ff" - } - } - ] - }, - "Background Dark Blue {group:background;color:#000088}": { - "name": "Background Dark Blue", - "color": "#000088", - "actions": [ - { - "hybrid": { - "hexColors": "000088" - } - } - ] - }, - "Background Cyan {group:background;color:#00ffff}": { - "name": "Background Cyan", - "color": "#00ffff", - "actions": [ - { - "hybrid": { - "hexColors": "00ffff" - } - } - ] - }, - "Background Dark Cyan {group:background;color:#008888}": { - "name": "Background Dark Cyan", - "color": "#008888", - "actions": [ - { - "hybrid": { - "hexColors": "008888" - } - } - ] - }, - "Background Yellow {group:background;color:#ffff00}": { - "name": "Background Yellow", - "color": "#ffff00", - "actions": [ - { - "hybrid": { - "hexColors": "ffff00" - } - } - ] - }, - "Background Magenta {group:background;color:#ff00ff}": { - "name": "Background Magenta", - "color": "#ff00ff", - "actions": [ - { - "hybrid": { - "hexColors": "ff00ff" - } - } - ] - }, - "Background Orange {group:background;color:#ff8000}": { - "name": "Background Orange", - "color": "#ff8000", - "actions": [ - { - "hybrid": { - "hexColors": "ff8000" - } - } - ] - }, - "Background Purple {group:background;color:#2d0080}": { - "name": "Background Purple", - "color": "#2d0080", - "actions": [ - { - "hybrid": { - "hexColors": "8000ff" - } - } - ] - }, - "Background White {group:background;color:#ffffff}": { - "name": "Background White", - "color": "#ffffff", - "actions": [ - { - "hybrid": { - "hexColors": "ffffff" - } - } - ] - }, - "Background Warm White {group:background;color:#ffde59,#ffde59,#000000,#000000}": { - "name": "Background Warm White", - "color": "#ffde59,#ffde59,#000000,#000000", - "actions": [ - { - "hybrid": { - "hexColors": "000000,000000,94832d,94832d,94832d,94832d,000000", - "gains": "1.0" - } - } - ] - }, - "Background Red / Blue {group:background;color:#0000ff,#ff0000,#ff0000,#0000ff}": { - "name": "Background Red / Blue", - "color": "#0000ff,#ff0000,#ff0000,#0000ff", - "actions": [ - { - "hybrid": { - "hexColors": "0000ff,0000ff,ff0000,ff0000,ff0000,ff0000,0000ff" - } - } - ] - }, - "Background Dark Red / Blue {group:background;color:#000088,#880000,#880000,#000088}": { - "name": "Background Dark Red / Blue", - "color": "#000088,#880000,#880000,#000088", - "actions": [ - { - "hybrid": { - "hexColors": "000088,000088,880000,880000,880000,880000,000088" - } - } - ] - }, - "Background Blue / Red {group:background;color:#ff0000,#0000ff,#0000ff,#ff0000}": { - "name": "Background Blue / Red", - "color": "#ff0000,#0000ff,#0000ff,#ff0000", - "actions": [ - { - "hybrid": { - "hexColors": "ff0000,ff0000,0000ff,0000ff,0000ff,0000ff,ff0000" - } - } - ] - }, - "Background Dark Blue / Red {group:background;color:#880000,#000088,#000088,#880000}": { - "name": "Background Dark Blue / Red", - "color": "#880000,#000088,#000088,#880000", - "actions": [ - { - "hybrid": { - "hexColors": "880000,880000,000088,000088,000088,000088,880000" - } - } - ] - }, - "Background Green / Red {group:background;color:#ff0000,#00ff00,#00ff00,#ff0000}": { - "name": "Background Green / Red", - "color": "#ff0000,#00ff00,#00ff00,#ff0000", - "actions": [ - { - "hybrid": { - "hexColors": "ff0000,ff0000,00ff00,00ff00,00ff00,00ff00,ff0000" - } - } - ] - }, - "Background Dark Green / Red {group:background;color:#880000,#008800,#008800,#880000}": { - "name": "Background Dark Green / Red", - "color": "#880000,#008800,#008800,#880000", - "actions": [ - { - "hybrid": { - "hexColors": "880000,880000,008800,008800,008800,008800,880000" - } - } - ] - }, - "Background Red / Green {group:background;color:#00ff00,#ff0000,#ff0000,#00ff00}": { - "name": "Background Red / Green", - "color": "#00ff00,#ff0000,#ff0000,#00ff00", - "actions": [ - { - "hybrid": { - "hexColors": "00ff00,00ff00,ff0000,ff0000,ff0000,ff0000,00ff00" - } - } - ] - }, - "Background Dark Red / Green {group:background;color:#008800,#880000,#880000,#008800}": { - "name": "Background Dark Red / Green", - "color": "#008800,#880000,#880000,#008800", - "actions": [ - { - "hybrid": { - "hexColors": "008800,008800,880000,880000,880000,880000,008800" - } - } - ] - }, - "Background Green / Blue {group:background;color:#0000ff,#00ff00,#00ff00,#0000ff}": { - "name": "Background Green / Blue", - "color": "#0000ff,#00ff00,#00ff00,#0000ff", - "actions": [ - { - "hybrid": { - "hexColors": "0000ff,0000ff,00ff00,00ff00,00ff00,00ff00,0000ff" - } - } - ] - }, - "Background Dark Green / Blue {group:background;color:#000088,#008800,#008800,#000088}": { - "name": "Background Dark Green / Blue", - "color": "#000088,#008800,#008800,#000088", - "actions": [ - { - "hybrid": { - "hexColors": "000088,000088,008800,008800,008800,008800,000088" - } - } - ] - }, - "Background Blue / Green {group:background;color:#00ff00,#0000ff,#0000ff,#00ff00}": { - "name": "Background Blue / Green", - "color": "#00ff00,#0000ff,#0000ff,#00ff00", - "actions": [ - { - "hybrid": { - "hexColors": "00ff00,00ff00,0000ff,0000ff,0000ff,0000ff,00ff00" - } - } - ] - }, - "Background Dark Blue / Green {group:background;color:#008800,#000088,#000088,#008800}": { - "name": "Background Dark Blue / Green", - "color": "#008800,#000088,#000088,#008800", - "actions": [ - { - "hybrid": { - "hexColors": "008800,008800,000088,000088,000088,000088,008800" - } - } - ] - }, - "Background Blue / Cyan {group:background;color:#00ffff,#0000ff,#0000ff,#00ffff}": { - "name": "Background Blue / Cyan", - "color": "#00ffff,#0000ff,#0000ff,#00ffff", - "actions": [ - { - "hybrid": { - "hexColors": "00ffff,00ffff,0000ff,0000ff,0000ff,0000ff,00ffff" - } - } - ] - }, - "Background Dark Blue / Cyan {group:background;color:#008888,#000088,#000088,#008888}": { - "name": "Background Dark Blue / Cyan", - "color": "#008888,#000088,#000088,#008888", - "actions": [ - { - "hybrid": { - "hexColors": "008888,008888,000088,000088,000088,000088,008888" - } - } - ] - }, - "Background Green / Magenta {group:background;color:#ff00ff,#00ff00,#00ff00,#ff00ff}": { - "name": "Background Green / Magenta", - "color": "#ff00ff,#00ff00,#00ff00,#ff00ff", - "actions": [ - { - "hybrid": { - "hexColors": "ff00ff,ff00ff,00ff00,00ff00,00ff00,00ff00,ff00ff" - } - } - ] - }, - "Background Magenta / Green {group:background;color:#00ff00,#ff00ff,#ff00ff,#00ff00}": { - "name": "Background Magenta / Green", - "color": "#00ff00,#ff00ff,#ff00ff,#00ff00", - "actions": [ - { - "hybrid": { - "hexColors": "00ff00,00ff00,ff00ff,ff00ff,ff00ff,ff00ff,00ff00" - } - } - ] - }, - "Background Green / Yellow {group:background;color:#ffff00,#00ff00,#00ff00,#ffff00}": { - "name": "Background Green / Yellow", - "color": "#ffff00,#00ff00,#00ff00,#ffff00", - "actions": [ - { - "hybrid": { - "hexColors": "ffff00,ffff00,00ff00,00ff00,00ff00,00ff00,ffff00" - } - } - ] - }, - "Background Yellow / Green {group:background;color:#00ff00,#ffff00,#ffff00,#00ff00}": { - "name": "Background Yellow / Green", - "color": "#00ff00,#ffff00,#ffff00,#00ff00", - "actions": [ - { - "hybrid": { - "hexColors": "00ff00,00ff00,ffff00,ffff00,ffff00,ffff00,00ff00" - } - } - ] - }, - "Background Cyan / Blue {group:background;color:#0000ff,#00ffff,#00ffff,#0000ff}": { - "name": "Background Cyan / Blue", - "color": "#0000ff,#00ffff,#00ffff,#0000ff", - "actions": [ - { - "hybrid": { - "hexColors": "0000ff,0000ff,00ffff,00ffff,00ffff,00ffff,0000ff" - } - } - ] - }, - "Background Dark Cyan / Blue {group:background;color:#000088,#008888,#008888,#000088}": { - "name": "Background Dark Cyan / Blue", - "color": "#000088,#008888,#008888,#000088", - "actions": [ - { - "hybrid": { - "hexColors": "000088,000088,008888,008888,008888,008888,000088" - } - } - ] - }, - "Background Orange / Teal {group:background;color:#2388ad,#ff8000,#ff8000,#2388ad}": { - "name": "Background Orange / Teal", - "color": "#2388ad,#ff8000,#ff8000,#2388ad", - "actions": [ - { - "hybrid": { - "hexColors": "2388ad,2388ad,ff8000,ff8000,ff8000,ff8000,2388ad" - } - } - ] - }, - "Background Teal / Orange {group:background;color:#ff8000,#2388ad,#2388ad,#ff8000}": { - "name": "Background Teal / Orange", - "color": "#ff8000,#2388ad,#2388ad,#ff8000", - "actions": [ - { - "hybrid": { - "hexColors": "ff8000,ff8000,2388ad,2388ad,2388ad,2388ad,ff8000" - } - } - ] - }, - "Background Orange / Purple {group:background;color:#2d0080,#ff8000,#ff8000,#2d0080}": { - "name": "Background Orange / Purple", - "color": "#2d0080,#ff8000,#ff8000,#2d0080", - "actions": [ - { - "hybrid": { - "hexColors": "8000ff,8000ff,ff8000,ff8000,ff8000,ff8000,8000ff" - } - } - ] - }, - "Background Purple / Orange {group:background;color:#ff8000,#2d0080,#2d0080,#ff8000}": { - "name": "Background Purple / Orange", - "color": "#ff8000,#2d0080,#2d0080,#ff8000", - "actions": [ - { - "hybrid": { - "hexColors": "ff8000,ff8000,8000ff,8000ff,8000ff,8000ff,ff8000" - } - } - ] - }, - "Background Yellow / Purple {group:background;color:#2d0080,#ffff00,#ffff00,#2d0080}": { - "name": "Background Yellow / Purple", - "color": "#2d0080,#ffff00,#ffff00,#2d0080", - "actions": [ - { - "hybrid": { - "hexColors": "8000ff,8000ff,ffff00,ffff00,ffff00,ffff00,8000ff" - } - } - ] - }, - "Background Purple / Yellow {group:background;color:#ffff00,#2d0080,#2d0080,#ffff00}": { - "name": "Background Purple / Yellow", - "color": "#ffff00,#2d0080,#2d0080,#ffff00", - "actions": [ - { - "hybrid": { - "hexColors": "ffff00,ffff00,8000ff,8000ff,8000ff,8000ff,ffff00" - } - } - ] - }, - "Background Yellow / Magenta {group:background;color:#ff00ff,#ffff00,#ffff00,#ff00ff}": { - "name": "Background Yellow / Magenta", - "color": "#ff00ff,#ffff00,#ffff00,#ff00ff", - "actions": [ - { - "hybrid": { - "hexColors": "ff00ff,ff00ff,ffff00,ffff00,ffff00,ffff00,ff00ff" - } - } - ] - }, - "Background Magenta / Yellow {group:background;color:#ffff00,#ff00ff,#ff00ff,#ffff00}": { - "name": "Background Magenta / Yellow", - "color": "#ffff00,#ff00ff,#ff00ff,#ffff00", - "actions": [ - { - "hybrid": { - "hexColors": "ffff00,ffff00,ff00ff,ff00ff,ff00ff,ff00ff,ffff00" - } - } - ] - }, - "Background Purple / Magenta {group:background;color:#ff00ff,#2d0080,#2d0080,#ff00ff}": { - "name": "Background Purple / Magenta", - "color": "#ff00ff,#2d0080,#2d0080,#ff00ff", - "actions": [ - { - "hybrid": { - "hexColors": "ff00ff,ff00ff,8000ff,8000ff,8000ff,8000ff,ff00ff" - } - } - ] - }, - "Background Magenta / Purple {group:background;color:#2d0080,#ff00ff,#ff00ff,#2d0080}": { - "name": "Background Magenta / Purple", - "color": "#2d0080,#ff00ff,#ff00ff,#2d0080", - "actions": [ - { - "hybrid": { - "hexColors": "8000ff,8000ff,ff00ff,ff00ff,ff00ff,ff00ff,8000ff" - } - } - ] - }, - "Background White / Blue {group:background;color:#0000ff,#ffffff,#ffffff,#0000ff}": { - "name": "Background White / Blue", - "color": "#0000ff,#ffffff,#ffffff,#0000ff", - "actions": [ - { - "hybrid": { - "hexColors": "0000ff,0000ff,ffffff,ffffff,ffffff,ffffff,0000ff" - } - } - ] - }, - "Background Blue / White {group:background;color:#ffffff,#0000ff,#0000ff,#ffffff}": { - "name": "Background Blue / White", - "color": "#ffffff,#0000ff,#0000ff,#ffffff", - "actions": [ - { - "hybrid": { - "hexColors": "ffffff,ffffff,0000ff,0000ff,0000ff,0000ff,ffffff" - } - } - ] - }, - "Background Red / White {group:background;color:#ffffff,#ff0000,#ff0000,#ffffff}": { - "name": "Background Red / White", - "color": "#ffffff,#ff0000,#ff0000,#ffffff", - "actions": [ - { - "hybrid": { - "hexColors": "ffffff,ffffff,ff0000,ff0000,ff0000,ff0000,ffffff" - } - } - ] - }, - "Background White / Red {group:background;color:#ff0000,#ffffff,#ffffff,#ff0000}": { - "name": "Background White / Red", - "color": "#ff0000,#ffffff,#ffffff,#ff0000", - "actions": [ - { - "hybrid": { - "hexColors": "ff0000,ff0000,ffffff,ffffff,ffffff,ffffff,ff0000" - } - } - ] - }, - "Background Rainbow Blue-Red {group:background;color:#0000ff,#00ffff,#00ff00,#ffff00,#ff8000,#ff0000}": { - "name": "Background Rainbow Blue-Red", - "color": "#0000ff,#00ffff,#00ff00,#ffff00,#ff8000,#ff0000", - "actions": [ - { - "hybrid": { - "hexColors": "0000ff,00ffff,00ff00,80ff00,ffff00,ff3000,ff0000" - } - } - ] - }, - "Background Rainbow Red-Blue {group:background;color:#ff0000,#ff8000,#ffff00,#00ff00,#00ffff,#0000ff}": { - "name": "Background Rainbow Red-Blue", - "color": "#ff0000,#ff8000,#ffff00,#00ff00,#00ffff,#0000ff", - "actions": [ - { - "hybrid": { - "hexColors": "ff0000,ff3000,ffff00,80ff00,00ff00,00ffff,0000ff" - } - } - ] - }, - "Background Rainbow Dark Blue-Red {group:background;color:#000080,#008080,#008000,#808000,#808000,#800000}": { - "name": "Background Rainbow Dark Blue-Red", - "color": "#000080,#008080,#008000,#808000,#808000,#800000", - "actions": [ - { - "hybrid": { - "hexColors": "000080,008080,008000,808000,808000,803000,800000" - } - } - ] - }, - "Background Rainbow Dark Red-Blue {group:background;color:#800000,#808000,#808000,#008000,#008080,#000080}": { - "name": "Background Rainbow Dark Red-Blue", - "color": "#800000,#808000,#808000,#008000,#008080,#000080", - "actions": [ - { - "hybrid": { - "hexColors": "800000,803000,808000,808000,008000,008080,000080" - } - } - ] - }, - "Background purple-green {group:background;color:#8000ff,#00ff00,#8000ff,#00ff00,#8000ff}": { - "name": "Background purple-green", - "color": "#8000ff,#00ff00,#8000ff,#00ff00,#8000ff", - "actions": [ - { - "hybrid": { - "hexColors": "8000ff,00ff00,8000ff,00ff00,8000ff,00ff00,8000ff" - } - } - ] - }, - "Background green-purple {group:background;color:#00ff00,#8000ff,#00ff00,#8000ff,#00ff00}": { - "name": "Background green-purple", - "color": "#00ff00,#8000ff,#00ff00,#8000ff,#00ff00", - "actions": [ - { - "hybrid": { - "hexColors": "00ff00,8000ff,00ff00,8000ff,00ff00,8000ff,008800" - } - } - ] - }, - "Background blue-green {group:background;color:#0000ff,#00ff00,#0000ff,#00ff00,#0000ff}": { - "name": "Background blue-green", - "color": "#0000ff,#00ff00,#0000ff,#00ff00,#0000ff", - "actions": [ - { - "hybrid": { - "hexColors": "0000ff,00ff00,0000ff,00ff00,0000ff,00ff00,0000ff" - } - } - ] - }, - "Background green-blue {group:background;color:#00ff00,#0000ff,#00ff00,#0000ff,#00ff00}": { - "name": "Background green-blue", - "color": "#00ff00,#0000ff,#00ff00,#0000ff,#00ff00", - "actions": [ - { - "hybrid": { - "hexColors": "00ff00,0000ff,00ff00,0000ff,00ff00,0000ff,00ff00" - } - } - ] - }, - "Background red-green {group:background;color:#ff0000,#00ff00,#ff0000,#00ff00,#ff0000}": { - "name": "Background red-green", - "color": "#ff0000,#00ff00,#ff0000,#00ff00,#ff0000", - "actions": [ - { - "hybrid": { - "hexColors": "ff0000,00ff00,ff0000,00ff00,ff0000,00ff00,ff0000" - } - } - ] - }, - "Background green-red {group:background;color:#00ff00,#ff0000,#00ff00,#ff0000,#00ff00}": { - "name": "Background green-red", - "color": "#00ff00,#ff0000,#00ff00,#ff0000,#00ff00", - "actions": [ - { - "hybrid": { - "hexColors": "00ff00,ff0000,00ff00,ff0000,00ff00,ff0000,00ff00" - } - } - ] - }, - "Background blue-cyan {group:background;color:#0000ff,#00ffff,#0000ff,#00ffff,#0000ff}": { - "name": "Background blue-cyan", - "color": "#0000ff,#00ffff,#0000ff,#00ffff,#0000ff", - "actions": [ - { - "hybrid": { - "hexColors": "0000ff,00ffff,0000ff,00ffff,0000ff,00ffff,0000ff" - } - } - ] - }, - "Background cyan-blue {group:background;color:#00ffff,#0000ff,#00ffff,#0000ff,#00ffff}": { - "name": "Background cyan-blue", - "color": "#00ffff,#0000ff,#00ffff,#0000ff,#00ffff", - "actions": [ - { - "hybrid": { - "hexColors": "00ffff,0000ff,00ffff,0000ff,00ffff,0000ff,00ffff" - } - } - ] - }, - "Background blue-yellow {group:background;color:#0000ff,#ffff00,#0000ff,#ffff00,#0000ff}": { - "name": "Background blue-yellow", - "color": "#0000ff,#ffff00,#0000ff,#ffff00,#0000ff", - "actions": [ - { - "hybrid": { - "hexColors": "0000ff,ffff00,0000ff,ffff00,0000ff,ffff00,0000ff" - } - } - ] - }, - "Background yellow-blue {group:background;color:#ffff00,#0000ff,#ffff00,#0000ff,#ffff00}": { - "name": "Background yellow-blue", - "color": "#ffff00,#0000ff,#ffff00,#0000ff,#ffff00", - "actions": [ - { - "hybrid": { - "hexColors": "ffff00,0000ff,ffff00,0000ff,ffff00,0000ff,ffff00" - } - } - ] - }, - "Background blue-white {group:background;color:#0000ff,#ffffff,#0000ff,#ffffff,#0000ff}": { - "name": "Background blue-white", - "color": "#0000ff,#ffffff,#0000ff,#ffffff,#0000ff", - "actions": [ - { - "hybrid": { - "hexColors": "0000ff,ffffff,0000ff,ffffff,0000ff,ffffff,0000ff" - } - } - ] - }, - "Background white-blue {group:background;color:#ffffff,#0000ff,#ffffff,#0000ff,#ffffff}": { - "name": "Background white-blue", - "color": "#ffffff,#0000ff,#ffffff,#0000ff,#ffffff", - "actions": [ - { - "hybrid": { - "hexColors": "ffffff,0000ff,ffffff,0000ff,ffffff,0000ff,ffffff" - } - } - ] - }, - "Background green-yellow {group:background;color:#00ff00,#ffff00,#00ff00,#ffff00,#00ff00}": { - "name": "Background green-yellow", - "color": "#00ff00,#ffff00,#00ff00,#ffff00,#00ff00", - "actions": [ - { - "hybrid": { - "hexColors": "00ff00,ffff00,00ff00,ffff00,00ff00,ffff00,00ff00" - } - } - ] - }, - "Background yellow-green {group:background;color:#ffff00,#00ff00,#ffff00,#00ff00,#ffff00}": { - "name": "Background yellow-green", - "color": "#ffff00,#00ff00,#ffff00,#00ff00,#ffff00", - "actions": [ - { - "hybrid": { - "hexColors": "ffff00,00ff00,ffff00,00ff00,ffff00,00ff00,ffff00" - } - } - ] - }, - "Background purple-yellow {group:background;color:#8000ff,#ffff00,#8000ff,#ffff00,#8000ff}": { - "name": "Background purple-yellow", - "color": "#8000ff,#ffff00,#8000ff,#ffff00,#8000ff", - "actions": [ - { - "hybrid": { - "hexColors": "8000ff,ffff00,8000ff,ffff00,8000ff,ffff00,8000ff" - } - } - ] - }, - "Background yellow-purple {group:background;color:#ffff00,#8000ff,#ffff00,#8000ff,#ffff00}": { - "name": "Background yellow-purple", - "color": "#ffff00,#8000ff,#ffff00,#8000ff,#ffff00", - "actions": [ - { - "hybrid": { - "hexColors": "ffff00,8000ff,ffff00,8000ff,ffff00,8000ff,ffff00" - } - } - ] - }, - "Background purple-orange {group:background;color:#8000ff,#ff8000,#8000ff,#ff8000,#8000ff}": { - "name": "Background purple-orange", - "color": "#8000ff,#ff8000,#8000ff,#ff8000,#8000ff", - "actions": [ - { - "hybrid": { - "hexColors": "8000ff,ff8000,8000ff,ff8000,8000ff,ff8000,8000ff" - } - } - ] - }, - "Background orange-purple {group:background;color:#ff8000,#8000ff,#ff8000,#8000ff,#ff8000}": { - "name": "Background orange-purple", - "color": "#ff8000,#8000ff,#ff8000,#8000ff,#ff8000", - "actions": [ - { - "hybrid": { - "hexColors": "ff8000,8000ff,ff8000,8000ff,ff8000,8000ff,ff8000" - } - } - ] - }, - "Background red-orange {group:background;color:#ff0000,#ff8000,#ff0000,#ff8000,#ff0000}": { - "name": "Background red-orange", - "color": "#ff0000,#ff8000,#ff0000,#ff8000,#ff0000", - "actions": [ - { - "hybrid": { - "hexColors": "ff0000,ff8000,ff0000,ff8000,ff0000,ff8000,ff0000" - } - } - ] - }, - "Background orange-red {group:background;color:#ff8000,#ff0000,#ff8000,#ff0000,#ff8000}": { - "name": "Background orange-red", - "color": "#ff8000,#ff0000,#ff8000,#ff0000,#ff8000", - "actions": [ - { - "hybrid": { - "hexColors": "ff8000,ff0000,ff8000,ff0000,ff8000,ff0000,ff8000" - } - } - ] - }, - "Background yellow-orange {group:background;color:#ffff00,#ff8000,#ffff00,#ff8000,#ffff00}": { - "name": "Background yellow-orange", - "color": "#ffff00,#ff8000,#ffff00,#ff8000,#ffff00", - "actions": [ - { - "hybrid": { - "hexColors": "ffff00,ff8000,ffff00,ff8000,ffff00,ff8000,ffff00" - } - } - ] - }, - "Background orange-yellow {group:background;color:#ff8000,#ffff00,#ff8000,#ffff00,#ff8000}": { - "name": "Background orange-yellow", - "color": "#ff8000,#ffff00,#ff8000,#ffff00,#ff8000", - "actions": [ - { - "hybrid": { - "hexColors": "ff8000,ffff00,ff8000,ffff00,ff8000,ffff00,ff8000" - } - } - ] - }, - "Background red-blue {group:background;color:#ff0000,#0000ff,#ff0000,#0000ff,#ff0000}": { - "name": "Background red-blue", - "color": "#ff0000,#0000ff,#ff0000,#0000ff,#ff0000", - "actions": [ - { - "hybrid": { - "hexColors": "ff0000,0000ff,ff0000,0000ff,ff0000,0000ff,ff0000" - } - } - ] - }, - "Background blue-red {group:background;color:#0000ff,#ff0000,#0000ff,#ff0000,#0000ff}": { - "name": "Background blue-red", - "color": "#0000ff,#ff0000,#0000ff,#ff0000,#0000ff", - "actions": [ - { - "hybrid": { - "hexColors": "0000ff,ff0000,0000ff,ff0000,0000ff,ff0000,0000ff" - } - } - ] - }, - "Background green-orange {group:background;color:#00ff00,#ff8000,#00ff00,#ff8000,#00ff00}": { - "name": "Background green-orange", - "color": "#00ff00,#ff8000,#00ff00,#ff8000,#00ff00", - "actions": [ - { - "hybrid": { - "hexColors": "00ff00,ff8000,00ff00,ff8000,00ff00,ff8000,00ff00" - } - } - ] - }, - "Background orange-green {group:background;color:#ff8000,#00ff00,#ff8000,#00ff00,#ff8000}": { - "name": "Background orange-green", - "color": "#ff8000,#00ff00,#ff8000,#00ff00,#ff8000", - "actions": [ - { - "hybrid": { - "hexColors": "ff8000,00ff00,ff8000,00ff00,ff8000,00ff00,ff8000" - } - } - ] - }, - "Background Enterprise E {group:background;color:#ffff80,#000088,#000088,#000088,#000088}": { - "name": "Background Enterprise E", - "color": "#ffff80,#000088,#000088,#000088,#000088", - "actions": [] - }, - "Background Black {group:background;color:#303030}": { - "name": "Background Black", - "color": "#303030", - "actions": [ - { - "hybrid": { - "hexColors": "000000" - } - } - ] - }, - "RGBW White {group:rgbw;color:#ffffff}": { - "name": "RGBW White", - "color": "#ffffff", - "actions": [ - { - "hybrid": { - "ids": "Rgbw", - "hexColors": "ffffff" - } - } - ] - }, - "Bar On {group:bar;color:#ffffff}": { - "name": "Bar On", - "color": "#ffffff", - "actions": [ - { - "shelly": { - "ids": "Bar", - "turnOn": true - } - } - ] - }, - "DMX Teal {group:dmx;color:#2388ad}": { - "name": "DMX Teal", - "color": "#2388ad", - "actions": [ - { - "hybrid": { - "ids": "15,29,21,1", - "hexColors": "2388ad" - } - } - ] - }, - "DMX Orange {group:dmx;color:#8c6200}": { - "name": "DMX Orange", - "color": "#8c6200", - "actions": [ - { - "hybrid": { - "ids": "15,29,21,1", - "hexColors": "8c6200" - } - } - ] - }, - "DMX Green {group:dmx;color:#00ff00}": { - "name": "DMX Green", - "color": "#00ff00", - "actions": [ - { - "hybrid": { - "ids": "15,29,21,1", - "hexColors": "00ff00" - } - } - ] - }, - "DMX Blue {group:dmx;color:#0000ff}": { - "name": "DMX Blue", - "color": "#0000ff", - "actions": [ - { - "hybrid": { - "ids": "15,29,21,1", - "hexColors": "0000ff" - } - } - ] - }, - "DMX Yellow {group:dmx;color:#ffff00}": { - "name": "DMX Yellow", - "color": "#ffff00", - "actions": [ - { - "hybrid": { - "ids": "15,29,21,1", - "hexColors": "ffff00" - } - } - ] - }, - "DMX Cyan {group:dmx;color:#00ffff}": { - "name": "DMX Cyan", - "color": "#00ffff", - "actions": [ - { - "hybrid": { - "ids": "15,29,21,1", - "hexColors": "00ffff" - } - } - ] - }, - "DMX Magenta {group:dmx;color:#ff00ff}": { - "name": "DMX Magenta", - "color": "#ff00ff", - "actions": [ - { - "hybrid": { - "ids": "15,29,21,1", - "hexColors": "ff00ff" - } - } - ] - }, - "DMX LightBlue {group:dmx;color:#7777ff,#aaaaff,#7777ff,#aaaaff,#7777ff,#aaaaff,#7777ff}": { - "name": "DMX LightBlue", - "color": "#7777ff,#aaaaff,#7777ff,#aaaaff,#7777ff,#aaaaff,#7777ff", - "actions": [ - { - "hybrid": { - "hexColors": "7777ff,aaaaff,7777ff,aaaaff,7777ff,aaaaff,7777ff" - } - } - ] - }, - "DMX Purple {group:dmx;color:#2d0080}": { - "name": "DMX Purple", - "color": "#2d0080", - "actions": [ - { - "hybrid": { - "ids": "15,29,21,1", - "hexColors": "2d0080" - } - } - ] - }, - "DMX White {group:dmx;color:#808080}": { - "name": "DMX White", - "color": "#808080", - "actions": [ - { - "hybrid": { - "ids": "15,29,21,1", - "hexColors": "ffffff" - } - } - ] - }, - "Deko Rainbow Red-Blue {group:deko;color:#ff0000,#ff8000,#ffff00,#00ff00,#00ffff,#0000ff}": { - "name": "Deko Rainbow Red-Blue", - "color": "#ff0000,#ff8000,#ffff00,#00ff00,#00ffff,#0000ff", - "actions": [ - { - "hybrid": { - "ids": "Starwars,Rgbw,Bar", - "hexColors": "ff0000,ff3000,0000ff" - } - } - ] - }, - "DMX Rainbow Red-Blue {group:dmx;color:#ff0000,#ff8000,#ffff00,#00ff00,#00ffff,#0000ff}": { - "name": "DMX Rainbow Red-Blue", - "color": "#ff0000,#ff8000,#ffff00,#00ff00,#00ffff,#0000ff", - "actions": [ - { - "hybrid": { - "ids": "15,29,21,1", - "hexColors": "ffff00,80ff00,00ff00,00ffff" - } - } - ] - }, - "Deko Rainbow Blue-Red {group:deko;color:#0000ff,#00ffff,#00ff00,#ffff00,#ff8000,#ff0000}": { - "name": "Deko Rainbow Blue-Red", - "color": "#0000ff,#00ffff,#00ff00,#ffff00,#ff8000,#ff0000", - "actions": [ - { - "hybrid": { - "ids": "Starwars,Rgbw,Bar", - "hexColors": "0000ff,00ffff,ff0000" - } - } - ] - }, - "DMX Rainbow Blue-Red {group:dmx;color:#0000ff,#00ffff,#00ff00,#ffff00,#ff8000,#ff0000}": { - "name": "DMX Rainbow Blue-Red", - "color": "#0000ff,#00ffff,#00ff00,#ffff00,#ff8000,#ff0000", - "actions": [ - { - "hybrid": { - "ids": "15,29,21,1", - "hexColors": "00ff00,808000,80ff00,ff8000" - } - } - ] - }, - "DMX Dark Blue {group:dmx;color:#000088}": { - "name": "DMX Dark Blue", - "color": "#000088", - "actions": [ - { - "hybrid": { - "ids": "15,29,21,1", - "hexColors": "000088" - } - } - ] - }, - "DMX Dark Red {group:dmx;color:#880000}": { - "name": "DMX Dark Red", - "color": "#880000", - "actions": [ - { - "hybrid": { - "ids": "15,29,21,1", - "hexColors": "880000" - } - } - ] - }, - "DMX Dark Green {group:dmx;color:#008800}": { - "name": "DMX Dark Green", - "color": "#008800", - "actions": [ - { - "hybrid": { - "ids": "15,29,21,1", - "hexColors": "00ff00" - } - } - ] - }, - "Deko Dark Red {group:deko;color:#880000}": { - "name": "Deko Dark Red", - "color": "#880000", - "actions": [ - { - "hybrid": { - "ids": "Rgbw,Starwars,Bar", - "hexColors": "ff0000" - } - } - ] - }, - "Deko Dark Green {group:deko;color:#008800}": { - "name": "Deko Dark Green", - "color": "#008800", - "actions": [ - { - "hybrid": { - "ids": "Rgbw,Starwars,Bar", - "hexColors": "0ff00f" - } - } - ] - }, - "Deko Dark Blue {group:deko;color:#000088}": { - "name": "Deko Dark Blue", - "color": "#000088", - "actions": [ - { - "hybrid": { - "ids": "Rgbw,Starwars,Bar", - "hexColors": "0000ff" - } - } - ] - }, - "DMX Black {group:dmx;color:#303030}": { - "name": "DMX Black", - "color": "#303030", - "actions": [ - { - "hybrid": { - "ids": "15,29,21,1", - "hexColors": "000000" - } - } - ] - }, - "DMX Enterprise E {group:dmx;color:#ffff80,#000088,#000088,#000088}": { - "name": "DMX Enterprise E", - "color": "#ffff80,#000088,#000088,#000088", - "actions": [ - { - "hybrid": { - "hexColors": "000088,000088,ffffcc,000088,000088,000088,000088" - } - } - ] - }, - "Licht TV {group:hidden} Trust [88D65690]": { - "name": "Licht TV", - "color": "", - "actions": [] - }, - "TV Licht Aus {group:hidden} Trust [88D65680]": { - "name": "TV Licht Aus", - "color": "", - "actions": [] - }, - "Licht Kino {group:hidden} Trust [88D65691]": { - "name": "Licht Kino", - "color": "", - "actions": [] - }, - "Deckenfluter Toggle {group:hidden} Trust [88D65681]": { - "name": "Deckenfluter Toggle", - "color": "", - "actions": [] - }, - "Stern Toggle {group:hidden} Trust [88D65692]": { - "name": "Stern Toggle", - "color": "", - "actions": [] - }, - "Kristall Toggle {group:hidden} Trust [88D65682]": { - "name": "Kristall Toggle", - "color": "", - "actions": [] - }, - "Alles Aus {group:hidden} Trust [88D656A0]": { - "name": "Alles Aus", - "color": "", - "actions": [] - } } } diff --git a/klanglicht-module-base/src/test/resources/lmair/scenes.json b/klanglicht-module-base/src/test/resources/lmair/scenes.json index 061c8c9..48c037d 100644 --- a/klanglicht-module-base/src/test/resources/lmair/scenes.json +++ b/klanglicht-module-base/src/test/resources/lmair/scenes.json @@ -19,52 +19,19 @@ "actions": [ { "shelly": { - "ids": "Flur", - "turnOn": true - } - }, - { - "shelly": { - "ids": "Schlafzimmer", + "ids": "Flur,Schlafzimmer", "turnOn": true } }, { "lmair": { + "comment": "Idual Off", "sceneIndex": 1499 } }, - { - "lmair": { - "sceneIndex": 42 - } - }, - { - "lmair": { - "sceneIndex": 42 - } - }, { "shelly": { - "ids": "Wohnzimmer_Deckenlampe", - "turnOn": false - } - }, - { - "shelly": { - "ids": "Kristall", - "turnOn": false - } - }, - { - "shelly": { - "ids": "Bar", - "turnOn": false - } - }, - { - "shelly": { - "ids": "Starwars", + "ids": "Kristall,Wohnzimmer_Deckenlampe,Bar,Starwars", "turnOn": false } }, @@ -140,6 +107,7 @@ "actions": [ { "lmair": { + "comment": "Idual On", "sceneIndex": 42 } } @@ -151,6 +119,7 @@ "actions": [ { "lmair": { + "comment": "Idual On", "sceneIndex": 42 } } @@ -191,6 +160,7 @@ "actions": [ { "lmair": { + "comment": "Idual On", "sceneIndex": 42 } } @@ -235,6 +205,7 @@ "actions": [ { "lmair": { + "comment": "Idual On", "sceneIndex": 42 } } @@ -246,6 +217,7 @@ "actions": [ { "lmair": { + "comment": "Idual Off", "sceneIndex": 1499 } } @@ -257,6 +229,7 @@ "actions": [ { "lmair": { + "comment": "Idual Off", "sceneIndex": 1499 } } @@ -268,6 +241,7 @@ "actions": [ { "lmair": { + "comment": "Idual On", "sceneIndex": 42 } } @@ -279,6 +253,7 @@ "actions": [ { "lmair": { + "comment": "Idual On", "sceneIndex": 42 } } @@ -290,6 +265,7 @@ "actions": [ { "lmair": { + "comment": "Idual On", "sceneIndex": 42 } } @@ -301,6 +277,7 @@ "actions": [ { "lmair": { + "comment": "Idual On", "sceneIndex": 42 } } @@ -312,6 +289,7 @@ "actions": [ { "lmair": { + "comment": "Idual Off", "sceneIndex": 1499 } } @@ -323,6 +301,7 @@ "actions": [ { "lmair": { + "comment": "Idual Off", "sceneIndex": 1499 } } @@ -354,11 +333,13 @@ }, { "lmair": { + "comment": "Idual On", "sceneIndex": 42 } }, { "lmair": { + "comment": "Idual Off", "sceneIndex": 1499 } }, @@ -376,6 +357,7 @@ }, { "lmair": { + "comment": "Idual Off", "sceneIndex": 1499 } }, @@ -402,6 +384,7 @@ }, { "lmair": { + "comment": "Idual On", "sceneIndex": 42 } } @@ -487,11 +470,13 @@ }, { "lmair": { + "comment": "Idual On", "sceneIndex": 42 } }, { "lmair": { + "comment": "Idual Off", "sceneIndex": 1499 } }, @@ -509,6 +494,7 @@ }, { "lmair": { + "comment": "Idual Off", "sceneIndex": 1499 } }, @@ -554,6 +540,7 @@ "actions": [ { "lmair": { + "comment": "Idual Off", "sceneIndex": 1499 } }, @@ -639,6 +626,7 @@ }, { "lmair": { + "comment": "Idual On", "sceneIndex": 42 } } @@ -1453,44 +1441,15 @@ "name": "Licht TV", "color": "#fffad5", "actions": [ - { - "lmair": { - "sceneIndex": 1499 - } - }, { "shelly": { - "ids": "Wohnzimmer_Deckenlampe", + "ids": "Wohnzimmer_Deckenlampe,Flur,Kristall,Schlafzimmer", "turnOn": false } }, - { - "shelly": { - "ids": "Flur", - "turnOn": false - } - }, - { - "shelly": { - "ids": "Kristall", - "turnOn": false - } - }, - { - "shelly": { - "ids": "Schlafzimmer", - "turnOn": false - } - }, - { - "lmair": { - "sceneIndex": 42 - } - }, { "hybrid": { - "hexColors": "000000,000000,94832d,94832d,94832d,94832d,000000", - "gains": "1.0" + "hexColors": "000000,000000,94832d,94832d,94832d,94832d,000000" } }, { @@ -1500,6 +1459,7 @@ }, { "lmair": { + "comment": "Idual On", "sceneIndex": 42 } }, @@ -1527,6 +1487,7 @@ "actions": [ { "lmair": { + "comment": "Idual Off", "sceneIndex": 1499 } } @@ -1549,6 +1510,7 @@ }, { "lmair": { + "comment": "Idual Off", "sceneIndex": 1499 } }, @@ -2460,2477 +2422,5 @@ ] } ] - }, - "scenesMap": { - "All On {group:wohnzimmer;color:#ffffff}": { - "name": "All On", - "color": "#ffffff", - "actions": [ - { - "pause": { - "duration": 1000 - } - } - ] - }, - "All Off {group:wohnzimmer;color:#333333}": { - "name": "All Off", - "color": "#333333", - "actions": [ - { - "shelly": { - "ids": "Flur", - "turnOn": true - } - }, - { - "shelly": { - "ids": "Schlafzimmer", - "turnOn": true - } - }, - { - "lmair": { - "sceneIndex": 1499 - } - }, - { - "lmair": { - "sceneIndex": 42 - } - }, - { - "lmair": { - "sceneIndex": 42 - } - }, - { - "shelly": { - "ids": "Wohnzimmer_Deckenlampe", - "turnOn": false - } - }, - { - "shelly": { - "ids": "Kristall", - "turnOn": false - } - }, - { - "shelly": { - "ids": "Bar", - "turnOn": false - } - }, - { - "shelly": { - "ids": "Starwars", - "turnOn": false - } - }, - { - "pause": { - "duration": 1000 - } - }, - { - "shelly": { - "ids": "Wohnzimmer_Esstisch", - "turnOn": false - } - } - ] - }, - "TV [D] {group:wohnzimmer}": { - "name": "TV [D]", - "color": "", - "actions": [] - }, - "Darth Vader On {group:starwars}": { - "name": "Darth Vader On", - "color": "", - "actions": [ - { - "shelly": { - "ids": "Starwars", - "turnOn": true - } - } - ] - }, - "Darth Vader Off {group:starwars}": { - "name": "Darth Vader Off", - "color": "", - "actions": [ - { - "shelly": { - "ids": "Starwars", - "turnOn": false - } - } - ] - }, - "Star Wars [D] {group:starwars}": { - "name": "Star Wars [D]", - "color": "", - "actions": [] - }, - "IDual On {group:idual;color:#ffffff}": { - "name": "IDual On", - "color": "#ffffff", - "actions": [ - { - "lmair": { - "sceneIndex": 42 - } - } - ] - }, - "IDual Off {group:idual;color:#000000}": { - "name": "IDual Off", - "color": "#000000", - "actions": [ - { - "lmair": { - "sceneIndex": 1499 - } - } - ] - }, - "IDual Red {group:idual;color:#ff0000}": { - "name": "IDual Red", - "color": "#ff0000", - "actions": [ - { - "lmair": { - "sceneIndex": 1499 - } - } - ] - }, - "IDual Green {group:idual;color:#00ff00}": { - "name": "IDual Green", - "color": "#00ff00", - "actions": [ - { - "lmair": { - "sceneIndex": 42 - } - } - ] - }, - "IDual Blue {group:idual;color:#0000ff}": { - "name": "IDual Blue", - "color": "#0000ff", - "actions": [ - { - "lmair": { - "sceneIndex": 42 - } - } - ] - }, - "IDual Yellow {group:idual;color:#ffff00}": { - "name": "IDual Yellow", - "color": "#ffff00", - "actions": [ - { - "lmair": { - "sceneIndex": 42 - } - } - ] - }, - "IDual DayWhite {group:idual;color:#ffffff}": { - "name": "IDual DayWhite", - "color": "#ffffff", - "actions": [ - { - "lmair": { - "sceneIndex": 42 - } - } - ] - }, - "IDual ColdWhite {group:idual;color:#d5f1ff}": { - "name": "IDual ColdWhite", - "color": "#d5f1ff", - "actions": [ - { - "lmair": { - "sceneIndex": 1499 - } - } - ] - }, - "IDual WarmWhite {group:idual;color:#fffad5}": { - "name": "IDual WarmWhite", - "color": "#fffad5", - "actions": [ - { - "lmair": { - "sceneIndex": 1499 - } - } - ] - }, - "Hollywood {group:dmx}": { - "name": "Hollywood", - "color": "", - "actions": [ - { - "shelly": { - "ids": "Kristall", - "turnOn": false - } - }, - { - "shelly": { - "ids": "Starwars", - "turnOn": false - } - }, - { - "shelly": { - "ids": "Wohnzimmer_Deckenlampe", - "turnOn": false - } - }, - { - "lmair": { - "sceneIndex": 42 - } - }, - { - "lmair": { - "sceneIndex": 1499 - } - }, - { - "shelly": { - "ids": "Flur", - "turnOn": false - } - }, - { - "shelly": { - "ids": "Schlafzimmer", - "turnOn": false - } - }, - { - "lmair": { - "sceneIndex": 1499 - } - }, - { - "pause": { - "duration": 2000 - } - }, - { - "shelly": { - "ids": "Wohnzimmer_Esstisch", - "turnOn": false - } - }, - { - "url": { - "url": "playPreset?preset=hollywood" - } - }, - { - "pause": { - "duration": 20000 - } - }, - { - "lmair": { - "sceneIndex": 42 - } - } - ] - }, - "DMX Red {group:dmx;color:#ff0000}": { - "name": "DMX Red", - "color": "#ff0000", - "actions": [ - { - "hybrid": { - "hexColors": "ff0000" - } - } - ] - }, - "DMX Yello {group:dmx;color:#ffef00,#ffaa00,#ffef00,#ffaa00,#ffef00,#ffaa00,#ffef00}": { - "name": "DMX Yello", - "color": "#ffef00,#ffaa00,#ffef00,#ffaa00,#ffef00,#ffaa00,#ffef00", - "actions": [ - { - "hybrid": { - "hexColors": "ffff00" - } - } - ] - }, - "DMX Christmas {group:dmx;color:#990000,#009900,#990000,#009900,#990000,#009900,#990000}": { - "name": "DMX Christmas", - "color": "#990000,#009900,#990000,#009900,#990000,#009900,#990000", - "actions": [ - { - "hybrid": { - "ids": "15,29,21,1", - "hexColors": "990000,009900,990000,009900,990000,009900,990000" - } - } - ] - }, - "DMX Computerwelt {group:dmx;color:#ffff00,#ff00ff,#ffff00,#ff00ff,#ffff00,#ff00ff,#ffff00}": { - "name": "DMX Computerwelt", - "color": "#ffff00,#ff00ff,#ffff00,#ff00ff,#ffff00,#ff00ff,#ffff00", - "actions": [ - { - "hybrid": { - "ids": "15,29,21,1", - "hexColors": "ffff00,ff00ff,ffff00,ff00ff,ffff00,ff00ff,ffff00" - } - } - ] - }, - "DMX ROBOTER {group:dmx;color:#ff0000,#ffffff}": { - "name": "DMX ROBOTER", - "color": "#ff0000,#ffffff", - "actions": [ - { - "url": { - "url": "playTake?take=ROBOTER" - } - } - ] - }, - "DMX Enterprise E MovingHeads {group:dmx;color:#ddddff,#ffefdd,#ddddff,#ffefdd}": { - "name": "DMX Enterprise E MovingHeads", - "color": "#ddddff,#ffefdd,#ddddff,#ffefdd", - "actions": [ - { - "url": { - "url": "playTake?take=Enterprise E" - } - } - ] - }, - "DMX Darth Vaders {group:dmx;color:#ff0000}": { - "name": "DMX Darth Vaders", - "color": "#ff0000", - "actions": [ - { - "shelly": { - "ids": "Wohnzimmer_Deckenlampe", - "turnOn": false - } - }, - { - "lmair": { - "sceneIndex": 42 - } - }, - { - "lmair": { - "sceneIndex": 1499 - } - }, - { - "shelly": { - "ids": "Flur", - "turnOn": false - } - }, - { - "shelly": { - "ids": "Schlafzimmer", - "turnOn": false - } - }, - { - "lmair": { - "sceneIndex": 1499 - } - }, - { - "pause": { - "duration": 1000 - } - }, - { - "shelly": { - "ids": "Wohnzimmer_Esstisch", - "turnOn": false - } - }, - { - "url": { - "url": "playTake?take=Darth Vaders" - } - }, - { - "shelly": { - "ids": "Kristall", - "turnOn": true - } - }, - { - "hybrid": { - "ids": "Starwars", - "hexColors": "ff0000" - } - }, - { - "shelly": { - "ids": "Starwars", - "turnOn": true - } - } - ] - }, - "DMX Star Wars {group:dmx;color:#0000ff,#ff0000,#0000aa,#00ff00,#0000ee}": { - "name": "DMX Star Wars", - "color": "#0000ff,#ff0000,#0000aa,#00ff00,#0000ee", - "actions": [ - { - "lmair": { - "sceneIndex": 1499 - } - }, - { - "shelly": { - "ids": "Wohnzimmer_Deckenlampe", - "turnOn": false - } - }, - { - "shelly": { - "ids": "Flur", - "turnOn": false - } - }, - { - "shelly": { - "ids": "Schlafzimmer", - "turnOn": false - } - }, - { - "pause": { - "duration": 1000 - } - }, - { - "shelly": { - "ids": "Wohnzimmer_Esstisch", - "turnOn": false - } - }, - { - "url": { - "url": "playTake?take=Star Wars" - } - }, - { - "shelly": { - "ids": "Kristall", - "turnOn": true - } - }, - { - "hybrid": { - "ids": "Starwars", - "hexColors": "ff0000" - } - }, - { - "shelly": { - "ids": "Starwars", - "turnOn": true - } - } - ] - }, - "DMX Blackout {group:dmx;color:#333333}": { - "name": "DMX Blackout", - "color": "#333333", - "actions": [ - { - "hybrid": { - "ids": "15,29,21,1", - "hexColors": "000000" - } - } - ] - }, - "DMX Parking {group:dmx;color:#333333}": { - "name": "DMX Parking", - "color": "#333333", - "actions": [ - { - "url": { - "url": "playTake?take=parking.json" - } - }, - { - "pause": { - "duration": 20000 - } - }, - { - "lmair": { - "sceneIndex": 42 - } - } - ] - }, - "Esstisch An {group:wohnzimmer}": { - "name": "Esstisch An", - "color": "", - "actions": [ - { - "shelly": { - "ids": "Wohnzimmer_Esstisch", - "turnOn": true - } - } - ] - }, - "Esstisch Aus {group:wohnzimmer}": { - "name": "Esstisch Aus", - "color": "", - "actions": [ - { - "shelly": { - "ids": "Wohnzimmer_Esstisch", - "turnOn": false - } - } - ] - }, - "Deckenlampe On {group:wohnzimmer}": { - "name": "Deckenlampe On", - "color": "", - "actions": [ - { - "shelly": { - "ids": "Wohnzimmer_Deckenlampe", - "turnOn": true - } - } - ] - }, - "Deckenlampe Off {group:wohnzimmer}": { - "name": "Deckenlampe Off", - "color": "", - "actions": [ - { - "shelly": { - "ids": "Wohnzimmer_Deckenlampe", - "turnOn": false - } - } - ] - }, - "Deckenlampe [M=1] {group:markers}": { - "name": "Deckenlampe [M=1]", - "color": "", - "actions": [] - }, - "Deckenlampe [M=0] {group:markers}": { - "name": "Deckenlampe [M=0]", - "color": "", - "actions": [] - }, - "Esstisch [M=1] {group:markers}": { - "name": "Esstisch [M=1]", - "color": "", - "actions": [] - }, - "Esstisch [M=0] {group:markers}": { - "name": "Esstisch [M=0]", - "color": "", - "actions": [] - }, - "Flur [M=1] {group:markers}": { - "name": "Flur [M=1]", - "color": "", - "actions": [] - }, - "Flur [M=0] {group:markers}": { - "name": "Flur [M=0]", - "color": "", - "actions": [] - }, - "Flur On {group:shelly}": { - "name": "Flur On", - "color": "", - "actions": [ - { - "shelly": { - "ids": "Flur", - "turnOn": true - } - } - ] - }, - "Flur Off {group:shelly}": { - "name": "Flur Off", - "color": "", - "actions": [ - { - "shelly": { - "ids": "Flur", - "turnOn": false - } - } - ] - }, - "Flur und Wohnzimmer {group:shelly}": { - "name": "Flur und Wohnzimmer", - "color": "", - "actions": [] - }, - "Schlafzimmer Off {group:shelly}": { - "name": "Schlafzimmer Off", - "color": "", - "actions": [ - { - "shelly": { - "ids": "Schlafzimmer", - "turnOn": false - } - } - ] - }, - "Schlafzimmer [M=1] {group:markers}": { - "name": "Schlafzimmer [M=1]", - "color": "", - "actions": [] - }, - "Schlafzimmer [M=0] {group:markers}": { - "name": "Schlafzimmer [M=0]", - "color": "", - "actions": [] - }, - "DMX Fireplace {group:dmx;color:#ff0000,#ffaa00,#ee0000,#ffee00,#cc0000}": { - "name": "DMX Fireplace", - "color": "#ff0000,#ffaa00,#ee0000,#ffee00,#cc0000", - "actions": [ - { - "url": { - "url": "playPreset?preset=Fire&loop=true" - } - } - ] - }, - "Deckenfluter Full {group:wohnzimmer}": { - "name": "Deckenfluter Full", - "color": "", - "actions": [ - { - "lmair": { - "sceneIndex": 42 - } - } - ] - }, - "Deckenfluter Off {group:wohnzimmer}": { - "name": "Deckenfluter Off", - "color": "", - "actions": [ - { - "lmair": { - "sceneIndex": 42 - } - } - ] - }, - "Salzkristall On {group:wohnzimmer;color:#ffffff}": { - "name": "Salzkristall On", - "color": "#ffffff", - "actions": [ - { - "shelly": { - "ids": "Kristall", - "turnOn": true - } - } - ] - }, - "Salzkristall Off {group:wohnzimmer;color:#333333}": { - "name": "Salzkristall Off", - "color": "#333333", - "actions": [ - { - "shelly": { - "ids": "Kristall", - "turnOn": false - } - } - ] - }, - "Aikido {group:wohnzimmer}": { - "name": "Aikido", - "color": "", - "actions": [] - }, - "All Markers Off": { - "name": "All Markers Off", - "color": "", - "actions": [] - }, - "Deckenfluter Dim {group:wohnzimmer}": { - "name": "Deckenfluter Dim", - "color": "", - "actions": [ - { - "lmair": { - "sceneIndex": 42 - } - } - ] - }, - "Surround Standard {group:yamaha}": { - "name": "Surround Standard", - "color": "", - "actions": [ - { - "yamahaAvantage": { - "command": "surroundProgram", - "program": "Standard" - } - } - ] - }, - "Surround Sci-Fi {group:yamaha}": { - "name": "Surround Sci-Fi", - "color": "", - "actions": [ - { - "yamahaAvantage": { - "command": "surroundProgram", - "program": "Sci-Fi" - } - } - ] - }, - "Surround Spectacle {group:yamaha}": { - "name": "Surround Spectacle", - "color": "", - "actions": [ - { - "yamahaAvantage": { - "command": "surroundProgram", - "program": "Spectacle" - } - } - ] - }, - "Surround Adventure {group:yamaha}": { - "name": "Surround Adventure", - "color": "", - "actions": [ - { - "yamahaAvantage": { - "command": "surroundProgram", - "program": "Adventure" - } - } - ] - }, - "Surround The Roxy Theatre {group:yamaha}": { - "name": "Surround The Roxy Theatre", - "color": "", - "actions": [ - { - "yamahaAvantage": { - "command": "surroundProgram", - "program": "The+Roxy+Theatre" - } - } - ] - }, - "Surround The Bottom Line {group:yamaha}": { - "name": "Surround The Bottom Line", - "color": "", - "actions": [ - { - "yamahaAvantage": { - "command": "surroundProgram", - "program": "The+Bottom+Line" - } - } - ] - }, - "Surround Hall In Vienna {group:yamaha}": { - "name": "Surround Hall In Vienna", - "color": "", - "actions": [ - { - "yamahaAvantage": { - "command": "surroundProgram", - "program": "Hall+in+Vienna" - } - } - ] - }, - "Surround Decoder {group:yamaha}": { - "name": "Surround Decoder", - "color": "", - "actions": [ - { - "yamahaAvantage": { - "command": "surroundProgram", - "program": "Surround+Decoder" - } - } - ] - }, - "Surround 7ch Stereo {group:yamaha}": { - "name": "Surround 7ch Stereo", - "color": "", - "actions": [ - { - "yamahaAvantage": { - "command": "surroundProgram", - "program": "7ch+Stereo" - } - } - ] - }, - "Surround Hall In Munich {group:yamaha}": { - "name": "Surround Hall In Munich", - "color": "", - "actions": [ - { - "yamahaAvantage": { - "command": "surroundProgram", - "program": "Hall+in+Munich" - } - } - ] - }, - "RGBW On {group:rgbw;color:#ffffff}": { - "name": "RGBW On", - "color": "#ffffff", - "actions": [ - { - "shelly": { - "ids": "Rgbw", - "turnOn": true - } - } - ] - }, - "RGBW Off {group:rgbw;color:#333333}": { - "name": "RGBW Off", - "color": "#333333", - "actions": [ - { - "shelly": { - "ids": "Rgbw", - "turnOn": false - } - } - ] - }, - "RGBW Red {group:rgbw;color:#ff0000}": { - "name": "RGBW Red", - "color": "#ff0000", - "actions": [ - { - "hybrid": { - "ids": "Rgbw", - "hexColors": "ff0000" - } - } - ] - }, - "RGBW Green {group:rgbw;color:#00ff00}": { - "name": "RGBW Green", - "color": "#00ff00", - "actions": [ - { - "hybrid": { - "ids": "Rgbw", - "hexColors": "00ff00" - } - } - ] - }, - "RGBW Blue {group:rgbw;color:#0000ff}": { - "name": "RGBW Blue", - "color": "#0000ff", - "actions": [ - { - "hybrid": { - "ids": "Rgbw", - "hexColors": "0000ff" - } - } - ] - }, - "RGBW Cyan {group:rgbw;color:#00ffff}": { - "name": "RGBW Cyan", - "color": "#00ffff", - "actions": [ - { - "hybrid": { - "ids": "Rgbw", - "hexColors": "00ffff" - } - } - ] - }, - "RGBW Yellow {group:rgbw;color:#ffff00}": { - "name": "RGBW Yellow", - "color": "#ffff00", - "actions": [ - { - "hybrid": { - "ids": "Rgbw", - "hexColors": "ffff00" - } - } - ] - }, - "RGBW Magenta {group:rgbw;color:#ff00ff}": { - "name": "RGBW Magenta", - "color": "#ff00ff", - "actions": [ - { - "hybrid": { - "ids": "Rgbw", - "hexColors": "ff00ff" - } - } - ] - }, - "RGBW Orange {group:rgbw;color:#ff8000}": { - "name": "RGBW Orange", - "color": "#ff8000", - "actions": [ - { - "hybrid": { - "ids": "Rgbw", - "hexColors": "ff8000" - } - } - ] - }, - "RGBW Purple {group:rgbw;color:#8000ff}": { - "name": "RGBW Purple", - "color": "#8000ff", - "actions": [ - { - "hybrid": { - "ids": "Rgbw", - "hexColors": "8000ff" - } - } - ] - }, - "RGBW Full {group:rgbw;color:#ffffff}": { - "name": "RGBW Full", - "color": "#ffffff", - "actions": [ - { - "url": { - "url": "shelly/gain?ids=Rgbw&gain=100&" - } - } - ] - }, - "RGBW Half {group:rgbw;color:#808080}": { - "name": "RGBW Half", - "color": "#808080", - "actions": [ - { - "url": { - "url": "shelly/gain?ids=Rgbw&gain=1&" - } - } - ] - }, - "Deko Red {group:deko;color:#ff0000}": { - "name": "Deko Red", - "color": "#ff0000", - "actions": [ - { - "hybrid": { - "ids": "Rgbw,Starwars,Bar", - "hexColors": "ff0000" - } - } - ] - }, - "Deko Green {group:deko;color:#00ff00}": { - "name": "Deko Green", - "color": "#00ff00", - "actions": [ - { - "hybrid": { - "ids": "Rgbw,Starwars,Bar", - "hexColors": "00ff00" - } - } - ] - }, - "Deko Blue {group:deko;color:#0000ff}": { - "name": "Deko Blue", - "color": "#0000ff", - "actions": [ - { - "hybrid": { - "ids": "Rgbw,Starwars,Bar", - "hexColors": "0000ff" - } - } - ] - }, - "Deko Cyan {group:deko;color:#00ffff}": { - "name": "Deko Cyan", - "color": "#00ffff", - "actions": [ - { - "hybrid": { - "ids": "Rgbw,Starwars,Bar", - "hexColors": "00ffff" - } - } - ] - }, - "Deko Yellow {group:deko;color:#ffff00}": { - "name": "Deko Yellow", - "color": "#ffff00", - "actions": [ - { - "hybrid": { - "ids": "Rgbw,Starwars,Bar", - "hexColors": "ffff00" - } - } - ] - }, - "Deko Magenta {group:deko;color:#ff00ff}": { - "name": "Deko Magenta", - "color": "#ff00ff", - "actions": [ - { - "hybrid": { - "ids": "Rgbw,Starwars,Bar", - "hexColors": "ff00ff" - } - } - ] - }, - "Deko Orange {group:deko;color:#ff8000}": { - "name": "Deko Orange", - "color": "#ff8000", - "actions": [ - { - "hybrid": { - "ids": "Rgbw,Starwars,Bar", - "hexColors": "ff8000" - } - } - ] - }, - "Deko Purple {group:deko;color:#8000ff}": { - "name": "Deko Purple", - "color": "#8000ff", - "actions": [ - { - "hybrid": { - "ids": "Rgbw,Starwars,Bar", - "hexColors": "8000ff" - } - } - ] - }, - "Bar Off {group:bar;color:#333333}": { - "name": "Bar Off", - "color": "#333333", - "actions": [ - { - "shelly": { - "ids": "Bar", - "turnOn": false - } - } - ] - }, - "Deko White {group:deko;color:#ffffff}": { - "name": "Deko White", - "color": "#ffffff", - "actions": [ - { - "hybrid": { - "ids": "Rgbw,Starwars,Bar", - "hexColors": "ffffff" - } - } - ] - }, - "Deko Off {group:deko;color:#333333}": { - "name": "Deko Off", - "color": "#333333", - "actions": [ - { - "shelly": { - "ids": "Rgbw,Starwars,Bar", - "turnOn": false - } - } - ] - }, - "Deko On {group:deko;color:#ffffff}": { - "name": "Deko On", - "color": "#ffffff", - "actions": [ - { - "shelly": { - "ids": "Rgbw,Starwars,Bar", - "turnOn": true - } - } - ] - }, - "Licht TV {group:background;color:#fffad5}": { - "name": "Licht TV", - "color": "#fffad5", - "actions": [ - { - "lmair": { - "sceneIndex": 1499 - } - }, - { - "shelly": { - "ids": "Wohnzimmer_Deckenlampe", - "turnOn": false - } - }, - { - "shelly": { - "ids": "Flur", - "turnOn": false - } - }, - { - "shelly": { - "ids": "Kristall", - "turnOn": false - } - }, - { - "shelly": { - "ids": "Schlafzimmer", - "turnOn": false - } - }, - { - "lmair": { - "sceneIndex": 42 - } - }, - { - "hybrid": { - "hexColors": "000000,000000,94832d,94832d,94832d,94832d,000000", - "gains": "1.0" - } - }, - { - "pause": { - "duration": 5000 - } - }, - { - "lmair": { - "sceneIndex": 42 - } - }, - { - "hybrid": { - "hexColors": "000000" - } - }, - { - "pause": { - "duration": 1000 - } - }, - { - "shelly": { - "ids": "Wohnzimmer_Esstisch", - "turnOn": false - } - } - ] - }, - "TV Licht Aus {group:background;color:#333333}": { - "name": "TV Licht Aus", - "color": "#333333", - "actions": [ - { - "lmair": { - "sceneIndex": 1499 - } - } - ] - }, - "Licht Kino {group:background;color:#000088,#000088,#880000,#880000}": { - "name": "Licht Kino", - "color": "#000088,#000088,#880000,#880000", - "actions": [ - { - "hybrid": { - "hexColors": "000000,000000,94832d,94832d,94832d,94832d,000000", - "gains": "1.0" - } - }, - { - "pause": { - "duration": 2000 - } - }, - { - "lmair": { - "sceneIndex": 1499 - } - }, - { - "pause": { - "duration": 1000 - } - }, - { - "hybrid": { - "hexColors": "7777ff,aaaaff,7777ff,aaaaff,7777ff,aaaaff,7777ff" - } - }, - { - "pause": { - "duration": 5000 - } - }, - { - "hybrid": { - "hexColors": "000088,000088,ffffcc,000088,000088,000088,000088" - } - }, - { - "pause": { - "duration": 5000 - } - }, - { - "hybrid": { - "hexColors": "880000,880000,000088,000088,000088,000088,880000" - } - } - ] - }, - "Background Red {group:background;color:#ff0000}": { - "name": "Background Red", - "color": "#ff0000", - "actions": [ - { - "hybrid": { - "hexColors": "ff0000" - } - } - ] - }, - "Background Dark Red {group:background;color:#880000}": { - "name": "Background Dark Red", - "color": "#880000", - "actions": [ - { - "hybrid": { - "hexColors": "880000" - } - } - ] - }, - "Background Green {group:background;color:#00ff00}": { - "name": "Background Green", - "color": "#00ff00", - "actions": [ - { - "hybrid": { - "hexColors": "00ff00" - } - } - ] - }, - "Background Dark Green {group:background;color:#008800}": { - "name": "Background Dark Green", - "color": "#008800", - "actions": [ - { - "hybrid": { - "hexColors": "008800" - } - } - ] - }, - "Background Blue {group:background;color:#0000ff}": { - "name": "Background Blue", - "color": "#0000ff", - "actions": [ - { - "hybrid": { - "hexColors": "0000ff" - } - } - ] - }, - "Background Dark Blue {group:background;color:#000088}": { - "name": "Background Dark Blue", - "color": "#000088", - "actions": [ - { - "hybrid": { - "hexColors": "000088" - } - } - ] - }, - "Background Cyan {group:background;color:#00ffff}": { - "name": "Background Cyan", - "color": "#00ffff", - "actions": [ - { - "hybrid": { - "hexColors": "00ffff" - } - } - ] - }, - "Background Dark Cyan {group:background;color:#008888}": { - "name": "Background Dark Cyan", - "color": "#008888", - "actions": [ - { - "hybrid": { - "hexColors": "008888" - } - } - ] - }, - "Background Yellow {group:background;color:#ffff00}": { - "name": "Background Yellow", - "color": "#ffff00", - "actions": [ - { - "hybrid": { - "hexColors": "ffff00" - } - } - ] - }, - "Background Magenta {group:background;color:#ff00ff}": { - "name": "Background Magenta", - "color": "#ff00ff", - "actions": [ - { - "hybrid": { - "hexColors": "ff00ff" - } - } - ] - }, - "Background Orange {group:background;color:#ff8000}": { - "name": "Background Orange", - "color": "#ff8000", - "actions": [ - { - "hybrid": { - "hexColors": "ff8000" - } - } - ] - }, - "Background Purple {group:background;color:#2d0080}": { - "name": "Background Purple", - "color": "#2d0080", - "actions": [ - { - "hybrid": { - "hexColors": "8000ff" - } - } - ] - }, - "Background White {group:background;color:#ffffff}": { - "name": "Background White", - "color": "#ffffff", - "actions": [ - { - "hybrid": { - "hexColors": "ffffff" - } - } - ] - }, - "Background Warm White {group:background;color:#ffde59,#ffde59,#000000,#000000}": { - "name": "Background Warm White", - "color": "#ffde59,#ffde59,#000000,#000000", - "actions": [ - { - "hybrid": { - "hexColors": "000000,000000,94832d,94832d,94832d,94832d,000000", - "gains": "1.0" - } - } - ] - }, - "Background Red / Blue {group:background;color:#0000ff,#ff0000,#ff0000,#0000ff}": { - "name": "Background Red / Blue", - "color": "#0000ff,#ff0000,#ff0000,#0000ff", - "actions": [ - { - "hybrid": { - "hexColors": "0000ff,0000ff,ff0000,ff0000,ff0000,ff0000,0000ff" - } - } - ] - }, - "Background Dark Red / Blue {group:background;color:#000088,#880000,#880000,#000088}": { - "name": "Background Dark Red / Blue", - "color": "#000088,#880000,#880000,#000088", - "actions": [ - { - "hybrid": { - "hexColors": "000088,000088,880000,880000,880000,880000,000088" - } - } - ] - }, - "Background Blue / Red {group:background;color:#ff0000,#0000ff,#0000ff,#ff0000}": { - "name": "Background Blue / Red", - "color": "#ff0000,#0000ff,#0000ff,#ff0000", - "actions": [ - { - "hybrid": { - "hexColors": "ff0000,ff0000,0000ff,0000ff,0000ff,0000ff,ff0000" - } - } - ] - }, - "Background Dark Blue / Red {group:background;color:#880000,#000088,#000088,#880000}": { - "name": "Background Dark Blue / Red", - "color": "#880000,#000088,#000088,#880000", - "actions": [ - { - "hybrid": { - "hexColors": "880000,880000,000088,000088,000088,000088,880000" - } - } - ] - }, - "Background Green / Red {group:background;color:#ff0000,#00ff00,#00ff00,#ff0000}": { - "name": "Background Green / Red", - "color": "#ff0000,#00ff00,#00ff00,#ff0000", - "actions": [ - { - "hybrid": { - "hexColors": "ff0000,ff0000,00ff00,00ff00,00ff00,00ff00,ff0000" - } - } - ] - }, - "Background Dark Green / Red {group:background;color:#880000,#008800,#008800,#880000}": { - "name": "Background Dark Green / Red", - "color": "#880000,#008800,#008800,#880000", - "actions": [ - { - "hybrid": { - "hexColors": "880000,880000,008800,008800,008800,008800,880000" - } - } - ] - }, - "Background Red / Green {group:background;color:#00ff00,#ff0000,#ff0000,#00ff00}": { - "name": "Background Red / Green", - "color": "#00ff00,#ff0000,#ff0000,#00ff00", - "actions": [ - { - "hybrid": { - "hexColors": "00ff00,00ff00,ff0000,ff0000,ff0000,ff0000,00ff00" - } - } - ] - }, - "Background Dark Red / Green {group:background;color:#008800,#880000,#880000,#008800}": { - "name": "Background Dark Red / Green", - "color": "#008800,#880000,#880000,#008800", - "actions": [ - { - "hybrid": { - "hexColors": "008800,008800,880000,880000,880000,880000,008800" - } - } - ] - }, - "Background Green / Blue {group:background;color:#0000ff,#00ff00,#00ff00,#0000ff}": { - "name": "Background Green / Blue", - "color": "#0000ff,#00ff00,#00ff00,#0000ff", - "actions": [ - { - "hybrid": { - "hexColors": "0000ff,0000ff,00ff00,00ff00,00ff00,00ff00,0000ff" - } - } - ] - }, - "Background Dark Green / Blue {group:background;color:#000088,#008800,#008800,#000088}": { - "name": "Background Dark Green / Blue", - "color": "#000088,#008800,#008800,#000088", - "actions": [ - { - "hybrid": { - "hexColors": "000088,000088,008800,008800,008800,008800,000088" - } - } - ] - }, - "Background Blue / Green {group:background;color:#00ff00,#0000ff,#0000ff,#00ff00}": { - "name": "Background Blue / Green", - "color": "#00ff00,#0000ff,#0000ff,#00ff00", - "actions": [ - { - "hybrid": { - "hexColors": "00ff00,00ff00,0000ff,0000ff,0000ff,0000ff,00ff00" - } - } - ] - }, - "Background Dark Blue / Green {group:background;color:#008800,#000088,#000088,#008800}": { - "name": "Background Dark Blue / Green", - "color": "#008800,#000088,#000088,#008800", - "actions": [ - { - "hybrid": { - "hexColors": "008800,008800,000088,000088,000088,000088,008800" - } - } - ] - }, - "Background Blue / Cyan {group:background;color:#00ffff,#0000ff,#0000ff,#00ffff}": { - "name": "Background Blue / Cyan", - "color": "#00ffff,#0000ff,#0000ff,#00ffff", - "actions": [ - { - "hybrid": { - "hexColors": "00ffff,00ffff,0000ff,0000ff,0000ff,0000ff,00ffff" - } - } - ] - }, - "Background Dark Blue / Cyan {group:background;color:#008888,#000088,#000088,#008888}": { - "name": "Background Dark Blue / Cyan", - "color": "#008888,#000088,#000088,#008888", - "actions": [ - { - "hybrid": { - "hexColors": "008888,008888,000088,000088,000088,000088,008888" - } - } - ] - }, - "Background Green / Magenta {group:background;color:#ff00ff,#00ff00,#00ff00,#ff00ff}": { - "name": "Background Green / Magenta", - "color": "#ff00ff,#00ff00,#00ff00,#ff00ff", - "actions": [ - { - "hybrid": { - "hexColors": "ff00ff,ff00ff,00ff00,00ff00,00ff00,00ff00,ff00ff" - } - } - ] - }, - "Background Magenta / Green {group:background;color:#00ff00,#ff00ff,#ff00ff,#00ff00}": { - "name": "Background Magenta / Green", - "color": "#00ff00,#ff00ff,#ff00ff,#00ff00", - "actions": [ - { - "hybrid": { - "hexColors": "00ff00,00ff00,ff00ff,ff00ff,ff00ff,ff00ff,00ff00" - } - } - ] - }, - "Background Green / Yellow {group:background;color:#ffff00,#00ff00,#00ff00,#ffff00}": { - "name": "Background Green / Yellow", - "color": "#ffff00,#00ff00,#00ff00,#ffff00", - "actions": [ - { - "hybrid": { - "hexColors": "ffff00,ffff00,00ff00,00ff00,00ff00,00ff00,ffff00" - } - } - ] - }, - "Background Yellow / Green {group:background;color:#00ff00,#ffff00,#ffff00,#00ff00}": { - "name": "Background Yellow / Green", - "color": "#00ff00,#ffff00,#ffff00,#00ff00", - "actions": [ - { - "hybrid": { - "hexColors": "00ff00,00ff00,ffff00,ffff00,ffff00,ffff00,00ff00" - } - } - ] - }, - "Background Cyan / Blue {group:background;color:#0000ff,#00ffff,#00ffff,#0000ff}": { - "name": "Background Cyan / Blue", - "color": "#0000ff,#00ffff,#00ffff,#0000ff", - "actions": [ - { - "hybrid": { - "hexColors": "0000ff,0000ff,00ffff,00ffff,00ffff,00ffff,0000ff" - } - } - ] - }, - "Background Dark Cyan / Blue {group:background;color:#000088,#008888,#008888,#000088}": { - "name": "Background Dark Cyan / Blue", - "color": "#000088,#008888,#008888,#000088", - "actions": [ - { - "hybrid": { - "hexColors": "000088,000088,008888,008888,008888,008888,000088" - } - } - ] - }, - "Background Orange / Teal {group:background;color:#2388ad,#ff8000,#ff8000,#2388ad}": { - "name": "Background Orange / Teal", - "color": "#2388ad,#ff8000,#ff8000,#2388ad", - "actions": [ - { - "hybrid": { - "hexColors": "2388ad,2388ad,ff8000,ff8000,ff8000,ff8000,2388ad" - } - } - ] - }, - "Background Teal / Orange {group:background;color:#ff8000,#2388ad,#2388ad,#ff8000}": { - "name": "Background Teal / Orange", - "color": "#ff8000,#2388ad,#2388ad,#ff8000", - "actions": [ - { - "hybrid": { - "hexColors": "ff8000,ff8000,2388ad,2388ad,2388ad,2388ad,ff8000" - } - } - ] - }, - "Background Orange / Purple {group:background;color:#2d0080,#ff8000,#ff8000,#2d0080}": { - "name": "Background Orange / Purple", - "color": "#2d0080,#ff8000,#ff8000,#2d0080", - "actions": [ - { - "hybrid": { - "hexColors": "8000ff,8000ff,ff8000,ff8000,ff8000,ff8000,8000ff" - } - } - ] - }, - "Background Purple / Orange {group:background;color:#ff8000,#2d0080,#2d0080,#ff8000}": { - "name": "Background Purple / Orange", - "color": "#ff8000,#2d0080,#2d0080,#ff8000", - "actions": [ - { - "hybrid": { - "hexColors": "ff8000,ff8000,8000ff,8000ff,8000ff,8000ff,ff8000" - } - } - ] - }, - "Background Yellow / Purple {group:background;color:#2d0080,#ffff00,#ffff00,#2d0080}": { - "name": "Background Yellow / Purple", - "color": "#2d0080,#ffff00,#ffff00,#2d0080", - "actions": [ - { - "hybrid": { - "hexColors": "8000ff,8000ff,ffff00,ffff00,ffff00,ffff00,8000ff" - } - } - ] - }, - "Background Purple / Yellow {group:background;color:#ffff00,#2d0080,#2d0080,#ffff00}": { - "name": "Background Purple / Yellow", - "color": "#ffff00,#2d0080,#2d0080,#ffff00", - "actions": [ - { - "hybrid": { - "hexColors": "ffff00,ffff00,8000ff,8000ff,8000ff,8000ff,ffff00" - } - } - ] - }, - "Background Yellow / Magenta {group:background;color:#ff00ff,#ffff00,#ffff00,#ff00ff}": { - "name": "Background Yellow / Magenta", - "color": "#ff00ff,#ffff00,#ffff00,#ff00ff", - "actions": [ - { - "hybrid": { - "hexColors": "ff00ff,ff00ff,ffff00,ffff00,ffff00,ffff00,ff00ff" - } - } - ] - }, - "Background Magenta / Yellow {group:background;color:#ffff00,#ff00ff,#ff00ff,#ffff00}": { - "name": "Background Magenta / Yellow", - "color": "#ffff00,#ff00ff,#ff00ff,#ffff00", - "actions": [ - { - "hybrid": { - "hexColors": "ffff00,ffff00,ff00ff,ff00ff,ff00ff,ff00ff,ffff00" - } - } - ] - }, - "Background Purple / Magenta {group:background;color:#ff00ff,#2d0080,#2d0080,#ff00ff}": { - "name": "Background Purple / Magenta", - "color": "#ff00ff,#2d0080,#2d0080,#ff00ff", - "actions": [ - { - "hybrid": { - "hexColors": "ff00ff,ff00ff,8000ff,8000ff,8000ff,8000ff,ff00ff" - } - } - ] - }, - "Background Magenta / Purple {group:background;color:#2d0080,#ff00ff,#ff00ff,#2d0080}": { - "name": "Background Magenta / Purple", - "color": "#2d0080,#ff00ff,#ff00ff,#2d0080", - "actions": [ - { - "hybrid": { - "hexColors": "8000ff,8000ff,ff00ff,ff00ff,ff00ff,ff00ff,8000ff" - } - } - ] - }, - "Background White / Blue {group:background;color:#0000ff,#ffffff,#ffffff,#0000ff}": { - "name": "Background White / Blue", - "color": "#0000ff,#ffffff,#ffffff,#0000ff", - "actions": [ - { - "hybrid": { - "hexColors": "0000ff,0000ff,ffffff,ffffff,ffffff,ffffff,0000ff" - } - } - ] - }, - "Background Blue / White {group:background;color:#ffffff,#0000ff,#0000ff,#ffffff}": { - "name": "Background Blue / White", - "color": "#ffffff,#0000ff,#0000ff,#ffffff", - "actions": [ - { - "hybrid": { - "hexColors": "ffffff,ffffff,0000ff,0000ff,0000ff,0000ff,ffffff" - } - } - ] - }, - "Background Red / White {group:background;color:#ffffff,#ff0000,#ff0000,#ffffff}": { - "name": "Background Red / White", - "color": "#ffffff,#ff0000,#ff0000,#ffffff", - "actions": [ - { - "hybrid": { - "hexColors": "ffffff,ffffff,ff0000,ff0000,ff0000,ff0000,ffffff" - } - } - ] - }, - "Background White / Red {group:background;color:#ff0000,#ffffff,#ffffff,#ff0000}": { - "name": "Background White / Red", - "color": "#ff0000,#ffffff,#ffffff,#ff0000", - "actions": [ - { - "hybrid": { - "hexColors": "ff0000,ff0000,ffffff,ffffff,ffffff,ffffff,ff0000" - } - } - ] - }, - "Background Rainbow Blue-Red {group:background;color:#0000ff,#00ffff,#00ff00,#ffff00,#ff8000,#ff0000}": { - "name": "Background Rainbow Blue-Red", - "color": "#0000ff,#00ffff,#00ff00,#ffff00,#ff8000,#ff0000", - "actions": [ - { - "hybrid": { - "hexColors": "0000ff,00ffff,00ff00,80ff00,ffff00,ff3000,ff0000" - } - } - ] - }, - "Background Rainbow Red-Blue {group:background;color:#ff0000,#ff8000,#ffff00,#00ff00,#00ffff,#0000ff}": { - "name": "Background Rainbow Red-Blue", - "color": "#ff0000,#ff8000,#ffff00,#00ff00,#00ffff,#0000ff", - "actions": [ - { - "hybrid": { - "hexColors": "ff0000,ff3000,ffff00,80ff00,00ff00,00ffff,0000ff" - } - } - ] - }, - "Background Rainbow Dark Blue-Red {group:background;color:#000080,#008080,#008000,#808000,#808000,#800000}": { - "name": "Background Rainbow Dark Blue-Red", - "color": "#000080,#008080,#008000,#808000,#808000,#800000", - "actions": [ - { - "hybrid": { - "hexColors": "000080,008080,008000,808000,808000,803000,800000" - } - } - ] - }, - "Background Rainbow Dark Red-Blue {group:background;color:#800000,#808000,#808000,#008000,#008080,#000080}": { - "name": "Background Rainbow Dark Red-Blue", - "color": "#800000,#808000,#808000,#008000,#008080,#000080", - "actions": [ - { - "hybrid": { - "hexColors": "800000,803000,808000,808000,008000,008080,000080" - } - } - ] - }, - "Background purple-green {group:background;color:#8000ff,#00ff00,#8000ff,#00ff00,#8000ff}": { - "name": "Background purple-green", - "color": "#8000ff,#00ff00,#8000ff,#00ff00,#8000ff", - "actions": [ - { - "hybrid": { - "hexColors": "8000ff,00ff00,8000ff,00ff00,8000ff,00ff00,8000ff" - } - } - ] - }, - "Background green-purple {group:background;color:#00ff00,#8000ff,#00ff00,#8000ff,#00ff00}": { - "name": "Background green-purple", - "color": "#00ff00,#8000ff,#00ff00,#8000ff,#00ff00", - "actions": [ - { - "hybrid": { - "hexColors": "00ff00,8000ff,00ff00,8000ff,00ff00,8000ff,008800" - } - } - ] - }, - "Background blue-green {group:background;color:#0000ff,#00ff00,#0000ff,#00ff00,#0000ff}": { - "name": "Background blue-green", - "color": "#0000ff,#00ff00,#0000ff,#00ff00,#0000ff", - "actions": [ - { - "hybrid": { - "hexColors": "0000ff,00ff00,0000ff,00ff00,0000ff,00ff00,0000ff" - } - } - ] - }, - "Background green-blue {group:background;color:#00ff00,#0000ff,#00ff00,#0000ff,#00ff00}": { - "name": "Background green-blue", - "color": "#00ff00,#0000ff,#00ff00,#0000ff,#00ff00", - "actions": [ - { - "hybrid": { - "hexColors": "00ff00,0000ff,00ff00,0000ff,00ff00,0000ff,00ff00" - } - } - ] - }, - "Background red-green {group:background;color:#ff0000,#00ff00,#ff0000,#00ff00,#ff0000}": { - "name": "Background red-green", - "color": "#ff0000,#00ff00,#ff0000,#00ff00,#ff0000", - "actions": [ - { - "hybrid": { - "hexColors": "ff0000,00ff00,ff0000,00ff00,ff0000,00ff00,ff0000" - } - } - ] - }, - "Background green-red {group:background;color:#00ff00,#ff0000,#00ff00,#ff0000,#00ff00}": { - "name": "Background green-red", - "color": "#00ff00,#ff0000,#00ff00,#ff0000,#00ff00", - "actions": [ - { - "hybrid": { - "hexColors": "00ff00,ff0000,00ff00,ff0000,00ff00,ff0000,00ff00" - } - } - ] - }, - "Background blue-cyan {group:background;color:#0000ff,#00ffff,#0000ff,#00ffff,#0000ff}": { - "name": "Background blue-cyan", - "color": "#0000ff,#00ffff,#0000ff,#00ffff,#0000ff", - "actions": [ - { - "hybrid": { - "hexColors": "0000ff,00ffff,0000ff,00ffff,0000ff,00ffff,0000ff" - } - } - ] - }, - "Background cyan-blue {group:background;color:#00ffff,#0000ff,#00ffff,#0000ff,#00ffff}": { - "name": "Background cyan-blue", - "color": "#00ffff,#0000ff,#00ffff,#0000ff,#00ffff", - "actions": [ - { - "hybrid": { - "hexColors": "00ffff,0000ff,00ffff,0000ff,00ffff,0000ff,00ffff" - } - } - ] - }, - "Background blue-yellow {group:background;color:#0000ff,#ffff00,#0000ff,#ffff00,#0000ff}": { - "name": "Background blue-yellow", - "color": "#0000ff,#ffff00,#0000ff,#ffff00,#0000ff", - "actions": [ - { - "hybrid": { - "hexColors": "0000ff,ffff00,0000ff,ffff00,0000ff,ffff00,0000ff" - } - } - ] - }, - "Background yellow-blue {group:background;color:#ffff00,#0000ff,#ffff00,#0000ff,#ffff00}": { - "name": "Background yellow-blue", - "color": "#ffff00,#0000ff,#ffff00,#0000ff,#ffff00", - "actions": [ - { - "hybrid": { - "hexColors": "ffff00,0000ff,ffff00,0000ff,ffff00,0000ff,ffff00" - } - } - ] - }, - "Background blue-white {group:background;color:#0000ff,#ffffff,#0000ff,#ffffff,#0000ff}": { - "name": "Background blue-white", - "color": "#0000ff,#ffffff,#0000ff,#ffffff,#0000ff", - "actions": [ - { - "hybrid": { - "hexColors": "0000ff,ffffff,0000ff,ffffff,0000ff,ffffff,0000ff" - } - } - ] - }, - "Background white-blue {group:background;color:#ffffff,#0000ff,#ffffff,#0000ff,#ffffff}": { - "name": "Background white-blue", - "color": "#ffffff,#0000ff,#ffffff,#0000ff,#ffffff", - "actions": [ - { - "hybrid": { - "hexColors": "ffffff,0000ff,ffffff,0000ff,ffffff,0000ff,ffffff" - } - } - ] - }, - "Background green-yellow {group:background;color:#00ff00,#ffff00,#00ff00,#ffff00,#00ff00}": { - "name": "Background green-yellow", - "color": "#00ff00,#ffff00,#00ff00,#ffff00,#00ff00", - "actions": [ - { - "hybrid": { - "hexColors": "00ff00,ffff00,00ff00,ffff00,00ff00,ffff00,00ff00" - } - } - ] - }, - "Background yellow-green {group:background;color:#ffff00,#00ff00,#ffff00,#00ff00,#ffff00}": { - "name": "Background yellow-green", - "color": "#ffff00,#00ff00,#ffff00,#00ff00,#ffff00", - "actions": [ - { - "hybrid": { - "hexColors": "ffff00,00ff00,ffff00,00ff00,ffff00,00ff00,ffff00" - } - } - ] - }, - "Background purple-yellow {group:background;color:#8000ff,#ffff00,#8000ff,#ffff00,#8000ff}": { - "name": "Background purple-yellow", - "color": "#8000ff,#ffff00,#8000ff,#ffff00,#8000ff", - "actions": [ - { - "hybrid": { - "hexColors": "8000ff,ffff00,8000ff,ffff00,8000ff,ffff00,8000ff" - } - } - ] - }, - "Background yellow-purple {group:background;color:#ffff00,#8000ff,#ffff00,#8000ff,#ffff00}": { - "name": "Background yellow-purple", - "color": "#ffff00,#8000ff,#ffff00,#8000ff,#ffff00", - "actions": [ - { - "hybrid": { - "hexColors": "ffff00,8000ff,ffff00,8000ff,ffff00,8000ff,ffff00" - } - } - ] - }, - "Background purple-orange {group:background;color:#8000ff,#ff8000,#8000ff,#ff8000,#8000ff}": { - "name": "Background purple-orange", - "color": "#8000ff,#ff8000,#8000ff,#ff8000,#8000ff", - "actions": [ - { - "hybrid": { - "hexColors": "8000ff,ff8000,8000ff,ff8000,8000ff,ff8000,8000ff" - } - } - ] - }, - "Background orange-purple {group:background;color:#ff8000,#8000ff,#ff8000,#8000ff,#ff8000}": { - "name": "Background orange-purple", - "color": "#ff8000,#8000ff,#ff8000,#8000ff,#ff8000", - "actions": [ - { - "hybrid": { - "hexColors": "ff8000,8000ff,ff8000,8000ff,ff8000,8000ff,ff8000" - } - } - ] - }, - "Background red-orange {group:background;color:#ff0000,#ff8000,#ff0000,#ff8000,#ff0000}": { - "name": "Background red-orange", - "color": "#ff0000,#ff8000,#ff0000,#ff8000,#ff0000", - "actions": [ - { - "hybrid": { - "hexColors": "ff0000,ff8000,ff0000,ff8000,ff0000,ff8000,ff0000" - } - } - ] - }, - "Background orange-red {group:background;color:#ff8000,#ff0000,#ff8000,#ff0000,#ff8000}": { - "name": "Background orange-red", - "color": "#ff8000,#ff0000,#ff8000,#ff0000,#ff8000", - "actions": [ - { - "hybrid": { - "hexColors": "ff8000,ff0000,ff8000,ff0000,ff8000,ff0000,ff8000" - } - } - ] - }, - "Background yellow-orange {group:background;color:#ffff00,#ff8000,#ffff00,#ff8000,#ffff00}": { - "name": "Background yellow-orange", - "color": "#ffff00,#ff8000,#ffff00,#ff8000,#ffff00", - "actions": [ - { - "hybrid": { - "hexColors": "ffff00,ff8000,ffff00,ff8000,ffff00,ff8000,ffff00" - } - } - ] - }, - "Background orange-yellow {group:background;color:#ff8000,#ffff00,#ff8000,#ffff00,#ff8000}": { - "name": "Background orange-yellow", - "color": "#ff8000,#ffff00,#ff8000,#ffff00,#ff8000", - "actions": [ - { - "hybrid": { - "hexColors": "ff8000,ffff00,ff8000,ffff00,ff8000,ffff00,ff8000" - } - } - ] - }, - "Background red-blue {group:background;color:#ff0000,#0000ff,#ff0000,#0000ff,#ff0000}": { - "name": "Background red-blue", - "color": "#ff0000,#0000ff,#ff0000,#0000ff,#ff0000", - "actions": [ - { - "hybrid": { - "hexColors": "ff0000,0000ff,ff0000,0000ff,ff0000,0000ff,ff0000" - } - } - ] - }, - "Background blue-red {group:background;color:#0000ff,#ff0000,#0000ff,#ff0000,#0000ff}": { - "name": "Background blue-red", - "color": "#0000ff,#ff0000,#0000ff,#ff0000,#0000ff", - "actions": [ - { - "hybrid": { - "hexColors": "0000ff,ff0000,0000ff,ff0000,0000ff,ff0000,0000ff" - } - } - ] - }, - "Background green-orange {group:background;color:#00ff00,#ff8000,#00ff00,#ff8000,#00ff00}": { - "name": "Background green-orange", - "color": "#00ff00,#ff8000,#00ff00,#ff8000,#00ff00", - "actions": [ - { - "hybrid": { - "hexColors": "00ff00,ff8000,00ff00,ff8000,00ff00,ff8000,00ff00" - } - } - ] - }, - "Background orange-green {group:background;color:#ff8000,#00ff00,#ff8000,#00ff00,#ff8000}": { - "name": "Background orange-green", - "color": "#ff8000,#00ff00,#ff8000,#00ff00,#ff8000", - "actions": [ - { - "hybrid": { - "hexColors": "ff8000,00ff00,ff8000,00ff00,ff8000,00ff00,ff8000" - } - } - ] - }, - "Background Enterprise E {group:background;color:#ffff80,#000088,#000088,#000088,#000088}": { - "name": "Background Enterprise E", - "color": "#ffff80,#000088,#000088,#000088,#000088", - "actions": [] - }, - "Background Black {group:background;color:#303030}": { - "name": "Background Black", - "color": "#303030", - "actions": [ - { - "hybrid": { - "hexColors": "000000" - } - } - ] - }, - "RGBW White {group:rgbw;color:#ffffff}": { - "name": "RGBW White", - "color": "#ffffff", - "actions": [ - { - "hybrid": { - "ids": "Rgbw", - "hexColors": "ffffff" - } - } - ] - }, - "Bar On {group:bar;color:#ffffff}": { - "name": "Bar On", - "color": "#ffffff", - "actions": [ - { - "shelly": { - "ids": "Bar", - "turnOn": true - } - } - ] - }, - "DMX Teal {group:dmx;color:#2388ad}": { - "name": "DMX Teal", - "color": "#2388ad", - "actions": [ - { - "hybrid": { - "ids": "15,29,21,1", - "hexColors": "2388ad" - } - } - ] - }, - "DMX Orange {group:dmx;color:#8c6200}": { - "name": "DMX Orange", - "color": "#8c6200", - "actions": [ - { - "hybrid": { - "ids": "15,29,21,1", - "hexColors": "8c6200" - } - } - ] - }, - "DMX Green {group:dmx;color:#00ff00}": { - "name": "DMX Green", - "color": "#00ff00", - "actions": [ - { - "hybrid": { - "ids": "15,29,21,1", - "hexColors": "00ff00" - } - } - ] - }, - "DMX Blue {group:dmx;color:#0000ff}": { - "name": "DMX Blue", - "color": "#0000ff", - "actions": [ - { - "hybrid": { - "ids": "15,29,21,1", - "hexColors": "0000ff" - } - } - ] - }, - "DMX Yellow {group:dmx;color:#ffff00}": { - "name": "DMX Yellow", - "color": "#ffff00", - "actions": [ - { - "hybrid": { - "ids": "15,29,21,1", - "hexColors": "ffff00" - } - } - ] - }, - "DMX Cyan {group:dmx;color:#00ffff}": { - "name": "DMX Cyan", - "color": "#00ffff", - "actions": [ - { - "hybrid": { - "ids": "15,29,21,1", - "hexColors": "00ffff" - } - } - ] - }, - "DMX Magenta {group:dmx;color:#ff00ff}": { - "name": "DMX Magenta", - "color": "#ff00ff", - "actions": [ - { - "hybrid": { - "ids": "15,29,21,1", - "hexColors": "ff00ff" - } - } - ] - }, - "DMX LightBlue {group:dmx;color:#7777ff,#aaaaff,#7777ff,#aaaaff,#7777ff,#aaaaff,#7777ff}": { - "name": "DMX LightBlue", - "color": "#7777ff,#aaaaff,#7777ff,#aaaaff,#7777ff,#aaaaff,#7777ff", - "actions": [ - { - "hybrid": { - "hexColors": "7777ff,aaaaff,7777ff,aaaaff,7777ff,aaaaff,7777ff" - } - } - ] - }, - "DMX Purple {group:dmx;color:#2d0080}": { - "name": "DMX Purple", - "color": "#2d0080", - "actions": [ - { - "hybrid": { - "ids": "15,29,21,1", - "hexColors": "2d0080" - } - } - ] - }, - "DMX White {group:dmx;color:#808080}": { - "name": "DMX White", - "color": "#808080", - "actions": [ - { - "hybrid": { - "ids": "15,29,21,1", - "hexColors": "ffffff" - } - } - ] - }, - "Deko Rainbow Red-Blue {group:deko;color:#ff0000,#ff8000,#ffff00,#00ff00,#00ffff,#0000ff}": { - "name": "Deko Rainbow Red-Blue", - "color": "#ff0000,#ff8000,#ffff00,#00ff00,#00ffff,#0000ff", - "actions": [ - { - "hybrid": { - "ids": "Starwars,Rgbw,Bar", - "hexColors": "ff0000,ff3000,0000ff" - } - } - ] - }, - "DMX Rainbow Red-Blue {group:dmx;color:#ff0000,#ff8000,#ffff00,#00ff00,#00ffff,#0000ff}": { - "name": "DMX Rainbow Red-Blue", - "color": "#ff0000,#ff8000,#ffff00,#00ff00,#00ffff,#0000ff", - "actions": [ - { - "hybrid": { - "ids": "15,29,21,1", - "hexColors": "ffff00,80ff00,00ff00,00ffff" - } - } - ] - }, - "Deko Rainbow Blue-Red {group:deko;color:#0000ff,#00ffff,#00ff00,#ffff00,#ff8000,#ff0000}": { - "name": "Deko Rainbow Blue-Red", - "color": "#0000ff,#00ffff,#00ff00,#ffff00,#ff8000,#ff0000", - "actions": [ - { - "hybrid": { - "ids": "Starwars,Rgbw,Bar", - "hexColors": "0000ff,00ffff,ff0000" - } - } - ] - }, - "DMX Rainbow Blue-Red {group:dmx;color:#0000ff,#00ffff,#00ff00,#ffff00,#ff8000,#ff0000}": { - "name": "DMX Rainbow Blue-Red", - "color": "#0000ff,#00ffff,#00ff00,#ffff00,#ff8000,#ff0000", - "actions": [ - { - "hybrid": { - "ids": "15,29,21,1", - "hexColors": "00ff00,808000,80ff00,ff8000" - } - } - ] - }, - "DMX Dark Blue {group:dmx;color:#000088}": { - "name": "DMX Dark Blue", - "color": "#000088", - "actions": [ - { - "hybrid": { - "ids": "15,29,21,1", - "hexColors": "000088" - } - } - ] - }, - "DMX Dark Red {group:dmx;color:#880000}": { - "name": "DMX Dark Red", - "color": "#880000", - "actions": [ - { - "hybrid": { - "ids": "15,29,21,1", - "hexColors": "880000" - } - } - ] - }, - "DMX Dark Green {group:dmx;color:#008800}": { - "name": "DMX Dark Green", - "color": "#008800", - "actions": [ - { - "hybrid": { - "ids": "15,29,21,1", - "hexColors": "00ff00" - } - } - ] - }, - "Deko Dark Red {group:deko;color:#880000}": { - "name": "Deko Dark Red", - "color": "#880000", - "actions": [ - { - "hybrid": { - "ids": "Rgbw,Starwars,Bar", - "hexColors": "ff0000" - } - } - ] - }, - "Deko Dark Green {group:deko;color:#008800}": { - "name": "Deko Dark Green", - "color": "#008800", - "actions": [ - { - "hybrid": { - "ids": "Rgbw,Starwars,Bar", - "hexColors": "0ff00f" - } - } - ] - }, - "Deko Dark Blue {group:deko;color:#000088}": { - "name": "Deko Dark Blue", - "color": "#000088", - "actions": [ - { - "hybrid": { - "ids": "Rgbw,Starwars,Bar", - "hexColors": "0000ff" - } - } - ] - }, - "DMX Black {group:dmx;color:#303030}": { - "name": "DMX Black", - "color": "#303030", - "actions": [ - { - "hybrid": { - "ids": "15,29,21,1", - "hexColors": "000000" - } - } - ] - }, - "DMX Enterprise E {group:dmx;color:#ffff80,#000088,#000088,#000088}": { - "name": "DMX Enterprise E", - "color": "#ffff80,#000088,#000088,#000088", - "actions": [ - { - "hybrid": { - "hexColors": "000088,000088,ffffcc,000088,000088,000088,000088" - } - } - ] - }, - "Licht TV {group:hidden} Trust [88D65690]": { - "name": "Licht TV", - "color": "", - "actions": [] - }, - "TV Licht Aus {group:hidden} Trust [88D65680]": { - "name": "TV Licht Aus", - "color": "", - "actions": [] - }, - "Licht Kino {group:hidden} Trust [88D65691]": { - "name": "Licht Kino", - "color": "", - "actions": [] - }, - "Deckenfluter Toggle {group:hidden} Trust [88D65681]": { - "name": "Deckenfluter Toggle", - "color": "", - "actions": [] - }, - "Stern Toggle {group:hidden} Trust [88D65692]": { - "name": "Stern Toggle", - "color": "", - "actions": [] - }, - "Kristall Toggle {group:hidden} Trust [88D65682]": { - "name": "Kristall Toggle", - "color": "", - "actions": [] - }, - "Alles Aus {group:hidden} Trust [88D656A0]": { - "name": "Alles Aus", - "color": "", - "actions": [] - } } } diff --git a/klanglicht-rest/src/main/kotlin/de/visualdigits/kotlin/klanglicht/rest/scenes/controller/ScenesRestController.kt b/klanglicht-rest/src/main/kotlin/de/visualdigits/kotlin/klanglicht/rest/scenes/controller/ScenesRestController.kt index 737e660..6ef9b51 100644 --- a/klanglicht-rest/src/main/kotlin/de/visualdigits/kotlin/klanglicht/rest/scenes/controller/ScenesRestController.kt +++ b/klanglicht-rest/src/main/kotlin/de/visualdigits/kotlin/klanglicht/rest/scenes/controller/ScenesRestController.kt @@ -1,15 +1,6 @@ package de.visualdigits.kotlin.klanglicht.rest.scenes.controller -import de.visualdigits.kotlin.klanglicht.hardware.lightmanager.model.lm.LMActionHybrid -import de.visualdigits.kotlin.klanglicht.hardware.lightmanager.model.lm.LMActionLmAir -import de.visualdigits.kotlin.klanglicht.hardware.lightmanager.model.lm.LMActionLmYamahaAvantage -import de.visualdigits.kotlin.klanglicht.hardware.lightmanager.model.lm.LMActionPause -import de.visualdigits.kotlin.klanglicht.hardware.lightmanager.model.lm.LMActionShelly -import de.visualdigits.kotlin.klanglicht.rest.configuration.ConfigHolder -import de.visualdigits.kotlin.klanglicht.rest.hybrid.service.HybridStageService -import de.visualdigits.kotlin.klanglicht.rest.lightmanager.service.LightmanagerService -import de.visualdigits.kotlin.klanglicht.rest.shelly.service.ShellyService -import de.visualdigits.kotlin.klanglicht.rest.yamahaavantage.service.YamahaAvantageService +import de.visualdigits.kotlin.klanglicht.rest.scenes.service.ScenesService import org.springframework.web.bind.annotation.GetMapping import org.springframework.web.bind.annotation.PostMapping import org.springframework.web.bind.annotation.RequestMapping @@ -17,40 +8,20 @@ import org.springframework.web.bind.annotation.RequestParam import org.springframework.web.bind.annotation.RestController @RestController -@RequestMapping("/v1/scenes/json") +@RequestMapping("/v1/scenes/json", produces = ["application/json"]) class ScenesRestController( - var shellyService: ShellyService, - var lightmanagerService: LightmanagerService, - val hybridStageService: HybridStageService, - val yamahaAvantageService: YamahaAvantageService, - val configHolder: ConfigHolder + val scenesService: ScenesService ) { - @PostMapping("control") - fun control( - @RequestParam(value = "name") name: String, - ) { - val lmScene = configHolder.scenes().scenesMap.get(name) - lmScene - ?.let { s -> - s.actions.forEach { a -> - when (a) { - is LMActionLmAir -> - lightmanagerService.controlIndex(index = a.sceneIndex) - is LMActionShelly -> - shellyService.power(ids = a.ids, turnOn = a.turnOn) - is LMActionHybrid -> - hybridStageService.hexColor(ids = a.ids, hexColors = a.hexColors, gains = a.gains) - is LMActionLmYamahaAvantage -> { - when (a.command) { - "surroundProgram" -> yamahaAvantageService.setSurroundProgram(program = a.program) - } - } - is LMActionPause -> a.duration?.let { Thread.sleep(it) } - } - } - } - } + @GetMapping("sceneNames") + fun hybrid(): Set = scenesService.sceneNames() + + + @PostMapping("control") + fun controlPost(@RequestParam(value = "name") name: String) = scenesService.executeScene(name) + + @GetMapping("control") + fun controlGet(@RequestParam(value = "name") name: String) = scenesService.executeScene(name) @GetMapping("hybrid") fun hybrid( @@ -58,11 +29,7 @@ class ScenesRestController( @RequestParam(value = "hexColors", required = false, defaultValue = "") hexColors: String, @RequestParam(value = "gains", required = false, defaultValue = "") gains: String, ) { - hybridStageService.hexColor( - ids = ids, - hexColors = hexColors, - gains = gains - ) + scenesService.hybrid(ids, hexColors, gains) } @GetMapping("shelly") @@ -71,23 +38,17 @@ class ScenesRestController( @RequestParam(value = "turnOn", required = false, defaultValue = "true") turnOn: Boolean, @RequestParam(value = "transition", required = false) transitionDuration: Long ) { - shellyService.power(ids = ids, turnOn = turnOn, transitionDuration = transitionDuration) + scenesService.shelly(ids, turnOn, transitionDuration) } @GetMapping("lmair") - fun lmair( - @RequestParam(value = "sceneIndex") sceneIndex: Int - ) { - lightmanagerService.controlIndex(index = sceneIndex) - } + fun lmair(@RequestParam(value = "sceneIndex") sceneIndex: Int) = scenesService.lmair(sceneIndex) @GetMapping("yamahaAvantage") fun yamaha( @RequestParam(value = "command") command: String, @RequestParam(value = "program") program: String ) { - when (command) { - "surroundProgram" -> yamahaAvantageService.setSurroundProgram(program = program) - } + scenesService.yamahaAvantage(command, program) } } diff --git a/klanglicht-rest/src/main/kotlin/de/visualdigits/kotlin/klanglicht/rest/scenes/service/ScenesService.kt b/klanglicht-rest/src/main/kotlin/de/visualdigits/kotlin/klanglicht/rest/scenes/service/ScenesService.kt new file mode 100644 index 0000000..e7463e9 --- /dev/null +++ b/klanglicht-rest/src/main/kotlin/de/visualdigits/kotlin/klanglicht/rest/scenes/service/ScenesService.kt @@ -0,0 +1,81 @@ +package de.visualdigits.kotlin.klanglicht.rest.scenes.service + +import de.visualdigits.kotlin.klanglicht.hardware.lightmanager.model.lm.LMActionHybrid +import de.visualdigits.kotlin.klanglicht.hardware.lightmanager.model.lm.LMActionLmAir +import de.visualdigits.kotlin.klanglicht.hardware.lightmanager.model.lm.LMActionLmYamahaAvantage +import de.visualdigits.kotlin.klanglicht.hardware.lightmanager.model.lm.LMActionPause +import de.visualdigits.kotlin.klanglicht.hardware.lightmanager.model.lm.LMActionShelly +import de.visualdigits.kotlin.klanglicht.rest.configuration.ConfigHolder +import de.visualdigits.kotlin.klanglicht.rest.hybrid.service.HybridStageService +import de.visualdigits.kotlin.klanglicht.rest.lightmanager.service.LightmanagerService +import de.visualdigits.kotlin.klanglicht.rest.shelly.service.ShellyService +import de.visualdigits.kotlin.klanglicht.rest.yamahaavantage.service.YamahaAvantageService +import org.slf4j.LoggerFactory +import org.springframework.stereotype.Service + +@Service +class ScenesService( + var shellyService: ShellyService, + var lightmanagerService: LightmanagerService, + val hybridStageService: HybridStageService, + val yamahaAvantageService: YamahaAvantageService, + val configHolder: ConfigHolder +) { + + private val log = LoggerFactory.getLogger(javaClass) + + fun executeScene(name: String) { + val lmScene = configHolder.scenes().scenesMap.get(name) + lmScene + ?.let { s -> + log.info("Executing scene '$name'...") + s.actions.forEach { action -> + log.info(" Executing action '$action'...") + when (action) { + is LMActionLmAir -> + lightmanagerService.controlIndex(index = action.sceneIndex) + + is LMActionShelly -> + shellyService.power(ids = action.ids, turnOn = action.turnOn) + + is LMActionHybrid -> + hybridStageService.hexColor(ids = action.ids, hexColors = action.hexColors, gains = action.gains) + + is LMActionLmYamahaAvantage -> { + when (action.command) { + "surroundProgram" -> yamahaAvantageService.setSurroundProgram(program = action.program) + } + } + + is LMActionPause -> action.duration?.let { Thread.sleep(it) } + } + } + }?:also { + log.info("No scene with name '$name'") + } + } + + fun sceneNames(): Set = configHolder.scenes().scenesMap.keys + + fun hybrid(ids: String, hexColors: String, gains: String) { + hybridStageService.hexColor( + ids = ids, + hexColors = hexColors, + gains = gains + ) + } + + fun shelly(ids: String, turnOn: Boolean, transitionDuration: Long) { + shellyService.power(ids = ids, turnOn = turnOn, transitionDuration = transitionDuration) + } + + fun lmair(sceneIndex: Int) { + lightmanagerService.controlIndex(index = sceneIndex) + } + + fun yamahaAvantage(command: String, program: String) { + when (command) { + "surroundProgram" -> yamahaAvantageService.setSurroundProgram(program = program) + } + } +}