Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

小米无线开关(蓝牙版)无法获取按键事件 #762

Closed
Lvves opened this issue Feb 15, 2025 · 6 comments
Closed

小米无线开关(蓝牙版)无法获取按键事件 #762

Lvves opened this issue Feb 15, 2025 · 6 comments

Comments

@Lvves
Copy link

Lvves commented Feb 15, 2025

Describe the Bug / 描述问题

小米无线开关(蓝牙版)无法实时获取按键单击、双击、长按事件,需手动重载获取;

How to Reproduce / 复现步骤

Image

Image

Image

Image

Expected Behavior / 预期结果

可以实时获取按键事件

Reproduce Time / 问题复现的时间点

2025年2月16日,00:10

Home Assistant Logs / 系统日志

No response

Log Timezone / 日志时区

亚洲/上海

Home Assistant Core Version / Home Assistant Core 版本

2025.2.3

Home Assistant Operation System Version / Home Assistant Operation System 版本

14.2

Xiaomi Home Integration Version / 米家集成版本

v0.1.4

Additional Context / 其他说明

No response

@refined-fish
Copy link

有网关设备吗,这类设备需要非盲网关才可以用,比如中枢网关这种。而智能插座2蓝牙网关版这种就是盲网关

@Lvves
Copy link
Author

Lvves commented Feb 19, 2025

有网关设备吗,这类设备需要非盲网关才可以用,比如中枢网关这种。而智能插座2蓝牙网关版这种就是盲网关

没有中枢,只有蓝牙音箱的蓝牙网关

@refined-fish
Copy link

有网关设备吗,这类设备需要非盲网关才可以用,比如中枢网关这种。而智能插座2蓝牙网关版这种就是盲网关

没有中枢,只有蓝牙音箱的蓝牙网关

理论上小爱音箱pro属于从网关,或许可以,但我没试过,我本地有中枢,是可以正常获取的,没有之前也是无法获取

@Lvves
Copy link
Author

Lvves commented Feb 19, 2025

有网关设备吗,这类设备需要非盲网关才可以用,比如中枢网关这种。而智能插座2蓝牙网关版这种就是盲网关

没有中枢,只有蓝牙音箱的蓝牙网关

理论上小爱音箱pro属于从网关,或许可以,但我没试过,我本地有中枢,是可以正常获取的,没有之前也是无法获取

我就是因为没有中枢网关,云端执行有延迟,所以才想用HA本地执行,但是发现按钮不能实时获取事件

@refined-fish
Copy link

我就是因为没有中枢网关,云端执行有延迟,所以才想用HA本地执行,但是发现按钮不能实时获取事件

没有中枢网关的话HA也是云端执行,没有区别的,本地执行依靠的就是中枢,使用HA的优点主要是在于联动其他平台和使用更高级的逻辑

@Lvves
Copy link
Author

Lvves commented Feb 19, 2025

我就是因为没有中枢网关,云端执行有延迟,所以才想用HA本地执行,但是发现按钮不能实时获取事件

没有中枢网关的话HA也是云端执行,没有区别的,本地执行依靠的就是中枢,使用HA的优点主要是在于联动其他平台和使用更高级的逻辑

好吧

@Lvves Lvves closed this as completed Feb 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants