From b7db4599e0e6dc2e90c7690699c3ac384a26df02 Mon Sep 17 00:00:00 2001 From: Jon Date: Sat, 16 Dec 2023 10:17:20 +0000 Subject: [PATCH] Add in support for additional LIFX Downlights Add in support for additional LIFX Downlight Intl (121) and LIFX Downlight US (122) --- LIFX.indigoPlugin/Contents/Info.plist | 2 +- .../Server Plugin/lifxlan/products.py | 29 ++++++++++++++++++- 2 files changed, 29 insertions(+), 2 deletions(-) diff --git a/LIFX.indigoPlugin/Contents/Info.plist b/LIFX.indigoPlugin/Contents/Info.plist index ee10f5b..9b0a1e7 100755 --- a/LIFX.indigoPlugin/Contents/Info.plist +++ b/LIFX.indigoPlugin/Contents/Info.plist @@ -3,7 +3,7 @@ PluginVersion - 2022.0.4 + 2023.0.1 ServerApiVersion 3.0 IwsApiVersion diff --git a/LIFX.indigoPlugin/Contents/Server Plugin/lifxlan/products.py b/LIFX.indigoPlugin/Contents/Server Plugin/lifxlan/products.py index aabcb94..5280bb1 100755 --- a/LIFX.indigoPlugin/Contents/Server Plugin/lifxlan/products.py +++ b/LIFX.indigoPlugin/Contents/Server Plugin/lifxlan/products.py @@ -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", @@ -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] @@ -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,