Skip to content
New issue

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

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

Already on GitHub? # to your account

升级到1.0.6后,小米智能插座的日电量和月电量不可用 #2104

Open
smartantivirus opened this issue Dec 19, 2024 · 11 comments
Open
Labels
bug Something isn't working

Comments

@smartantivirus
Copy link

Device model / 设备型号

cuco.plug.v3

Component version / 插件版本

1.0.6

HA core version / HA版本

2024.12.4

Integrated mode / 集成方式

Cloud (云端模式)

The problem / 问题详情

No response

Entity attributes / 实体属性

不可用

Home Assistant Logs / 系统日志

No response

@sOrangeGwan
Copy link

sOrangeGwan commented Dec 19, 2024

PixPin_2024-12-19_09-26-12
完全相同的问题. Wholly same issue.
image
10分钟左右,自己又好了。It works after about 10 minutes.

@al-one
Copy link
Owner

al-one commented Dec 19, 2024

疑似网络问题,电量数据需要从米家服务器获取,请检查系统日志。

@YonghuiKing
Copy link

还有温湿度计不可用,上个版本1.0.5还只是不更新数据,点击按下还是可以手动更新,这个版本直接不可用了,删除设备重新从miot添加也不可用

@YonghuiKing
Copy link

还有温湿度计不可用,上个版本1.0.5还只是不更新数据,点击按下还是可以手动更新,这个版本直接不可用了,删除设备重新从miot添加也不可用

回滚到1.0.4后,一切正常了

@Zkdc
Copy link

Zkdc commented Dec 19, 2024

同样的问题,更新到1.0.6之后,所有插座的电量统计都不可用了(lumi.acpartner.mcn02,lumi.acpartner.mcn04,chuangmi.plug.212a01,cuco.plug.v3)。
1.0.4,1.0.5正常。

@al-one
Copy link
Owner

al-one commented Dec 19, 2024

提供调试日志

@Zkdc
Copy link

Zkdc commented Dec 19, 2024

home-assistant_xiaomi_miot_2024-12-19T12-45-40.646Z.log

在ha启动10多分钟以后,除了 米家空调伴侣 Pro(lumi.acpartner.mcn04)其他的现在有数据了。

更新:米家空调伴侣 Pro 也有数据了。

@al-one
Copy link
Owner

al-one commented Dec 19, 2024

@Zkdc 你日志中的设备都获取到数据了呀。

小米米家智能墙壁插座(zimi.plug.zncz01): Coordinator updated: [{'power_cost_today': 49.0, 'power_cost_month': 325.0}]
插线板 微波炉(qmi.plug.psv3): Coordinator updated: [{'power_cost_today': 0.288, 'power_cost_month': 28.123}]
插线板 电脑桌(qmi.plug.psv3): Coordinator updated: [{'power_cost_today': 0.33, 'power_cost_month': 5.198}]
插线板 冰箱(qmi.plug.psv3): Coordinator updated: [{'power_cost_today': 3.644, 'power_cost_month': 52.006}]
小米米家智能墙壁插座(zimi.plug.zncz01): Coordinator updated: [{'power_cost_today': 0.0, 'power_cost_month': 69.0}]
插线板 床(qmi.plug.psv3): Coordinator updated: [{'power_cost_today': 1.492, 'power_cost_month': 23.756}]
Mi Smart Power Plug 2(chuangmi.plug.212a01): Coordinator updated: [{'power_cost_today': 786928.0, 'power_cost_month': 18746350.0}]
插线板 餐桌(qmi.plug.psv3): Coordinator updated: [{'power_cost_today': 0.483, 'power_cost_month': 273.53}]
插线板 电视桌(qmi.plug.psv3): Coordinator updated: [{'power_cost_today': 0.199, 'power_cost_month': 5.734}]
插线板 桌(qmi.plug.psv3): Coordinator updated: [{'power_cost_today': 0.35, 'power_cost_month': 4.061}]
插线板 床(qmi.plug.psv3): Coordinator updated: [{'power_cost_today': 0.133, 'power_cost_month': 16.77}]
插线板 小桌(qmi.plug.psv3): Coordinator updated: [{'power_cost_today': 0.05, 'power_cost_month': 0.05}]
小米米家智能墙壁插座(zimi.plug.zncz01): Coordinator updated: [{'power_cost_today': 1.0, 'power_cost_month': 3.0}]
空调插座(lumi.acpartner.mcn02): Coordinator updated: [{'power_cost_today': 1271.0, 'power_cost_month': 16278.0}]
空调插座(lumi.acpartner.mcn02): Coordinator updated: [{'power_cost_today': 32.0, 'power_cost_month': 2489.0}]
米家智能插座3(cuco.plug.v3): Coordinator updated: [{'power_cost_today': 295.0, 'power_cost_month': 3271.0}]
Mijia Smart Plug 3(cuco.plug.v3): Coordinator updated: [{'power_cost_today': 16.0, 'power_cost_month': 263.0}]

@Zkdc
Copy link

Zkdc commented Dec 20, 2024

@Zkdc 你日志中的设备都获取到数据了呀。

我又在1.0.6重启ha试了几次,重启后大概10分钟后会获取到用电量,而 米家空调伴侣 Pro(lumi.acpartner.mcn04)需要等更久。在有数据之前用电量是不可用状态。而在1.0.5版本中重启完用电量就是有数据的。

al-one added a commit that referenced this issue Dec 20, 2024
@al-one al-one added the bug Something isn't working label Dec 20, 2024
@al-one
Copy link
Owner

al-one commented Dec 20, 2024

master分支修复了

@Zkdc
Copy link

Zkdc commented Dec 20, 2024

@al-one master版本 lumi.acpartner.mcn02, lumi.acpartner.mcn04, cuco.plug.v3 已经正常,但 chuangmi.plug.212a01 还是得等几分钟。

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants