[miio] Miio philips miot lights (#8699)

* [miio] add Philips miot ceiling lights

adding models
philips.light.dlight
philips.light.mceil
philips.light.mceilm
philips.light.mceils
philips.light.obceil
philips.light.obceim
philips.light.obceis
philips.light.xzceil
philips.light.xzceim
philips.light.xzceis
philips.light.sceil
philips.light.sceilm
philips.light.sceils

* [miio] change name downlight

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
This commit is contained in:
Marcel 2020-10-09 05:14:51 +02:00 committed by GitHub
parent 082a3c2555
commit bf72bd2ce3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 634 additions and 0 deletions

View File

@ -163,6 +163,19 @@ or in case of unknown models include the model information e.g.:
| Philips Light | miio:basic | [philips.light.lrceiling](#philips-light-lrceiling) | Yes | Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses |
| Xiaomi PHILIPS Zhirui Smart LED Bulb E14 Candle Lamp White Crystal | miio:basic | [philips.light.candle2](#philips-light-candle2) | Yes | |
| philips.light.mono1 | miio:basic | [philips.light.mono1](#philips-light-mono1) | Yes | |
| Light | miio:basic | [philips.light.dlight](#philips-light-dlight) | Yes | Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses |
| Philips Ceiling Light | miio:basic | [philips.light.mceil](#philips-light-mceil) | Yes | Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses |
| Philips Ceiling Light | miio:basic | [philips.light.mceilm](#philips-light-mceilm) | Yes | Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses |
| Philips Ceiling Light | miio:basic | [philips.light.mceils](#philips-light-mceils) | Yes | Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses |
| Philips Ceiling Light | miio:basic | [philips.light.obceil](#philips-light-obceil) | Yes | Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses |
| Philips Ceiling Light | miio:basic | [philips.light.obceim](#philips-light-obceim) | Yes | Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses |
| Philips Ceiling Light | miio:basic | [philips.light.obceis](#philips-light-obceis) | Yes | Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses |
| Philips Ceiling Light | miio:basic | [philips.light.sceil](#philips-light-sceil) | Yes | Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses |
| Philips Ceiling Light | miio:basic | [philips.light.sceilm](#philips-light-sceilm) | Yes | Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses |
| Philips Ceiling Light | miio:basic | [philips.light.sceils](#philips-light-sceils) | Yes | Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses |
| Philips Ceiling Light | miio:basic | [philips.light.xzceil](#philips-light-xzceil) | Yes | Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses |
| Philips Ceiling Light | miio:basic | [philips.light.xzceim](#philips-light-xzceim) | Yes | Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses |
| Philips Ceiling Light | miio:basic | [philips.light.xzceis](#philips-light-xzceis) | Yes | Experimental support. Please report back if all channels are functional. Preferably share the debug log of property refresh and command responses |
| philips.light.virtual | miio:basic | [philips.light.virtual](#philips-light-virtual) | Yes | |
| philips.light.zysread | miio:basic | [philips.light.zysread](#philips-light-zysread) | Yes | |
| philips.light.zystrip | miio:basic | [philips.light.zystrip](#philips-light-zystrip) | Yes | |
@ -1381,6 +1394,201 @@ e.g. `smarthome:send actionCommand 'upd_timer["1498595904821", "on"]'` would ena
| brightness | Dimmer | Brightness | |
| scene | Number | Scene | |
### Light (<a name="philips-light-dlight">philips.light.dlight</a>) Channels
| Channel | Type | Description | Comment |
|------------------|---------|-------------------------------------|------------|
| on | Switch | Power | |
| mode | Number | Mode | |
| brightness | Number | Brightness | |
| cct | Number | Color Temperature | |
| dv | Number | Delayed Turn-off | |
| WallSceneEn | Switch | Wall Scene Enable | |
| WallScene | String | Wall Scene | |
| autoCct | String | Auto CCT | |
| dimmingPeriod | Number | Dimming Period | |
| MibandStatus | String | Mi Band Status | |
### Philips Ceiling Light (<a name="philips-light-mceil">philips.light.mceil</a>) Channels
| Channel | Type | Description | Comment |
|------------------|---------|-------------------------------------|------------|
| on | Switch | Power | |
| mode | Number | Mode | |
| brightness | Number | Brightness | |
| cct | Number | Color Temperature | |
| dv | Number | Delayed Turn-off | |
| WallSceneEn | Switch | Wall Scene Enable | |
| WallScene | String | Wall Scene | |
| autoCct | String | Auto CCT | |
| dimmingPeriod | Number | Dimming Period | |
| MibandStatus | String | Mi Band Status | |
### Philips Ceiling Light (<a name="philips-light-mceilm">philips.light.mceilm</a>) Channels
| Channel | Type | Description | Comment |
|------------------|---------|-------------------------------------|------------|
| on | Switch | Power | |
| mode | Number | Mode | |
| brightness | Number | Brightness | |
| cct | Number | Color Temperature | |
| dv | Number | Delayed Turn-off | |
| WallSceneEn | Switch | Wall Scene Enable | |
| WallScene | String | Wall Scene | |
| autoCct | String | Auto CCT | |
| dimmingPeriod | Number | Dimming Period | |
| MibandStatus | String | Mi Band Status | |
### Philips Ceiling Light (<a name="philips-light-mceils">philips.light.mceils</a>) Channels
| Channel | Type | Description | Comment |
|------------------|---------|-------------------------------------|------------|
| on | Switch | Power | |
| mode | Number | Mode | |
| brightness | Number | Brightness | |
| cct | Number | Color Temperature | |
| dv | Number | Delayed Turn-off | |
| WallSceneEn | Switch | Wall Scene Enable | |
| WallScene | String | Wall Scene | |
| autoCct | String | Auto CCT | |
| dimmingPeriod | Number | Dimming Period | |
| MibandStatus | String | Mi Band Status | |
### Philips Ceiling Light (<a name="philips-light-obceil">philips.light.obceil</a>) Channels
| Channel | Type | Description | Comment |
|------------------|---------|-------------------------------------|------------|
| on | Switch | Power | |
| mode | Number | Mode | |
| brightness | Number | Brightness | |
| cct | Number | Color Temperature | |
| dv | Number | Delayed Turn-off | |
| WallSceneEn | Switch | Wall Scene Enable | |
| WallScene | String | Wall Scene | |
| autoCct | String | Auto CCT | |
| dimmingPeriod | Number | Dimming Period | |
| MibandStatus | String | Mi Band Status | |
### Philips Ceiling Light (<a name="philips-light-obceim">philips.light.obceim</a>) Channels
| Channel | Type | Description | Comment |
|------------------|---------|-------------------------------------|------------|
| on | Switch | Power | |
| mode | Number | Mode | |
| brightness | Number | Brightness | |
| cct | Number | Color Temperature | |
| dv | Number | Delayed Turn-off | |
| WallSceneEn | Switch | Wall Scene Enable | |
| WallScene | String | Wall Scene | |
| autoCct | String | Auto CCT | |
| dimmingPeriod | Number | Dimming Period | |
| MibandStatus | String | Mi Band Status | |
### Philips Ceiling Light (<a name="philips-light-obceis">philips.light.obceis</a>) Channels
| Channel | Type | Description | Comment |
|------------------|---------|-------------------------------------|------------|
| on | Switch | Power | |
| mode | Number | Mode | |
| brightness | Number | Brightness | |
| cct | Number | Color Temperature | |
| dv | Number | Delayed Turn-off | |
| WallSceneEn | Switch | Wall Scene Enable | |
| WallScene | String | Wall Scene | |
| autoCct | String | Auto CCT | |
| dimmingPeriod | Number | Dimming Period | |
| MibandStatus | String | Mi Band Status | |
### Philips Ceiling Light (<a name="philips-light-sceil">philips.light.sceil</a>) Channels
| Channel | Type | Description | Comment |
|------------------|---------|-------------------------------------|------------|
| on | Switch | Power | |
| mode | Number | Mode | |
| brightness | Number | Brightness | |
| cct | Number | Color Temperature | |
| dv | Number | Delayed Turn-off | |
| WallSceneEn | Switch | Wall Scene Enable | |
| WallScene | String | Wall Scene | |
| autoCct | String | Auto CCT | |
| dimmingPeriod | Number | Dimming Period | |
| MibandStatus | String | Mi Band Status | |
### Philips Ceiling Light (<a name="philips-light-sceilm">philips.light.sceilm</a>) Channels
| Channel | Type | Description | Comment |
|------------------|---------|-------------------------------------|------------|
| on | Switch | Power | |
| mode | Number | Mode | |
| brightness | Number | Brightness | |
| cct | Number | Color Temperature | |
| dv | Number | Delayed Turn-off | |
| WallSceneEn | Switch | Wall Scene Enable | |
| WallScene | String | Wall Scene | |
| autoCct | String | Auto CCT | |
| dimmingPeriod | Number | Dimming Period | |
| MibandStatus | String | Mi Band Status | |
### Philips Ceiling Light (<a name="philips-light-sceils">philips.light.sceils</a>) Channels
| Channel | Type | Description | Comment |
|------------------|---------|-------------------------------------|------------|
| on | Switch | Power | |
| mode | Number | Mode | |
| brightness | Number | Brightness | |
| cct | Number | Color Temperature | |
| dv | Number | Delayed Turn-off | |
| WallSceneEn | Switch | Wall Scene Enable | |
| WallScene | String | Wall Scene | |
| autoCct | String | Auto CCT | |
| dimmingPeriod | Number | Dimming Period | |
| MibandStatus | String | Mi Band Status | |
### Philips Ceiling Light (<a name="philips-light-xzceil">philips.light.xzceil</a>) Channels
| Channel | Type | Description | Comment |
|------------------|---------|-------------------------------------|------------|
| on | Switch | Power | |
| mode | Number | Mode | |
| brightness | Number | Brightness | |
| cct | Number | Color Temperature | |
| dv | Number | Delayed Turn-off | |
| WallSceneEn | Switch | Wall Scene Enable | |
| WallScene | String | Wall Scene | |
| autoCct | String | Auto CCT | |
| dimmingPeriod | Number | Dimming Period | |
| MibandStatus | String | Mi Band Status | |
### Philips Ceiling Light (<a name="philips-light-xzceim">philips.light.xzceim</a>) Channels
| Channel | Type | Description | Comment |
|------------------|---------|-------------------------------------|------------|
| on | Switch | Power | |
| mode | Number | Mode | |
| brightness | Number | Brightness | |
| cct | Number | Color Temperature | |
| dv | Number | Delayed Turn-off | |
| WallSceneEn | Switch | Wall Scene Enable | |
| WallScene | String | Wall Scene | |
| autoCct | String | Auto CCT | |
| dimmingPeriod | Number | Dimming Period | |
| MibandStatus | String | Mi Band Status | |
### Philips Ceiling Light (<a name="philips-light-xzceis">philips.light.xzceis</a>) Channels
| Channel | Type | Description | Comment |
|------------------|---------|-------------------------------------|------------|
| on | Switch | Power | |
| mode | Number | Mode | |
| brightness | Number | Brightness | |
| cct | Number | Color Temperature | |
| dv | Number | Delayed Turn-off | |
| WallSceneEn | Switch | Wall Scene Enable | |
| WallScene | String | Wall Scene | |
| autoCct | String | Auto CCT | |
| dimmingPeriod | Number | Dimming Period | |
| MibandStatus | String | Mi Band Status | |
### philips.light.virtual (<a name="philips-light-virtual">philips.light.virtual</a>) Channels
| Channel | Type | Description | Comment |
@ -4003,6 +4211,240 @@ Dimmer brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"}
Number scene "Scene" (G_light) {channel="miio:basic:light:scene"}
```
### Light (philips.light.dlight) item file lines
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered.
```java
Group G_light "Light" <status>
Switch on "Power" (G_light) {channel="miio:basic:light:on"}
Number mode "Mode" (G_light) {channel="miio:basic:light:mode"}
Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"}
Number cct "Color Temperature" (G_light) {channel="miio:basic:light:cct"}
Number dv "Delayed Turn-off" (G_light) {channel="miio:basic:light:dv"}
Switch WallSceneEn "Wall Scene Enable" (G_light) {channel="miio:basic:light:WallSceneEn"}
String WallScene "Wall Scene" (G_light) {channel="miio:basic:light:WallScene"}
String autoCct "Auto CCT" (G_light) {channel="miio:basic:light:autoCct"}
Number dimmingPeriod "Dimming Period" (G_light) {channel="miio:basic:light:dimmingPeriod"}
String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:MibandStatus"}
```
### Philips Ceiling Light (philips.light.mceil) item file lines
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered.
```java
Group G_light "Philips Ceiling Light" <status>
Switch on "Power" (G_light) {channel="miio:basic:light:on"}
Number mode "Mode" (G_light) {channel="miio:basic:light:mode"}
Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"}
Number cct "Color Temperature" (G_light) {channel="miio:basic:light:cct"}
Number dv "Delayed Turn-off" (G_light) {channel="miio:basic:light:dv"}
Switch WallSceneEn "Wall Scene Enable" (G_light) {channel="miio:basic:light:WallSceneEn"}
String WallScene "Wall Scene" (G_light) {channel="miio:basic:light:WallScene"}
String autoCct "Auto CCT" (G_light) {channel="miio:basic:light:autoCct"}
Number dimmingPeriod "Dimming Period" (G_light) {channel="miio:basic:light:dimmingPeriod"}
String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:MibandStatus"}
```
### Philips Ceiling Light (philips.light.mceilm) item file lines
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered.
```java
Group G_light "Philips Ceiling Light" <status>
Switch on "Power" (G_light) {channel="miio:basic:light:on"}
Number mode "Mode" (G_light) {channel="miio:basic:light:mode"}
Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"}
Number cct "Color Temperature" (G_light) {channel="miio:basic:light:cct"}
Number dv "Delayed Turn-off" (G_light) {channel="miio:basic:light:dv"}
Switch WallSceneEn "Wall Scene Enable" (G_light) {channel="miio:basic:light:WallSceneEn"}
String WallScene "Wall Scene" (G_light) {channel="miio:basic:light:WallScene"}
String autoCct "Auto CCT" (G_light) {channel="miio:basic:light:autoCct"}
Number dimmingPeriod "Dimming Period" (G_light) {channel="miio:basic:light:dimmingPeriod"}
String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:MibandStatus"}
```
### Philips Ceiling Light (philips.light.mceils) item file lines
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered.
```java
Group G_light "Philips Ceiling Light" <status>
Switch on "Power" (G_light) {channel="miio:basic:light:on"}
Number mode "Mode" (G_light) {channel="miio:basic:light:mode"}
Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"}
Number cct "Color Temperature" (G_light) {channel="miio:basic:light:cct"}
Number dv "Delayed Turn-off" (G_light) {channel="miio:basic:light:dv"}
Switch WallSceneEn "Wall Scene Enable" (G_light) {channel="miio:basic:light:WallSceneEn"}
String WallScene "Wall Scene" (G_light) {channel="miio:basic:light:WallScene"}
String autoCct "Auto CCT" (G_light) {channel="miio:basic:light:autoCct"}
Number dimmingPeriod "Dimming Period" (G_light) {channel="miio:basic:light:dimmingPeriod"}
String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:MibandStatus"}
```
### Philips Ceiling Light (philips.light.obceil) item file lines
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered.
```java
Group G_light "Philips Ceiling Light" <status>
Switch on "Power" (G_light) {channel="miio:basic:light:on"}
Number mode "Mode" (G_light) {channel="miio:basic:light:mode"}
Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"}
Number cct "Color Temperature" (G_light) {channel="miio:basic:light:cct"}
Number dv "Delayed Turn-off" (G_light) {channel="miio:basic:light:dv"}
Switch WallSceneEn "Wall Scene Enable" (G_light) {channel="miio:basic:light:WallSceneEn"}
String WallScene "Wall Scene" (G_light) {channel="miio:basic:light:WallScene"}
String autoCct "Auto CCT" (G_light) {channel="miio:basic:light:autoCct"}
Number dimmingPeriod "Dimming Period" (G_light) {channel="miio:basic:light:dimmingPeriod"}
String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:MibandStatus"}
```
### Philips Ceiling Light (philips.light.obceim) item file lines
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered.
```java
Group G_light "Philips Ceiling Light" <status>
Switch on "Power" (G_light) {channel="miio:basic:light:on"}
Number mode "Mode" (G_light) {channel="miio:basic:light:mode"}
Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"}
Number cct "Color Temperature" (G_light) {channel="miio:basic:light:cct"}
Number dv "Delayed Turn-off" (G_light) {channel="miio:basic:light:dv"}
Switch WallSceneEn "Wall Scene Enable" (G_light) {channel="miio:basic:light:WallSceneEn"}
String WallScene "Wall Scene" (G_light) {channel="miio:basic:light:WallScene"}
String autoCct "Auto CCT" (G_light) {channel="miio:basic:light:autoCct"}
Number dimmingPeriod "Dimming Period" (G_light) {channel="miio:basic:light:dimmingPeriod"}
String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:MibandStatus"}
```
### Philips Ceiling Light (philips.light.obceis) item file lines
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered.
```java
Group G_light "Philips Ceiling Light" <status>
Switch on "Power" (G_light) {channel="miio:basic:light:on"}
Number mode "Mode" (G_light) {channel="miio:basic:light:mode"}
Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"}
Number cct "Color Temperature" (G_light) {channel="miio:basic:light:cct"}
Number dv "Delayed Turn-off" (G_light) {channel="miio:basic:light:dv"}
Switch WallSceneEn "Wall Scene Enable" (G_light) {channel="miio:basic:light:WallSceneEn"}
String WallScene "Wall Scene" (G_light) {channel="miio:basic:light:WallScene"}
String autoCct "Auto CCT" (G_light) {channel="miio:basic:light:autoCct"}
Number dimmingPeriod "Dimming Period" (G_light) {channel="miio:basic:light:dimmingPeriod"}
String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:MibandStatus"}
```
### Philips Ceiling Light (philips.light.sceil) item file lines
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered.
```java
Group G_light "Philips Ceiling Light" <status>
Switch on "Power" (G_light) {channel="miio:basic:light:on"}
Number mode "Mode" (G_light) {channel="miio:basic:light:mode"}
Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"}
Number cct "Color Temperature" (G_light) {channel="miio:basic:light:cct"}
Number dv "Delayed Turn-off" (G_light) {channel="miio:basic:light:dv"}
Switch WallSceneEn "Wall Scene Enable" (G_light) {channel="miio:basic:light:WallSceneEn"}
String WallScene "Wall Scene" (G_light) {channel="miio:basic:light:WallScene"}
String autoCct "Auto CCT" (G_light) {channel="miio:basic:light:autoCct"}
Number dimmingPeriod "Dimming Period" (G_light) {channel="miio:basic:light:dimmingPeriod"}
String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:MibandStatus"}
```
### Philips Ceiling Light (philips.light.sceilm) item file lines
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered.
```java
Group G_light "Philips Ceiling Light" <status>
Switch on "Power" (G_light) {channel="miio:basic:light:on"}
Number mode "Mode" (G_light) {channel="miio:basic:light:mode"}
Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"}
Number cct "Color Temperature" (G_light) {channel="miio:basic:light:cct"}
Number dv "Delayed Turn-off" (G_light) {channel="miio:basic:light:dv"}
Switch WallSceneEn "Wall Scene Enable" (G_light) {channel="miio:basic:light:WallSceneEn"}
String WallScene "Wall Scene" (G_light) {channel="miio:basic:light:WallScene"}
String autoCct "Auto CCT" (G_light) {channel="miio:basic:light:autoCct"}
Number dimmingPeriod "Dimming Period" (G_light) {channel="miio:basic:light:dimmingPeriod"}
String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:MibandStatus"}
```
### Philips Ceiling Light (philips.light.sceils) item file lines
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered.
```java
Group G_light "Philips Ceiling Light" <status>
Switch on "Power" (G_light) {channel="miio:basic:light:on"}
Number mode "Mode" (G_light) {channel="miio:basic:light:mode"}
Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"}
Number cct "Color Temperature" (G_light) {channel="miio:basic:light:cct"}
Number dv "Delayed Turn-off" (G_light) {channel="miio:basic:light:dv"}
Switch WallSceneEn "Wall Scene Enable" (G_light) {channel="miio:basic:light:WallSceneEn"}
String WallScene "Wall Scene" (G_light) {channel="miio:basic:light:WallScene"}
String autoCct "Auto CCT" (G_light) {channel="miio:basic:light:autoCct"}
Number dimmingPeriod "Dimming Period" (G_light) {channel="miio:basic:light:dimmingPeriod"}
String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:MibandStatus"}
```
### Philips Ceiling Light (philips.light.xzceil) item file lines
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered.
```java
Group G_light "Philips Ceiling Light" <status>
Switch on "Power" (G_light) {channel="miio:basic:light:on"}
Number mode "Mode" (G_light) {channel="miio:basic:light:mode"}
Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"}
Number cct "Color Temperature" (G_light) {channel="miio:basic:light:cct"}
Number dv "Delayed Turn-off" (G_light) {channel="miio:basic:light:dv"}
Switch WallSceneEn "Wall Scene Enable" (G_light) {channel="miio:basic:light:WallSceneEn"}
String WallScene "Wall Scene" (G_light) {channel="miio:basic:light:WallScene"}
String autoCct "Auto CCT" (G_light) {channel="miio:basic:light:autoCct"}
Number dimmingPeriod "Dimming Period" (G_light) {channel="miio:basic:light:dimmingPeriod"}
String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:MibandStatus"}
```
### Philips Ceiling Light (philips.light.xzceim) item file lines
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered.
```java
Group G_light "Philips Ceiling Light" <status>
Switch on "Power" (G_light) {channel="miio:basic:light:on"}
Number mode "Mode" (G_light) {channel="miio:basic:light:mode"}
Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"}
Number cct "Color Temperature" (G_light) {channel="miio:basic:light:cct"}
Number dv "Delayed Turn-off" (G_light) {channel="miio:basic:light:dv"}
Switch WallSceneEn "Wall Scene Enable" (G_light) {channel="miio:basic:light:WallSceneEn"}
String WallScene "Wall Scene" (G_light) {channel="miio:basic:light:WallScene"}
String autoCct "Auto CCT" (G_light) {channel="miio:basic:light:autoCct"}
Number dimmingPeriod "Dimming Period" (G_light) {channel="miio:basic:light:dimmingPeriod"}
String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:MibandStatus"}
```
### Philips Ceiling Light (philips.light.xzceis) item file lines
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered.
```java
Group G_light "Philips Ceiling Light" <status>
Switch on "Power" (G_light) {channel="miio:basic:light:on"}
Number mode "Mode" (G_light) {channel="miio:basic:light:mode"}
Number brightness "Brightness" (G_light) {channel="miio:basic:light:brightness"}
Number cct "Color Temperature" (G_light) {channel="miio:basic:light:cct"}
Number dv "Delayed Turn-off" (G_light) {channel="miio:basic:light:dv"}
Switch WallSceneEn "Wall Scene Enable" (G_light) {channel="miio:basic:light:WallSceneEn"}
String WallScene "Wall Scene" (G_light) {channel="miio:basic:light:WallScene"}
String autoCct "Auto CCT" (G_light) {channel="miio:basic:light:autoCct"}
Number dimmingPeriod "Dimming Period" (G_light) {channel="miio:basic:light:dimmingPeriod"}
String MibandStatus "Mi Band Status" (G_light) {channel="miio:basic:light:MibandStatus"}
```
### philips.light.virtual (philips.light.virtual) item file lines
note: Autogenerated example. Replace the id (light) in the channel with your own. Replace `basic` with `generic` in the thing UID depending on how your thing was discovered.

View File

@ -105,6 +105,19 @@ public enum MiIoDevices {
PHILIPS_LIGHT_CANDLE2("philips.light.candle2", "Xiaomi PHILIPS Zhirui Smart LED Bulb E14 Candle Lamp White Crystal",
THING_TYPE_BASIC),
PHILIPS_LIGHT_MONO1("philips.light.mono1", "philips.light.mono1", THING_TYPE_BASIC),
PHILIPS_LIGHT_DLIGHT("philips.light.dlight", "Philips Down Light", THING_TYPE_BASIC),
PHILIPS_LIGHT_MCEIL("philips.light.mceil", "Philips Ceiling Light", THING_TYPE_BASIC),
PHILIPS_LIGHT_MCEILM("philips.light.mceilm", "Philips Ceiling Light", THING_TYPE_BASIC),
PHILIPS_LIGHT_MCEILS("philips.light.mceils", "Philips Ceiling Light", THING_TYPE_BASIC),
PHILIPS_LIGHT_OBCEIL("philips.light.obceil", "Philips Ceiling Light", THING_TYPE_BASIC),
PHILIPS_LIGHT_OBCEIM("philips.light.obceim", "Philips Ceiling Light", THING_TYPE_BASIC),
PHILIPS_LIGHT_OBCEIS("philips.light.obceis", "Philips Ceiling Light", THING_TYPE_BASIC),
PHILIPS_LIGHT_SCEIL("philips.light.sceil", "Philips Ceiling Light", THING_TYPE_BASIC),
PHILIPS_LIGHT_SCEILM("philips.light.sceilm", "Philips Ceiling Light", THING_TYPE_BASIC),
PHILIPS_LIGHT_SCEILS("philips.light.sceils", "Philips Ceiling Light", THING_TYPE_BASIC),
PHILIPS_LIGHT_XZCEIL("philips.light.xzceil", "Philips Ceiling Light", THING_TYPE_BASIC),
PHILIPS_LIGHT_XZCEIM("philips.light.xzceim", "Philips Ceiling Light", THING_TYPE_BASIC),
PHILIPS_LIGHT_XZCEIS("philips.light.xzceis", "Philips Ceiling Light", THING_TYPE_BASIC),
PHILIPS_LIGHT_VIRTUAL("philips.light.virtual", "philips.light.virtual", THING_TYPE_BASIC),
PHILIPS_LIGHT_ZYSREAD("philips.light.zysread", "philips.light.zysread", THING_TYPE_BASIC),
PHILIPS_LIGHT_ZYSTRIP("philips.light.zystrip", "philips.light.zystrip", THING_TYPE_BASIC),

View File

@ -0,0 +1,179 @@
{
"deviceMapping": {
"id": [
"philips.light.dlight",
"philips.light.mceil",
"philips.light.mceilm",
"philips.light.mceils",
"philips.light.obceil",
"philips.light.obceim",
"philips.light.obceis",
"philips.light.sceil",
"philips.light.sceilm",
"philips.light.sceils",
"philips.light.xzceil",
"philips.light.xzceim",
"philips.light.xzceis"
],
"propertyMethod": "get_properties",
"maxProperties": 4,
"channels": [
{
"property": "on",
"siid": 2,
"piid": 1,
"friendlyName": "Power",
"channel": "on",
"channelType": "miot_bool",
"type": "Switch",
"refresh": true,
"actions": [
{
"command": "set_properties",
"parameterType": "ONOFFBOOL"
}
]
},
{
"property": "mode",
"siid": 2,
"piid": 2,
"friendlyName": "Mode",
"channel": "mode",
"channelType": "miot_uint8",
"type": "Number",
"refresh": true,
"actions": [
{
"command": "set_properties",
"parameterType": "NUMBER"
}
]
},
{
"property": "brightness",
"siid": 2,
"piid": 3,
"friendlyName": "Brightness",
"channel": "brightness",
"channelType": "miot_uint8",
"type": "Number",
"refresh": true,
"actions": [
{
"command": "set_properties",
"parameterType": "NUMBER"
}
]
},
{
"property": "color-temperature",
"siid": 2,
"piid": 4,
"friendlyName": "Color Temperature",
"channel": "cct",
"channelType": "miot_uint32",
"type": "Number",
"refresh": true,
"actions": [
{
"command": "set_properties",
"parameterType": "STRING"
}
]
},
{
"property": "dvalue",
"siid": 3,
"piid": 1,
"friendlyName": "Delayed Turn-off",
"channel": "dv",
"channelType": "miot_uint16",
"type": "Number",
"refresh": true,
"actions": [
{
"command": "set_properties",
"parameterType": "STRING"
}
]
},
{
"property": "wall-scene-en",
"siid": 3,
"piid": 2,
"friendlyName": "Wall Scene Enable",
"channel": "WallSceneEn",
"channelType": "miot_bool",
"type": "Switch",
"refresh": true,
"actions": [
{
"command": "set_properties",
"parameterType": "ONOFFBOOL"
}
]
},
{
"property": "wall-scene",
"siid": 3,
"piid": 3,
"friendlyName": "Wall Scene",
"channel": "WallScene",
"channelType": "miot_string",
"type": "String",
"refresh": true,
"actions": [
{
"command": "set_properties",
"parameterType": "STRING"
}
]
},
{
"property": "auto-cct",
"siid": 3,
"piid": 4,
"friendlyName": "Auto CCT",
"channel": "autoCct",
"channelType": "miot_string",
"type": "String",
"refresh": true,
"actions": [
{
"command": "set_properties",
"parameterType": "STRING"
}
]
},
{
"property": "dimming-period",
"siid": 3,
"piid": 6,
"friendlyName": "Dimming Period",
"channel": "dimmingPeriod",
"channelType": "miot_uint16",
"type": "Number",
"refresh": true,
"actions": [
{
"command": "set_properties",
"parameterType": "STRING"
}
]
},
{
"property": "miband-status",
"siid": 3,
"piid": 12,
"friendlyName": "Mi Band Status",
"channel": "MibandStatus",
"channelType": "miot_string",
"type": "String",
"refresh": true,
"actions": []
}
],
"experimental": true
}
}