请选择 进入手机版 | 继续访问电脑版

『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 3613|回复: 5

[基础教程] 【求助】米家多功能网关连入的aqara墙壁开关没法在ha内控...

[复制链接]

17

主题

270

帖子

1722

积分

金牌会员

Rank: 6Rank: 6

积分
1722
金钱
1447
HASS币
30
发表于 2020-7-1 11:28:29 | 显示全部楼层 |阅读模式
请教各位大佬,米家多功能网关(升级版)填入了ip和token,
下属挂载的aqara零火双键墙壁开关被ha自动发现如下图:

微信图片_20200701112553.png

打开开关,边上的按钮会有即时反馈开关状态
但是在ha前端去点击开关按钮的时候,打开后会自动关闭,开关没有被触发,请问该如何解决?

回复

使用道具 举报

17

主题

270

帖子

1722

积分

金牌会员

Rank: 6Rank: 6

积分
1722
金钱
1447
HASS币
30
 楼主| 发表于 2020-7-1 11:58:33 | 显示全部楼层
找到问题了

Logger: xiaomi_gateway
Source: components/xiaomi_aqara/switch.py:127
First occurred: 上午11:40:40 (2 occurrences)
Last logged: 上午11:52:23

Gateway Key is not provided. Can not send commands to the gateway.

没有给网关密码,在设置中加入了下面的就解决了
xiaomi_aqara:
  discovery_retry: 5
  gateways:
    - key: xxxxxxxxxxxxxxxx
回复

使用道具 举报

8

主题

329

帖子

1763

积分

金牌会员

Rank: 6Rank: 6

积分
1763
金钱
1434
HASS币
0
发表于 2020-7-3 17:04:45 | 显示全部楼层
升级到112应该就会有没法用了,我升级以后所有子设备都没有了
回复

使用道具 举报

1

主题

48

帖子

509

积分

论坛技术达人

积分
509
金钱
456
HASS币
20
发表于 2020-7-3 21:11:59 | 显示全部楼层
12512310 发表于 2020-7-3 17:04
升级到112应该就会有没法用了,我升级以后所有子设备都没有了

Xiaomi Gateway (Aqara)

YAML configuration of the Xiaomi Aqara integration has been deprecated, please remove the xiaomi_aqara platform from your configuration.yaml file.

Xiaomi Aqara Gateways are discovered automatically and show up under “Configuration”-> “Integrations”, from there click on configure and go through the steps. If your Xiaomi Aqara Gateway does not show up automatically, go to “Configuration”-> “Integrations”-> press the “+” icon -> search for “xiaomi_aqara” and enter the setup. If no key is provided during setup, only the binary_sensor and sensor platforms will be available. A key is required to activate the other platforms.

112废弃了YAML的配置方式,只能通过设置里面的集成添加。还好关联的设备name没变化,加回来以后其他配置倒是都不用修改。
回复

使用道具 举报

8

主题

329

帖子

1763

积分

金牌会员

Rank: 6Rank: 6

积分
1763
金钱
1434
HASS币
0
发表于 2020-7-4 14:38:03 | 显示全部楼层
本帖最后由 12512310 于 2020-7-4 14:40 编辑
mypal 发表于 2020-7-3 21:11
Xiaomi Gateway (Aqara)

YAML configuration of the Xiaomi Aqara integration has been deprecated, pl ...

但是我用了集成添加,填写ip地址时都是不能识别,用any后填写key,key又无效,换回111版本后是正常使用。
回复

使用道具 举报

10

主题

181

帖子

2555

积分

金牌会员

Rank: 6Rank: 6

积分
2555
金钱
2369
HASS币
60
发表于 2020-8-17 22:01:49 来自手机 | 显示全部楼层
12512310 发表于 2020-7-4 14:38
但是我用了集成添加,填写ip地址时都是不能识别,用any后填写key,key又无效,换回111版本后是正常使用。 ...

升级114后此问题已解决
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-3-28 23:15 , Processed in 0.055489 second(s), 30 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表