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] Adding device LOM001 #941

Merged
merged 3 commits into from
Nov 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 @@ -66,6 +66,7 @@ async function getLights() {
case 'LTA001': // Hue White E27 with Bluetooth
lightsToReturn.push(getPhilipsHueWhiteTemperatureLight(philipsHueLight, serialNumber, this.serviceId));
break;
case 'LOM001': // Hue Smart Plug On/Off
case 'LOM002': // Hue Smart Plug On/Off
case 'SP 120': // Innr Smart Plug On/Off
case 'Plug 01': // OSRAM Plug
Expand Down
42 changes: 42 additions & 0 deletions server/test/services/philips-hue/lights.json
Original file line number Diff line number Diff line change
Expand Up @@ -1733,6 +1733,48 @@
"_id": 34,
"id": 34,
"mappedColorGamut": "B"
},
{
"_rawData": {
"state": {
"on": false,
"alert": "select",
"mode": "homeautomation",
"reachable": true
},
"swupdate": {
"state": "noupdates",
"lastinstall": "2020-02-04T21:24:15"
},
"type": "On/Off plug-in unit",
"name": "Cuisine",
"modelid": "LOM001",
"manufacturername": "Signify Netherlands B.V.",
"productname": "Hue Smart plug",
"capabilities": {
"certified": true,
"control": {},
"streaming": {
"renderer": false,
"proxy": false
}
},
"config": {
"archetype": "plug",
"function": "functional",
"direction": "omnidirectional",
"startup": {
"mode": "safety",
"configured": true
}
},
"uniqueid": "00:17:88:01:08:04:12:af-0b",
"swversion": "1.65.9_hB3217DF",
"swconfigid": "A641B5AB",
"productid": "SmartPlug_OnOff_v01-00_01"
},
"_id": 35,
"id": 35
}
]
}