Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[philips-hue] Add LCT003 #930

Merged
merged 11 commits into from
Nov 9, 2020
1 change: 1 addition & 0 deletions server/services/philips-hue/lib/light/light.getLights.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@ async function getLights() {
case 'CLA60 TW OSRAM': // CLA60 TW OSRAM
case 'LLC020': // Hue go
case 'LCT012': // Hue White and Color Ambiance Candle E12
case 'LCT003': // Hue White and Color Ambiance Spot GU10
lightsToReturn.push(getPhilipsHueColorTemperatureLight(philipsHueLight, serialNumber, this.serviceId));
break;
case 'LLC001': // LivingColor lamp 2nd generation
Expand Down
57 changes: 57 additions & 0 deletions server/test/services/philips-hue/lights.json
Original file line number Diff line number Diff line change
Expand Up @@ -1676,6 +1676,63 @@
},
"_id": 33,
"id": 33
},
{
"state": {
"on": false,
"bri": 16,
"hue": 62343,
"sat": 30,
"effect": "none",
"xy": [0.4048, 0.3646],
"ct": 283,
"alert": "none",
"colormode": "xy",
"mode": "homeautomation",
"reachable": true
},
"swupdate": {
"state": "noupdates",
"lastinstall": "2020-06-13T17:34:02"
},
"type": "Extended color light",
"name": "Spot 1",
"modelid": "LCT003",
"manufacturername": "Signify Netherlands B.V.",
"productname": "Hue color spot",
"_rawData": {
"capabilities": {
"certified": true,
"control": {
"mindimlevel": 5000,
"maxlumen": 250,
"colorgamuttype": "B",
"colorgamut": [[0.675, 0.322], [0.409, 0.518], [0.167, 0.04]],
"ct": {
"min": 153,
"max": 500
}
},
"streaming": {
"renderer": true,
"proxy": true
}
},
"config": {
"archetype": "spotbulb",
"function": "mixed",
"direction": "downwards",
"startup": {
"mode": "safety",
"configured": true
}
},
"uniqueid": "00:17:88:01:02:5e:7b:e4-0b",
"swversion": "5.130.1.30000"
},
"_id": 34,
"id": 34,
"mappedColorGamut": "B"
}
]
}