其他能力接口
其他能力接口
本域说明
这些方法有独立方法名,不会出现在 device.capability.list 里。参数表比能力使用里的获取 / 设置页多「默认值」「合法值」两列。不是属性 get/set,不要和「获取……属性 / 设置……属性」混用。WiFi 信号档见 网络;日期格式、升级事件见 系统。详情、在离线、绑定见 设备管理。
遗留 HTTP 对照见 旧版接口 与 设备能力对接(如 device.reboot.execute → restartDevice;旧 getDeviceUtcTimeZone 拆为 device.time.get + device.timezone.get/set)。
读者必读
新接入请先读 能力使用。调用前用 device.capability.list 确认设备是否支持本页能力;权限见 权限码;错误码见 能力错误码。
本域索引
| 功能 | 方法名 | 遗留 HTTP(常见) |
|---|---|---|
| 重启设备 | device.reboot.execute | restartDevice |
| 恢复出厂 | device.restore.execute | 见 restoreIotDevice 等 |
| 平台校时 | device.time.sync | — |
| 获取 UTC 时钟 | device.time.get | 旧合并查询拆出,见 migrate |
| 设置时区 | device.timezone.set | setIotDeviceTimeZone 等 |
| 获取时区 | device.timezone.get | 同上 |
| 查夏令时规则 | device.timezonerule.get | — |
| 当前 WiFi | device.wifi.current | currentDeviceWifi 等 |
| 扫描热点 | device.wifi.scan | — |
| 连接或断开 WiFi | device.wifi.control | — |
| 升级进度 | device.upgrade.process | — |
| 触发升级 | device.upgrade.execute | — |
| 改名 | device.name.set | — |
| 刷新封面 | device.cover.refresh | — |
| 验密 | device.password.verify | — |
| 改密 | device.password.set | — |
