我是用DOCKER装的 homeassitant,启动后会自动识别到网关,并且会把网关灯也自动添加出来
但还是无法正常工作,开关按钮无效,查看日志报
ERROR (SyncWorker_0) [xiaomi_gateway Gateway Key is not provided. Can not send commands to the gateway.
之后在configuration.yaml里增加小米网关的配置信息
xiaomi_aqara:
discovery_retry: 5
gateways:
- key: 8254a874405c699067847bddc9f6efc9
token是miio获取的
Device ID: 78880619
Model info: lumi.gateway.v3
Token: 8254a874405c699067847bddc9f6efc9 via auto-token
Support: At least basic
但配置好以后报错
Invalid config for [xiaomi_aqara]: length of value must be at most 16 for dictionary value @ data['xiaomi_aqara']['gateways'][0]['key']. Got '8254a874405c699067847bddc9f6efc9'. (See /config/configuration.yaml, line 73). Please check the docs at https://home-assistant.io/components/xiaomi_aqara/
说长度不支持超过16位,所以我应该填的正确的key到底是什么啊? 求配置成功的可以解答一下。