Results 648 comments of Alone

没有相关日志,请启用调试日志。 ![hass yeelight pro](https://user-images.githubusercontent.com/4549099/228729018-c09f8672-bb72-4f83-9c21-e4e9830afcb4.png)

> Got devices for 733382471 failed: {'returnCode': 1000, 'toast': False, 'msg': '设备不在线或其他异常', 'data': {}, 'timestamp': 1647633619514, 'success': False} I had the same error as yours in my logs some time...

本插件目前仅支持通过小米服务器接入蓝牙/ZigBee设备,插件每30秒~1分钟会为每个设备轮询小米接口(`api.io.mi.com`),从而获取设备的最新状态。 我们建议你使用`Automatic (自动模式)`,该模式可以通过本地方式接入受支持的WiFi设备,以减少对小米接口的请求。

```yaml current_temperature: 29 environment.temperature: 29 ``` 当前温度值来着设备,插件没有处理。

在开发者工具中执行服务,并反馈结果。 ```yaml service: xiaomi_miot.get_properties data: entity_id: climate.xiaomi_m4_xxxx mapping: - siid: 4 piid: 7 ```

需要在小爱音箱APP中找到该设备,并且可以在APP中按到对话记录才可以。

1. 先找到面板设备的`did` 2. 调用服务获取小爱ID ```yaml action: xiaomi_miot.request_xiaomi_api data: entity_id: media_player.xiaomi_86v1_xxxx api: /smarthome/product/panel/plugin/devices sid: xiaomiio method: POST data: did: "100913777" # 设备did ``` 3. 调用服务获取面板设备信息 ```yaml action: xiaomi_miot.request_xiaomi_api data: entity_id: media_player.xiaomi_86v1_xxxx...