找回密码
 立即注册
搜索
查看: 6420|回复: 0

[进阶教程] 求助贴,自动发现设备不出现在HomeKit中

[复制链接]

4

主题

108

回帖

964

积分

高级会员

积分
964
金钱
852
HASS币
10
发表于 2019-9-10 09:11:58 | 显示全部楼层 |阅读模式
请大佬指点一下
我用2个ESP8266做了2个开关,并且分别用不同的topic发布了,在HA上能准确识别出来.根据论坛大佬@RobinVP 的指点,在config参数里加了unique_id.
现在出现的问题是,我有2个switch但是,偶尔能2个都出现在homekit 里面,大多数时候能随机出现其中一个.

switch1:
topic:autohome/switch/4070481/config
{"name":"switch-4070221","unique_id":"4070221","command_topic":"autohome/4070221/set","state_topic":"autohome/4070221/state"}
switch2:
  topic:autohome/switch/4070221/config
  playod: {"name":"switch-4070481","unique_id":"4070481","command_topic":"autohome/4070481/set","state_topic":"autohome/4070481/state"}
回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian ( 晋ICP备17001384号-1 )

GMT+8, 2025-6-21 13:05 , Processed in 0.060240 second(s), 23 queries .

Powered by Discuz! X3.5

© 2001-2025 Discuz! Team.

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