diff --git a/db/group.json b/db/group.json index bd951a5..858b5d0 100644 --- a/db/group.json +++ b/db/group.json @@ -1,17 +1 @@ -{ - "1": { - "name": "Main Group", - "devices": [ - "1", - "2", - "3" - ] - }, - "2": { - "name": "Accent Group", - "devices": [ - "4", - "5" - ] - } -} +{"1": {"name": "Main Group", "devices": ["1", "2", "3"]}, "2": {"name": "Accent Group", "devices": ["4", "5"]}} \ No newline at end of file diff --git a/db/palette.json b/db/palette.json index b71dcd5..5163336 100644 --- a/db/palette.json +++ b/db/palette.json @@ -1,12 +1 @@ -{ - "1": [ - "#FF0000", - "#00FF00", - "#0000FF", - "#FFFF00", - "#FF00FF", - "#00FFFF", - "#FFFFFF", - "#000000" - ] -} +{"1": ["#FF0000", "#00FF00", "#0000FF", "#FFFF00", "#FF00FF", "#00FFFF", "#FFFFFF", "#000000"], "2": [], "3": [], "4": []} \ No newline at end of file diff --git a/db/preset.json b/db/preset.json index 77971ef..19024f0 100644 --- a/db/preset.json +++ b/db/preset.json @@ -1,276 +1 @@ -{ - "1": { - "name": "on", - "pattern": "on", - "colors": [ - "#FFFFFF" - ], - "brightness": 255, - "delay": 100, - "auto": true, - "n1": 0, - "n2": 0, - "n3": 0, - "n4": 0, - "n5": 0, - "n6": 0, - "n7": 0, - "n8": 0, - "profile_id": "1" - }, - "2": { - "name": "off", - "pattern": "off", - "colors": [], - "brightness": 0, - "delay": 100, - "auto": true, - "n1": 0, - "n2": 0, - "n3": 0, - "n4": 0, - "n5": 0, - "n6": 0, - "n7": 0, - "n8": 0, - "profile_id": "1" - }, - "3": { - "name": "rainbow", - "pattern": "rainbow", - "colors": [], - "brightness": 255, - "delay": 100, - "auto": true, - "n1": 2, - "n2": 0, - "n3": 0, - "n4": 0, - "n5": 0, - "n6": 0, - "n7": 0, - "n8": 0, - "profile_id": "1" - }, - "4": { - "name": "transition", - "pattern": "transition", - "colors": [ - "#FF0000", - "#00FF00", - "#0000FF" - ], - "brightness": 255, - "delay": 500, - "auto": true, - "n1": 0, - "n2": 0, - "n3": 0, - "n4": 0, - "n5": 0, - "n6": 0, - "n7": 0, - "n8": 0, - "profile_id": "1" - }, - "5": { - "name": "chase", - "pattern": "chase", - "colors": [ - "#FF0000", - "#0000FF" - ], - "brightness": 255, - "delay": 200, - "auto": true, - "n1": 5, - "n2": 5, - "n3": 1, - "n4": 1, - "n5": 0, - "n6": 0, - "n7": 0, - "n8": 0, - "profile_id": "1" - }, - "6": { - "name": "pulse", - "pattern": "pulse", - "colors": [ - "#00FF00" - ], - "brightness": 255, - "delay": 500, - "auto": true, - "n1": 1000, - "n2": 500, - "n3": 1000, - "n4": 0, - "n5": 0, - "n6": 0, - "n7": 0, - "n8": 0, - "profile_id": "1" - }, - "7": { - "name": "circle", - "pattern": "circle", - "colors": [ - "#FFA500", - "#800080" - ], - "brightness": 255, - "delay": 200, - "auto": true, - "n1": 2, - "n2": 10, - "n3": 2, - "n4": 5, - "n5": 0, - "n6": 0, - "n7": 0, - "n8": 0, - "profile_id": "1" - }, - "8": { - "name": "blink", - "pattern": "blink", - "colors": [ - "#FF0000", - "#00FF00", - "#0000FF", - "#FFFF00" - ], - "brightness": 255, - "delay": 1000, - "auto": true, - "n1": 0, - "n2": 0, - "n3": 0, - "n4": 0, - "n5": 0, - "n6": 0, - "n7": 0, - "n8": 0, - "profile_id": "1" - }, - "9": { - "name": "warm white", - "pattern": "on", - "colors": ["#FFF5E6"], - "brightness": 200, - "delay": 100, - "auto": true, - "n1": 0, - "n2": 0, - "n3": 0, - "n4": 0, - "n5": 0, - "n6": 0, - "n7": 0, - "n8": 0, - "profile_id": "1" - }, - "10": { - "name": "cool white", - "pattern": "on", - "colors": ["#E6F2FF"], - "brightness": 200, - "delay": 100, - "auto": true, - "n1": 0, - "n2": 0, - "n3": 0, - "n4": 0, - "n5": 0, - "n6": 0, - "n7": 0, - "n8": 0, - "profile_id": "1" - }, - "11": { - "name": "red", - "pattern": "on", - "colors": ["#FF0000"], - "brightness": 255, - "delay": 100, - "auto": true, - "n1": 0, - "n2": 0, - "n3": 0, - "n4": 0, - "n5": 0, - "n6": 0, - "n7": 0, - "n8": 0, - "profile_id": "1" - }, - "12": { - "name": "blue", - "pattern": "on", - "colors": ["#0000FF"], - "brightness": 255, - "delay": 100, - "auto": true, - "n1": 0, - "n2": 0, - "n3": 0, - "n4": 0, - "n5": 0, - "n6": 0, - "n7": 0, - "n8": 0, - "profile_id": "1" - }, - "13": { - "name": "rainbow slow", - "pattern": "rainbow", - "colors": [], - "brightness": 255, - "delay": 150, - "auto": true, - "n1": 1, - "n2": 0, - "n3": 0, - "n4": 0, - "n5": 0, - "n6": 0, - "n7": 0, - "n8": 0, - "profile_id": "1" - }, - "14": { - "name": "pulse slow", - "pattern": "pulse", - "colors": ["#FF6600"], - "brightness": 255, - "delay": 800, - "auto": true, - "n1": 2000, - "n2": 1000, - "n3": 2000, - "n4": 0, - "n5": 0, - "n6": 0, - "n7": 0, - "n8": 0, - "profile_id": "1" - }, - "15": { - "name": "blink red green", - "pattern": "blink", - "colors": ["#FF0000", "#00FF00"], - "brightness": 255, - "delay": 500, - "auto": true, - "n1": 0, - "n2": 0, - "n3": 0, - "n4": 0, - "n5": 0, - "n6": 0, - "n7": 0, - "n8": 0, - "profile_id": "1" - } -} \ No newline at end of file +{"1": {"name": "on", "pattern": "on", "colors": ["#FFFFFF"], "brightness": 255, "delay": 100, "auto": true, "n1": 0, "n2": 0, "n3": 0, "n4": 0, "n5": 0, "n6": 0, "n7": 0, "n8": 0, "profile_id": "1"}, "2": {"name": "off", "pattern": "off", "colors": [], "brightness": 0, "delay": 100, "auto": true, "n1": 0, "n2": 0, "n3": 0, "n4": 0, "n5": 0, "n6": 0, "n7": 0, "n8": 0, "profile_id": "1"}, "3": {"name": "rainbow", "pattern": "rainbow", "colors": [], "brightness": 255, "delay": 100, "auto": true, "n1": 2, "n2": 0, "n3": 0, "n4": 0, "n5": 0, "n6": 0, "n7": 0, "n8": 0, "profile_id": "1"}, "4": {"name": "transition", "pattern": "transition", "colors": ["#FF0000", "#00FF00", "#0000FF"], "brightness": 255, "delay": 500, "auto": true, "n1": 0, "n2": 0, "n3": 0, "n4": 0, "n5": 0, "n6": 0, "n7": 0, "n8": 0, "profile_id": "1"}, "5": {"name": "chase", "pattern": "chase", "colors": ["#FF0000", "#0000FF"], "brightness": 255, "delay": 200, "auto": true, "n1": 5, "n2": 5, "n3": 1, "n4": 1, "n5": 0, "n6": 0, "n7": 0, "n8": 0, "profile_id": "1"}, "6": {"name": "pulse", "pattern": "pulse", "colors": ["#00FF00"], "brightness": 255, "delay": 500, "auto": true, "n1": 1000, "n2": 500, "n3": 1000, "n4": 0, "n5": 0, "n6": 0, "n7": 0, "n8": 0, "profile_id": "1"}, "7": {"name": "circle", "pattern": "circle", "colors": ["#FFA500", "#800080"], "brightness": 255, "delay": 200, "auto": true, "n1": 2, "n2": 10, "n3": 2, "n4": 5, "n5": 0, "n6": 0, "n7": 0, "n8": 0, "profile_id": "1"}, "8": {"name": "blink", "pattern": "blink", "colors": ["#FF0000", "#00FF00", "#0000FF", "#FFFF00"], "brightness": 255, "delay": 1000, "auto": true, "n1": 0, "n2": 0, "n3": 0, "n4": 0, "n5": 0, "n6": 0, "n7": 0, "n8": 0, "profile_id": "1"}, "9": {"name": "warm white", "pattern": "on", "colors": ["#FFF5E6"], "brightness": 200, "delay": 100, "auto": true, "n1": 0, "n2": 0, "n3": 0, "n4": 0, "n5": 0, "n6": 0, "n7": 0, "n8": 0, "profile_id": "1"}, "10": {"name": "cool white", "pattern": "on", "colors": ["#E6F2FF"], "brightness": 200, "delay": 100, "auto": true, "n1": 0, "n2": 0, "n3": 0, "n4": 0, "n5": 0, "n6": 0, "n7": 0, "n8": 0, "profile_id": "1"}, "11": {"name": "red", "pattern": "on", "colors": ["#FF0000"], "brightness": 255, "delay": 100, "auto": true, "n1": 0, "n2": 0, "n3": 0, "n4": 0, "n5": 0, "n6": 0, "n7": 0, "n8": 0, "profile_id": "1"}, "12": {"name": "blue", "pattern": "on", "colors": ["#0000FF"], "brightness": 255, "delay": 100, "auto": true, "n1": 0, "n2": 0, "n3": 0, "n4": 0, "n5": 0, "n6": 0, "n7": 0, "n8": 0, "profile_id": "1"}, "13": {"name": "rainbow slow", "pattern": "rainbow", "colors": [], "brightness": 255, "delay": 150, "auto": true, "n1": 1, "n2": 0, "n3": 0, "n4": 0, "n5": 0, "n6": 0, "n7": 0, "n8": 0, "profile_id": "1"}, "14": {"name": "pulse slow", "pattern": "pulse", "colors": ["#FF6600"], "brightness": 255, "delay": 800, "auto": true, "n1": 2000, "n2": 1000, "n3": 2000, "n4": 0, "n5": 0, "n6": 0, "n7": 0, "n8": 0, "profile_id": "1"}, "15": {"name": "blink red green", "pattern": "blink", "colors": ["#FF0000", "#00FF00"], "brightness": 255, "delay": 500, "auto": true, "n1": 0, "n2": 0, "n3": 0, "n4": 0, "n5": 0, "n6": 0, "n7": 0, "n8": 0, "profile_id": "1"}} \ No newline at end of file diff --git a/db/profile.json b/db/profile.json index a86e463..f3f8f2b 100644 --- a/db/profile.json +++ b/db/profile.json @@ -1,11 +1 @@ -{ - "1": { - "name": "default", - "type": "tabs", - "tabs": [ - "1" - ], - "scenes": [], - "palette_id": "1" - } -} \ No newline at end of file +{"1": {"name": "default", "type": "tabs", "tabs": ["1"], "scenes": [], "palette_id": "1"}} \ No newline at end of file diff --git a/db/sequence.json b/db/sequence.json index 3ab32bf..fee2521 100644 --- a/db/sequence.json +++ b/db/sequence.json @@ -1,30 +1 @@ -{ - "1": { - "group_name": "Main Group", - "presets": [ - "1", - "2" - ], - "sequence_duration": 3000, - "sequence_transition": 500, - "sequence_loop": true, - "sequence_repeat_count": 0, - "sequence_active": false, - "sequence_index": 0, - "sequence_start_time": 0 - }, - "2": { - "group_name": "Accent Group", - "presets": [ - "2", - "3" - ], - "sequence_duration": 2000, - "sequence_transition": 300, - "sequence_loop": true, - "sequence_repeat_count": 0, - "sequence_active": false, - "sequence_index": 0, - "sequence_start_time": 0 - } -} +{"1": {"group_name": "Main Group", "presets": ["1", "2"], "sequence_duration": 3000, "sequence_transition": 500, "sequence_loop": true, "sequence_repeat_count": 0, "sequence_active": false, "sequence_index": 0, "sequence_start_time": 0}, "2": {"group_name": "Accent Group", "presets": ["2", "3"], "sequence_duration": 2000, "sequence_transition": 300, "sequence_loop": true, "sequence_repeat_count": 0, "sequence_active": false, "sequence_index": 0, "sequence_start_time": 0}} \ No newline at end of file diff --git a/db/tab.json b/db/tab.json index aa03731..6144539 100644 --- a/db/tab.json +++ b/db/tab.json @@ -1,27 +1 @@ -{ - "1": { - "name": "default", - "names": [ - "1","2","3","4","5","6","7","8" - ], - "presets": [ - [ - "1", - "2", - "3", - "4", - "5", - "6", - "7", - "8", - "9", - "10", - "11", - "12", - "13", - "14", - "15" - ] - ] - } -} \ No newline at end of file +{"1": {"name": "default", "names": ["1", "2", "3", "4", "5", "6", "7", "8", "0", "a"], "presets": [["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12", "13", "14", "15"]]}} \ No newline at end of file