|
@@ -868,7 +868,7 @@ Authorization: Bearer {{key}}
|
|
|
"id": "1", "pid": "1","area_id": "区域ID", "area": "区域名称", "name": "0001", "display_name": "晾衣架遥控",
|
|
"id": "1", "pid": "1","area_id": "区域ID", "area": "区域名称", "name": "0001", "display_name": "晾衣架遥控",
|
|
|
"type": "remotecontrol",
|
|
"type": "remotecontrol",
|
|
|
|
|
|
|
|
- //remotecontrol_common 通用/remotecontrol_tv 电视遥控/remotecontrol_aircon 空调遥控 /remotecontrol_fan_light 风扇灯/remotecontrol_fan_light_1_4 风扇灯/ remotecontrol_fan 风扇/ remotecontrol_curtain 窗帘/remotecontrol_airer 晾衣架/remotecontrol_door 电动门/remotecontrol_window 电动窗/remotecontrol_colortemp_light 色温灯/
|
|
|
|
|
|
|
+ //remotecontrol_common 通用/remotecontrol_tv 电视遥控/remotecontrol_aircon 空调遥控 /remotecontrol_fan_light 大自然电扇灯XHB61B(Daziran Fan Light XHB61B) /remotecontrol_fan_light_1_4 电扇灯/ remotecontrol_fan 风扇/ remotecontrol_curtain 窗帘/remotecontrol_airer 晾衣架/remotecontrol_door 电动门/remotecontrol_window 电动窗/remotecontrol_colortemp_light 色温灯/
|
|
|
"subtype": "remotecontrol_common",
|
|
"subtype": "remotecontrol_common",
|
|
|
"config":
|
|
"config":
|
|
|
{
|
|
{
|
|
@@ -1755,3 +1755,75 @@ android 系统,配置存放路径:/vendor/etc/homeapp/hardware.cfg
|
|
|
| second | int | 秒 |
|
|
| second | int | 秒 |
|
|
|
| device_id | String | 面板ID或网关id |
|
|
| device_id | String | 面板ID或网关id |
|
|
|
| scene_id | String | 场景ID |
|
|
| scene_id | String | 场景ID |
|
|
|
|
|
+
|
|
|
|
|
+
|
|
|
|
|
+## 遥控器按键默认定义参考
|
|
|
|
|
+//remotecontrol_common 通用/remotecontrol_tv 电视遥控/remotecontrol_aircon 空调遥控 /remotecontrol_fan_light 大自然电扇灯XHB61B(Daziran Fan Light XHB61B) /remotecontrol_fan_light_1_4 电扇灯/ remotecontrol_fan 风扇/ remotecontrol_curtain 窗帘/remotecontrol_airer 晾衣架/remotecontrol_door 电动门/remotecontrol_window 电动窗/remotecontrol_colortemp_light 色温灯/
|
|
|
|
|
+
|
|
|
|
|
+### remotecontrol_fan_light_1_4 大自然电扇灯XHB61B(Daziran Fan Light XHB61B)
|
|
|
|
|
+"keys" 字段值定义如下:
|
|
|
|
|
+```json
|
|
|
|
|
+[
|
|
|
|
|
+ {"label":"总关", "value":"1"},
|
|
|
|
|
+ {"label":"灯开关", "value":"2"},
|
|
|
|
|
+ {"label":"一档", "value":"3"},
|
|
|
|
|
+ {"label":"二档", "value":"4"},
|
|
|
|
|
+ {"label":"三档", "value":"5"},
|
|
|
|
|
+ {"label":"四档", "value":"6"},
|
|
|
|
|
+ {"label":"五档", "value":"7"},
|
|
|
|
|
+ {"label":"六档", "value":"8"},
|
|
|
|
|
+ {"label":"风扇停", "value":"9"},
|
|
|
|
|
+ {"label":"正转", "value":"10"},
|
|
|
|
|
+ {"label":"自然风", "value":"11"},
|
|
|
|
|
+ {"label":"反转", "value":"12"},
|
|
|
|
|
+ {"label":"定时1H", "value":"13"},
|
|
|
|
|
+ {"label":"定时4H", "value":"14"}
|
|
|
|
|
+ ]
|
|
|
|
|
+```
|
|
|
|
|
+
|
|
|
|
|
+### remotecontrol_fan_light 大自然电扇灯XHB61B(Daziran Fan Light XHB61B)
|
|
|
|
|
+"keys" 字段值定义如下:
|
|
|
|
|
+```json
|
|
|
|
|
+[
|
|
|
|
|
+ {"label":"总关", "value":"1"},
|
|
|
|
|
+ {"label":"灯开关", "value":"2"},
|
|
|
|
|
+ {"label":"一档", "value":"3"},
|
|
|
|
|
+ {"label":"二档", "value":"4"},
|
|
|
|
|
+ {"label":"三档", "value":"5"},
|
|
|
|
|
+ {"label":"四档", "value":"6"},
|
|
|
|
|
+ {"label":"五档", "value":"7"},
|
|
|
|
|
+ {"label":"六档", "value":"8"},
|
|
|
|
|
+ {"label":"风扇停", "value":"9"},
|
|
|
|
|
+ {"label":"正转", "value":"10"},
|
|
|
|
|
+ {"label":"自然风", "value":"11"},
|
|
|
|
|
+ {"label":"反转", "value":"12"},
|
|
|
|
|
+ {"label":"定时1H", "value":"13"},
|
|
|
|
|
+ {"label":"定时2H", "value":"15"},
|
|
|
|
|
+ {"label":"定时4H", "value":"14"}
|
|
|
|
|
+ ]
|
|
|
|
|
+```
|
|
|
|
|
+
|
|
|
|
|
+### remotecontrol_airer 米家智能晾衣架
|
|
|
|
|
+"keys" 字段值定义如下:
|
|
|
|
|
+```json
|
|
|
|
|
+[
|
|
|
|
|
+ {"label":"上升", "value":"1"},
|
|
|
|
|
+ {"label":"下降", "value":"2"},
|
|
|
|
|
+ {"label":"停止", "value":"3"},
|
|
|
|
|
+ {"label":"照明", "value":"4"}
|
|
|
|
|
+ ]
|
|
|
|
|
+```
|
|
|
|
|
+
|
|
|
|
|
+### remotecontrol_window 彬度提升窗
|
|
|
|
|
+"keys" 字段值定义如下:
|
|
|
|
|
+```json
|
|
|
|
|
+[
|
|
|
|
|
+ {"label":"照明", "value":"1"},
|
|
|
|
|
+ {"label":"纱窗停止", "value":"2"},
|
|
|
|
|
+ {"label":"纱窗下降", "value":"3"},
|
|
|
|
|
+ {"label":"纱窗上升", "value":"4"},
|
|
|
|
|
+ {"label":"窗户停止", "value":"5"},
|
|
|
|
|
+ {"label":"窗户下降", "value":"6"},
|
|
|
|
|
+ {"label":"窗户上升", "value":"7"}
|
|
|
|
|
+ ]
|
|
|
|
|
+```
|