ha0y / xiaomi_miot_raw

All-in-one & Easy-to-use. Integrate all your Xiaomi Smart Home - with a single integration and NO YAML files - into Home Assistant.
Apache License 2.0
2.2k stars 230 forks source link

小米墙壁双开关,添加后无法使用 #134

Closed chenfengfeng closed 3 years ago

chenfengfeng commented 3 years ago

设备信息 zimi.switch.dhkg02 by Zimi 固件:1.4.4_0072

已经查了下适配列表,是已经适配了。

目前存在问题是两个开关,一个可以使用一个不可以使用

不可以使用的打开后会自动关闭,实际上也没有产生任何操作

WX20210512-161638@2x
chenfengfeng commented 3 years ago

System Health

version core-2021.5.2
installation_type Home Assistant Container
dev false
hassio false
docker true
virtualenv false
python_version 3.8.9
os_name Linux
os_version 5.4.109
arch aarch64
timezone Asia/Shanghai
Home Assistant Community Store GitHub API | ok -- | -- Github API Calls Remaining | 5000 Installed Version | 1.12.3 Stage | running Available Repositories | 776 Installed Repositories | 1
Home Assistant Cloud logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Lovelace dashboards | 1 -- | -- resources | 0 mode | auto-gen
Xiaomi MIoT logged_in | true -- | -- can_reach_micloud_server | ok accounts_count | 3 account_devices_count | 7 added_devices | 2
chenfengfeng commented 3 years ago

后续确认是自己的问题,因为使用docker添加的,网络应该使用host,这样才能链接到外面的设备