-
-
Notifications
You must be signed in to change notification settings - Fork 713
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
Xiaomi Smart Plug 2 WIFI sensor shows 0 as Power Consumption #1347
Comments
Please provide debug logs. |
2023-12-18 10:47:39.094 WARNING (SyncWorker_0) [homeassistant.loader] We found a custom integration xiaomi_miot which has not been tested by Home Assistant. This component might cause stability problems, be sure to disable it if you experience issues with Home Assistant |
+1 |
1 similar comment
+1 |
same issue |
+1 |
1 similar comment
+1 |
Try master branch. |
Hello, I updated to the new release and the new tunables start showing for me. I appreciate that they are now tunable. However, can they be moved from Controls to Configuration, so that they don't show up on dashboards by default? I have a dozen of them and suddenly the dashboard became a lot larger. I am currently on a trip to manually hide them but maybe there's a better way. Additionally, the electricity consumption history is still not going through, the current consumption goes through though. Here's from my heater via app: and via HA: |
Same here |
No fix yet? |
I have the same problem. But I found this is not related to the XIAOMI MIoT integration. I updated the integration to V0.7.18 |
Yes. Since HA core versión 2024.3, cuco.plug power cosumption sensors stops working. |
Any updates on this? |
Anyone tested the latest version, 2024.6.2? Is this still an issue? |
Yes, this is still an issue. |
Just tested 2024.7.3. This is still an issue. Can someone please take a look at this? |
This comment was marked as off-topic.
This comment was marked as off-topic.
is there any progress? For me it is also showing 0w |
I am using 2024.9.1 same problem. Can someone please take a look at this? |
Hello everyone! |
This comment has been minimized.
This comment has been minimized.
@sunnyiiii Not cuco.plug.v2eur! |
@al-one, I thought this was related. I have another thread that is specific for the lumi.plug.v1. I wasn't sure if it is the core issue or miot. Because, it was working all the way until a core version update. |
Hello, I slowly dug into this:
Here is screenshot from my energy dashboard. All the devices are tracked using the v2eur device of this thread, most of consumption should be covered in principle but you can see it taking around 10% of total, so I assume that scaling is off by 10x lower. Is it gets below 0.01 it seemingly becomes 0 which might be another reason for 0 reports in the thread. I hope this helps. |
@Komzpa Try master branch. |
Does not seem to help. I feel like this line overrides what you define for the plug as it goes later?
|
@Komzpa, in your last comment you said to remove the old entity. Do you mean the entity in HA? Can you please point me to how I can do this? Just delete the broken one from the xiaomi miot integration? In this case, the entity ends with "Power Consumption"? |
For reference: I am getting the following error |
Try beta version. |
With latest release the situation improved. Now monthly consumption shows fine. Daily is still on zeros. Great progress! There is also an issue that sometimes for no obvious reason the consumption drops to zero. This messes up the Energy dashboard as it believes the consumption is very very high. I guess these need to get filtered or maybe they are produced as a side effect of some other bug? |
Looks like the v1.0.0b3 working find now. Many thanks. Can you please push to official? |
Device model / 设备型号
cuco.plug.v2eur
Component version / 插件版本
0.7.13
HA core version / HA版本
2023.10.1
Integrated mode / 集成方式
Automatic (自动模式)
The problem / 问题详情
Integration of Xiaomi Mi Smart Plug 2 (https://www.mi.com/global/product/xiaomi-smart-plug-2-wi-fi/) cuco.plug.v2eur as entity in Home Assistant via Xiaomi Miot Auto works well, but the sensor that records the consumption (Power Consumption) does not show values. It always shows 0 as power consuption.
Entity attributes / 实体属性
state_class: total_increasing
entity_class: MiotSensorSubEntity
parent_entity_id: switch.cuco_v2eur_b49f_switch
service_description: Power Consumption
property_description: Power Consumption
updated_time: '2023-10-09T20:49:01.957822+02:00'
power_consumption: 0
unit_of_measurement: Wh
friendly_name: Xiaomi Smart Plug Power Consumption
supported_features: 0
Home Assistant Logs / 系统日志
No response
The text was updated successfully, but these errors were encountered: