Skip to content

Commit

Permalink
Add in support for additional LIFX Downlights
Browse files Browse the repository at this point in the history
Add in support for additional LIFX Downlight Intl (121) and LIFX Downlight US (122)
  • Loading branch information
autolog committed Dec 16, 2023
1 parent c636849 commit b7db459
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 2 deletions.
2 changes: 1 addition & 1 deletion LIFX.indigoPlugin/Contents/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<plist version="1.0">
<dict>
<key>PluginVersion</key>
<string>2022.0.4</string>
<string>2023.0.1</string>
<key>ServerApiVersion</key>
<string>3.0</string>
<key>IwsApiVersion</key>
Expand Down
29 changes: 28 additions & 1 deletion LIFX.indigoPlugin/Contents/Server Plugin/lifxlan/products.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,8 @@
118: "LIFX Z Intl",
119: "LIFX Beam US",
120: "LIFX Beam Intl",
121: "LIFX Downlight Intl",
122: "LIFX Downlight US",
123: "LIFX Color US",
124: "LIFX Color Intl",
125: "LIFX White to Warm US",
Expand All @@ -93,7 +95,8 @@
# Identifies which products are lights.
light_products = [1, 3, 10, 11, 15, 18, 19, 20, 22, 27, 28, 29, 30, 31, 32, 36, 37, 38, 39, 40, 43, 44, 45, 46, 49,
50, 51, 52, 53, 55, 57, 59, 60, 61, 62, 63, 64, 65, 66, 68, 81, 82, 85, 87, 88, 90, 91, 92, 93, 94, 96, 97, 98, 99,
100, 101, 109, 110, 111, 112, 113, 114, 117, 118, 119, 120, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138]
100, 101, 109, 110, 111, 112, 113, 114, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129,
130, 131, 132, 133, 134, 135, 136, 137, 138]

# Identifies which products are switches.
switch_products = [70, 71, 89, 115, 116]
Expand Down Expand Up @@ -951,6 +954,30 @@
"hev": False,
"relays": False,
"buttons": False},
121: { # LIFX Downlight Intl
"color": True,
"temperature": True,
"infrared": False,
"multizone": False,
"chain": False,
"matrix": False,
"min_kelvin": 1500,
"max_kelvin": 9000,
"hev": False,
"relays": False,
"buttons": False},
122: { # LIFX Downlight US
"color": True,
"temperature": True,
"infrared": False,
"multizone": False,
"chain": False,
"matrix": False,
"min_kelvin": 1500,
"max_kelvin": 9000,
"hev": False,
"relays": False,
"buttons": False},
123: { # LIFX Color US
"color": True,
"temperature": True,
Expand Down

0 comments on commit b7db459

Please sign in to comment.