Skip to content

米家APP控制小米音箱,但是HA不执行自动化 #1051

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

Open
ccbslsx opened this issue Apr 29, 2025 · 4 comments
Open

米家APP控制小米音箱,但是HA不执行自动化 #1051

ccbslsx opened this issue Apr 29, 2025 · 4 comments
Assignees

Comments

@ccbslsx
Copy link

ccbslsx commented Apr 29, 2025

Describe the Bug / 描述问题

HA里面配置了自动化,小米音箱开启和关闭麦克风后执行其他操作,通过xiaomi_home控制可以正常执行,但是通过米家APP开启关闭麦克风就不可以。感觉是米家APP对小爱音箱的操作没有传到云端?

How to Reproduce / 复现步骤

因为无法将截图上传,就描述一下:
自动化配置如下:
每当小爱音箱 麦克风 静音 被开启或者关闭
就执行 小爱音箱 智能音箱 播放文本 的值
设备:小爱音箱
动作:设置 小爱音箱 智能音箱 播放文本 的值
值:这是一个测试

然后在xiaomi_home中找到小爱音箱,点击页面控制:麦克风 静音 旁边的开关,无论开关都可以正常执行自动化。
然后在米家APP找到小爱音箱,点击麦克风静音按钮,小爱音箱会正常提示麦克风静音关闭打开,但是音箱不执行自动化指令,最后发出这个一个测试的文本播放

Expected Behavior / 预期结果

正常播放文本

Reproduce Time / 问题复现的时间点

Home Assistant Logs / 系统日志

No response

Log Timezone / 日志时区

Home Assistant Core Version / Home Assistant Core 版本

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

Xiaomi Home Integration Version / 米家集成版本

0.31

Additional Context / 其他说明

No response

@ccbslsx
Copy link
Author

ccbslsx commented Apr 29, 2025

补充一下刚刚发现HA中控制小爱音箱的麦克风关闭和开启,米家APP中可以正常获取到麦克风状态,但是米家APP中控制买房关闭开启,HA中状态不变。感觉就是米家APP的操作并没有同步到云端

@HelloZhuz
Copy link
Contributor

@ccbslsx 设备问题,HA上默认认为设置了设备的state就会触发执行action,米家上需要设备上报property才会触发,小爱在米家虽然设置了state,但是没有上报,所以不会触发。

@HelloZhuz HelloZhuz self-assigned this Apr 30, 2025
@ccbslsx
Copy link
Author

ccbslsx commented May 3, 2025

这个问题也就是说无法修复了?

@HelloZhuz
Copy link
Contributor

@ccbslsx 设备定义问题,没法修复,可以使用其他的触发设备进行触发

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