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

Less power consumption report #187

Open
justme871 opened this issue Jan 3, 2025 · 18 comments
Open

Less power consumption report #187

justme871 opened this issue Jan 3, 2025 · 18 comments

Comments

@justme871
Copy link

justme871 commented Jan 3, 2025

Is not grabbing the correct daily, monthly or yearly consumption. Every time are less kw. Also the report sometimes need more than one hour to be updated.
Used 2 smart breaker Earu EAKCB--M.

Screenshot_20250103_143525_Home Assistant
Screenshot_20250103_143506_Tuya Smart

@justme871
Copy link
Author

Last 2 days on HA it was reported doubled consumption....

Screenshot_20250107_181109_WhatsApp
Screenshot_20250107_181102_WhatsApp
Screenshot_20250107_180930_Home Assistant
Screenshot_20250107_180948_Tuya Smart

@azerty9971
Copy link
Owner

Hello,
This should be fixed in the next release.
I'm currently testing the fix and once it's validated I'll publish a new release.

Sorry for the inconvenience,
Azerty

@azerty9971 azerty9971 added the Pending release Fix is ready in alpha and will be in beta soon label Jan 21, 2025
@justme871
Copy link
Author

Hi

Thank you

@spideraxal
Copy link

Hi @azerty9971 !

Any time-frame for the next release?

@azerty9971 azerty9971 added Awaiting fix confirmation and removed Pending release Fix is ready in alpha and will be in beta soon labels Jan 26, 2025
@azerty9971
Copy link
Owner

Hello,
Can you retry with 3.0.8-beta.1?

It should fix the issue :).

Have a nice day,
Azerty

@spideraxal
Copy link

I tried with v3.0.8-beta.4, but it is still reporting less power consumption than the app.

Image Image

@azerty9971
Copy link
Owner

That is normal, the monthly consumption will start to be correct as from Feb 1st...
Can you compare the hourly values in the energy dashboard with the reporting you have in the Tuya App?

These should now match :).

The way this works is that the cloud send each time the consumption from the last time it sent a consumption (so the delta).
If some messages are missed then they don't appear in HA (which was the case with the current release), hope it's more clear this way :).

Have a nice day,
Azerty

@spideraxal
Copy link

I can't compare the hourly ones, I don't have that option. I'll check the daily usage tomorrow, based on your changes, that should be the same as in the Tuya app.

Anyway, thanks for the awesome integration!

@egaldg
Copy link

egaldg commented Jan 31, 2025

Hi, i am experiencing the same i guess, in the smartlife app my plug reports u total of 2,7 kWh but in HA the same plug in XtendTuya reports only just under 2 kWh....

@azerty9971
Copy link
Owner

Hello,
Did you compare the hourly consumption?

Also, if you did the update today it's normal that the value will be underestimated, wait for a full day and compare the stat again ;).

hope this helps,
Azerty

@egaldg
Copy link

egaldg commented Jan 31, 2025

Thanks for your response, i will retry it later, we are going on a holiday...
After copying the beta 5 i see all my devices double in Xtend_Tuya by the way...

Grtz Egaldg

@justme871
Copy link
Author

Hello

On the past few days, everything was working great. I get same result like on tuya.

Thank you very much

@azerty9971
Copy link
Owner

Thanks for your response, i will retry it later, we are going on a holiday... After copying the beta 5 i see all my devices double in Xtend_Tuya by the way...

Grtz Egaldg

I've seen this happen, just restart HA and it should be fixed :).

Have a nice day,
Azerty

@egaldg
Copy link

egaldg commented Feb 2, 2025

allready restarted HA a few times now, also cut the power for a while, still double devices...

@spideraxal
Copy link

spideraxal commented Feb 2, 2025

In my case, the integration now displays the same power consumption in HA as in Smart Life (for the current day/month).

The issue might be related to your setup @egaldg

@egaldg
Copy link

egaldg commented Feb 2, 2025

I still have to check the power consumption, it might be ok now, but i still have all my devices twice in XTendTuya.
The are not double in IOT.Tuya or my smartlife app, only in XTend Tuya

@justme871
Copy link
Author

I still have to check the power consumption, it might be ok now, but i still have all my devices twice in XTendTuya. The are not double in IOT.Tuya or my smartlife app, only in XTend Tuya

Now I get same problem. The metering is not displayed on HA. Do you find the issue?

@azerty9971
Copy link
Owner

I still have to check the power consumption, it might be ok now, but i still have all my devices twice in XTendTuya. The are not double in IOT.Tuya or my smartlife app, only in XTend Tuya

By any chance, have you shared your devices between multiple accounts that you have connected to HA?
Are you using XT with or without the official Tuya integration?
In your doubled devices, do you have one that is empty or are the entities split between the 2 duplicates?

Thanks in advance for your input,
Azerty

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants