forked from openhab/openhab-addons
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add Philips Eyecare 2 & improve Yeelight 650 (openhab#8)
Signed-off-by: Dieter Schmidt <[email protected]>
- Loading branch information
Showing
6 changed files
with
189 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
88 changes: 88 additions & 0 deletions
88
addons/binding/org.openhab.binding.miio/database/philips.light.sread1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,88 @@ | ||
{ | ||
"deviceMapping": { | ||
"id": [ | ||
"philips.light.sread1" | ||
], | ||
"channels": [ | ||
{ | ||
"property": "power", | ||
"friendlyName": "Power", | ||
"channel": "power", | ||
"type": "Switch", | ||
"refresh": true, | ||
"ChannelGroup": "", | ||
"actions": [ | ||
{ | ||
"command": "set_power", | ||
"parameterType": "ONOFF" | ||
} | ||
] | ||
}, | ||
{ | ||
"property": "bright", | ||
"friendlyName": "Brightness", | ||
"channel": "brightness", | ||
"type": "Number", | ||
"refresh": true, | ||
"ChannelGroup": "actions", | ||
"actions": [ | ||
{ | ||
"command": "set_bright", | ||
"parameterType": "NUMBER" | ||
} | ||
] | ||
}, | ||
{ | ||
"property": "ambstatus", | ||
"friendlyName": "Ambient Power", | ||
"channel": "ambientPower", | ||
"type": "Switch", | ||
"refresh": true, | ||
"ChannelGroup": "actions", | ||
"actions": [ | ||
{ | ||
"command": "enable_amb", | ||
"parameterType": "ONOFF" | ||
} | ||
] | ||
}, | ||
{ | ||
"property": "ambvalue", | ||
"friendlyName": "Ambient Brightness", | ||
"channel": "ambientBrightness", | ||
"type": "Number", | ||
"refresh": true, | ||
"ChannelGroup": "actions", | ||
"actions": [ | ||
{ | ||
"command": "set_amb_bright", | ||
"parameterType": "NUMBER" | ||
} | ||
] | ||
}, | ||
{ | ||
"property": "dvalue", | ||
"friendlyName": "Ambient Illumination", | ||
"channel": "illumination", | ||
"type": "Number", | ||
"refresh": true, | ||
"ChannelGroup": "", | ||
"actions": [] | ||
}, | ||
{ | ||
"property": "eyecare", | ||
"friendlyName": "Eyecare", | ||
"channel": "eyecare", | ||
"type": "Switch", | ||
"refresh": true, | ||
"ChannelGroup": "actions", | ||
"actions": [ | ||
{ | ||
"command": "set_eyecare", | ||
"parameterType": "ONOFF" | ||
} | ||
] | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters