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

情景无线开关S 事件无法获取 #652

Open
qianxuu opened this issue Jan 16, 2025 · 1 comment
Open

情景无线开关S 事件无法获取 #652

qianxuu opened this issue Jan 16, 2025 · 1 comment

Comments

@qianxuu
Copy link

qianxuu commented Jan 16, 2025

Describe the Bug / 描述问题

情景无线开关S 事件无法获取,米家 App 中日志正常,无中枢网关,日志最后一次显示 refresh props failed, cloud

How to Reproduce / 复现步骤

Image

Image

Image

Expected Behavior / 预期结果

可获取到按键事件

Reproduce Time / 问题复现的时间点

2025-01-16 19:00:00

Home Assistant Logs / 系统日志

2025-01-16 12:05:49.755 DEBUG (MainThread) [custom_components.xiaomi_home.miot.miot_device] property changed, {'did': 'blt.xxx', 'iid': '0.4.1003', 'siid': 4, 'piid': 1003, 'value': 100, 'code': 0, 'updateTime': 1737028936, 'exe_time': 0}
2025-01-16 12:05:49.755 INFO (MainThread) [custom_components.xiaomi_home.miot.miot_client] refresh props failed, cloud, ['blt.xxx|5|1020', '406406881|2|7']

Log Timezone / 日志时区

UTC

Home Assistant Core Version / Home Assistant Core 版本

2025.1.2

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

Docker

Xiaomi Home Integration Version / 米家集成版本

v0.1.5b1

Additional Context / 其他说明

No response

@qianxuu
Copy link
Author

qianxuu commented Jan 18, 2025

又换了个 PTX 的无线开关,也是类似情况,无法获取到事件,日志稍有区别,是不是必须要有中枢网关才能使用?目前使用的是音箱,属于盲网关

2025-01-18 14:12:00.014 INFO (MainThread) [custom_components.xiaomi_home.miot.miot_client] device sub changed, did*, from None to cloud
2025-01-18 14:12:00.026 DEBUG (ha.uuid*) [custom_components.xiaomi_home.miot.miot_client] ha.uuid*, mips sub internal success, device/did*/up/properties_changed/#
2025-01-18 14:12:00.026 DEBUG (ha.uuid*) [custom_components.xiaomi_home.miot.miot_client] ha.uuid*, mips sub internal success, device/did*/up/event_occured/#

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

1 participant