-
Notifications
You must be signed in to change notification settings - Fork 910
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
米家智能晾衣机pro (hyd.airer.pro2) current_position参数问题 #549
Comments
@topsworld 这个问题好解决吗 |
可能是设备自身未上报current_position属性。 |
日志如下,初始状态target_postion和current_position均为0,17:38:36时尝试设置target_postion为100。 日志中似乎有current_position的反馈,但是前端
|
另外,晾衣机(airer)类型产品可以参考Miot Auto转义为一个cover实体,这样可以方便前端使用ui控制,也可以更方便加入homekit |
@SusanPhevos 这个排查有进度了吗~ 应该是spec定义的问题吧,但是我之前用来看spec定义的 |
这个设备实现有问题,siid=4、piid=11为current-position且可读、可通知,但是设备发生升降时,不上报properties_changed消息,上报的是event_occured消息,因此current-position属性显示一直不变。 |
event中有上面两个实体,current-position变化时,实体1会有参数变化(运动时会有持续上报),运动停止后,实体2会有参数变化 |
那就说的通了。这个是设备实现问题,xiaomi_home 无法解决。 |
有没有办法手动拉取一次设备状态,极客板这样设置可以正常运行 |
xiaomi_home 采用订阅消息的方式,只接收设备的状态上报,不主动查询设备状态。 |
明白,但还是很好奇,既然集成本身log中能读出这个数据,没有任何办法能够使其呈现到前台吗 |
Describe the Bug / 描述问题
米家智能晾衣机pro (hyd.airer.pro2) current_position参数永远维持在0%。
How to Reproduce / 复现步骤
无论是使用米家app,还是ha,还是其他途径控制该设备"target_position"参数,设备都能正常执行动作,但是ha插件中的"current_position"永远为0,不会根据实际位置变化。
在使用官方Xiaomi Home集成之前,使用Miot Auto也会遇到此问题。但是,该参数在米家App、米家自动化、极客版自动化中都能正常获取。
Expected Behavior / 预期结果
current_position应该根据晾衣机的实际位置进行变化
Reproduce Time / 问题复现的时间点
2025-01-02 22:38
Home Assistant Logs / 系统日志
No response
Log Timezone / 日志时区
Asia/Shanghai
Home Assistant Core Version / Home Assistant Core 版本
2024.12.5
Home Assistant Operation System Version / Home Assistant Operation System 版本
Supervisor 2024.12.1/Operating System Frontend 20241127.8
Xiaomi Home Integration Version / 米家集成版本
v0.1.3
Additional Context / 其他说明
No response
The text was updated successfully, but these errors were encountered: