Matthew Frost
f1d601e5ea
All checks were successful
Deploy powerbar.ti Frontend Portal / Deploy-Tinance2-Frontend-Portal-Production (push) Successful in 6s
78 lines
2.9 KiB
Python
78 lines
2.9 KiB
Python
groups = [
|
|
{
|
|
"name" : "All Space Lights",
|
|
"devices" : [ { "powerbar" : "powerbar-main-space", "outlets" : [ 5, 6, 7, 8, 10, 11, 12, 15 ] },
|
|
{ "powerbar" : "powerbar-aux-space", "outlets" : [ 1, 17, 13] }],
|
|
},
|
|
{
|
|
"name" : "Main Space Lights",
|
|
"devices" : [ { "powerbar" : "powerbar-main-space", "outlets" : [ 5, 6, 7, 8, 10, 11, 12, 15 ] } ],
|
|
},
|
|
{
|
|
"name" : "Aux Space Lights",
|
|
"devices" : [ { "powerbar": "powerbar-aux-space", "outlets" : [ 1, 17, 13] } ],
|
|
},
|
|
{
|
|
"name" : "Solder Lane",
|
|
"devices" : [ { "powerbar": "powerbar-aux-space", "outlets" : [ 4 ] } ],
|
|
},
|
|
{
|
|
"name" : "3D Printers",
|
|
"devices" : [ { "powerbar": "powerbar-main-space", "outlets" : [ 9 ] } ],
|
|
},
|
|
{
|
|
"name" : "Laser Cutter",
|
|
"devices" : [ { "powerbar": "powerbar-main-space", "outlets" : [ 19 ] } ],
|
|
},
|
|
|
|
]
|
|
|
|
powerbars = {
|
|
"powerbar-aux-space" : {
|
|
"name" : "Powerbar Aux Space",
|
|
"host" : "10.209.10.111",
|
|
"port" : 3696,
|
|
"type" : "baytech",
|
|
"description" : "Powerbar Controlling Aux Space",
|
|
"outlets" : {
|
|
1 : { "name" : "Aux Main Table Light" },
|
|
4 : { "name" : "Power solderlane" },
|
|
# 7: { "name" : "Broken permanent on. Plotter + computer" },
|
|
# 10: { "name" : "Power main table" },
|
|
13 : { "name" : "Solder Lane Top Light Right" },
|
|
# 15 : { "name" : "Broken permanent on. PoE adapter wifi" },
|
|
17 : { "name" : "Solder Lane Top Light Left" },
|
|
# 19 : { "name" : "Broken-ish leds entry aux-space" },
|
|
20 : { "name" : "Power extension cord top shelf near glass room" },
|
|
}
|
|
},
|
|
|
|
"powerbar-main-space" : {
|
|
"name" : "Powerbar Main Space",
|
|
"host" : "10.209.10.111",
|
|
"port" : 3697,
|
|
"type" : "baytech",
|
|
"description" : "Powerbar Controlling Main Space",
|
|
"outlets" : {
|
|
9 : { "name" : "3D Printers" },
|
|
19 : { "name" : "Laser Cutter" },
|
|
4 : { "name" : "LIGHT_MAKERTABLE" },
|
|
5 : { "name" : "LIGHT_TABLE" },
|
|
6 : { "name" : "LIGHT_HAM" },
|
|
7 : { "name" : "LIGHT_ENTRANCE" },
|
|
8 : { "name" : "LIGHT_KITCHEN" },
|
|
10 : { "name" : "LIGHT_SOFA" },
|
|
11 : { "name" : "LIGHT_KITCHEN_SPOTS" },
|
|
12 : { "name" : "LEDWALL" },
|
|
13 : { "name" : "AUDIO_AMPLIFIER" },
|
|
14 : { "name" : "AUDIO_MIXER" },
|
|
15 : { "name" : "LIGHT_MAKERLANE" },
|
|
16 : { "name" : "RADIO_LANE_CTRL_OUTLETS" },
|
|
17 : { "name" : "MONITOR_3D_1" },
|
|
18 : { "name" : "MONITOR_3D_2" },
|
|
20 : { "name" : "MONITOR_AV_2" },
|
|
}
|
|
}
|
|
}
|
|
|
|
|