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

Consumption Unit? #109

Open
MorVes opened this issue Apr 3, 2024 · 4 comments
Open

Consumption Unit? #109

MorVes opened this issue Apr 3, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@MorVes
Copy link

MorVes commented Apr 3, 2024

The problem

I wonder if the unit used for consumption should be W instead of Wh?

Skærmbillede 2024-04-03 172823

What version of Home Assistant Core are you running?

2024.3.3

What type of installation are you running?

Home Assistant OS

What version of the integration are you running?

0.7.2

Device description

panasonic 9 kw monoblock

Is the integration loading?

Yes

Is the adapter able to connect to the Aquarea Smart Cloud with a stable internet connection?

Yes

Are you able to perform the action you're trying to with the Aquarea Smart Cloud Site/App?

Yes

Area of the issue

No response

Anything in the logs?

No response

Additional information

No response

@MorVes MorVes added the bug Something isn't working label Apr 3, 2024
@cjaliaga
Copy link
Owner

cjaliaga commented Apr 3, 2024

Hi @MorVes,

The integration doesn't expose any power consumption sensor. Aquarea API only provides us with the energy consumption (kWh) and those are the units the entities use.

@MorVes
Copy link
Author

MorVes commented Apr 4, 2024

I believe you, but then I don't understand this:

Screenshot_20240404_070133_io homeassistant companion android

@adamus-tork
Copy link

adamus-tork commented Apr 4, 2024

Think of this like your car give you the average fuel consumption of your last trip. Nobody can tell what was the exact value of the injected fuel into the engine at any moment during the trip.

(I'm just guessing from the previous answers -> ) The API provies with averages (kWh) what you see in HA is most probably an interpolated graph.

@cjaliaga
Copy link
Owner

cjaliaga commented Apr 4, 2024

Thanks @adamus-tork. For consumption we have 2 type of sensors, both are populated with the same data but they act in a different way. Both are total increasing https://developers.home-assistant.io/docs/core/entity/sensor/#state-class-total_increasing, however this one resets the cycle every hour (in fact when the data for the next hour starts populating). That's the reason you see that representation instead of seeing the accumulated.

That said, I believe there are some corner cases where the consumption sensors don't reflect the exact consumption, we have some reports of strange situations. I'll like to revisit them when I have some time, however for the time being, is the best that I could think of with the way Panasonic provides the data.

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

No branches or pull requests

3 participants