cjaliaga / home-assistant-aquarea

Home Assistant integration for Panasonic Aquarea devices connected to Aquarea Smart Cloud
MIT License
76 stars 13 forks source link

Missing consumption values for some hours #75

Closed CofkoCof closed 7 months ago

CofkoCof commented 8 months ago

Hi,

Really appreciate the work you put into this. I have upgraded the integration which now supports consumptions, but when added to HA, the values for consumptions are missing (always for the same hours). The values from consumption just stay the same and don't increase in some hour periods. Do you know what that is? Have I configured something wrong?

2024-01-02_10h54_33

2024-01-02_10h55_05

Again, thank you for the work you put into this

cjaliaga commented 8 months ago

Hey @CofkoCof, I might have a theory. A couple of questions:

1) Does this happen every day every other hour? 2) Could you show me the consumption graph in the Panasonic app (https://aquarea-smart.panasonic.com/remote/a2wEnergyConsumption) for the same period and for the same consumption type?

Thanks!

CofkoCof commented 8 months ago

Hi @cjaliaga,

2024-01-02_19h08_05 2024-01-02_19h08_51

2024-01-02_19h07_52 2024-01-02_19h08_39

Thank you

superarturo15 commented 8 months ago

Hi there, the same is happening to me

Captura de pantalla 2024-01-03 114617

image

cjaliaga commented 8 months ago

Thanks @superarturo15 @CofkoCof. I'll add extra debug logs to the entities and release a new version with them as soon as possible. I'll let you know so you can install it, enable debug logging, let it run to reproduce the issue and share them.

Quick question for the time being: Are you still facing the issue on a regular basis?

CofkoCof commented 8 months ago

@cjaliaga Yes, it happens every day. What is weird is that it seems to happen at almost the same hours (see screenshots for two days...the timing is almost the same)

Between these 2 time entries, there is no data because when I move over with the mouse, the tooltip doesn't show

5.1.2024 2024-01-07_15h32_39 2024-01-07_15h32_43

6.1.2024 2024-01-07_15h32_51 2024-01-07_15h33_07

superarturo15 commented 8 months ago

@cjaliaga

The same in my case, the issue happens every day.

Thanks for your efforts.

superarturo15 commented 8 months ago

Hi there, Is there any problem with native aquarea cloud?, energy consumption hasn't appeared since last Wednesday,

CofkoCof commented 8 months ago

I don't have that issues. It's still working the same as it was before.

But I did notice that when trying to open the Comfort Cloud app from phone, it asks for two-factor authentication. I didn't configure that because I am unsure if that breaks the integration. Did you perhaps enable that?

superarturo15 commented 8 months ago

No, I didn't, The only thing what I did was to update a version that appeared on the Aquarea HACS integration last week. Anyone with same problem?.

cjaliaga commented 8 months ago

@superarturo15 anything on the logs or any error in the entry configuration? Do you have polling enabled for the entry? Do you have updated data in the Panasonic webapp?

superarturo15 commented 8 months ago

no error in HA, with the las update, in fact appear other new options, as powerful o silent mode, that's amazing, but nor webapp neither HA have I energy statistics consumption data. Just tank and heating temperature.

CofkoCof commented 8 months ago

If also web app doesnt have data, the issue is not in integrationA while ago I had to reset my aquarea network adapter…the link was reset due to power outageDont know about your setup, but I would check the adapter…on mine there was a STATUS light that wasn't glowing when I had the issue

superarturo15 commented 7 months ago

If also web app doesnt have data, the issue is not in integrationA while ago I had to reset my aquarea network adapter…the link was reset due to power outageDont know about your setup, but I would check the adapter…on mine there was a STATUS light that wasn't glowing when I had the issue

I don't think so, since I´ve got tank temperature from the app, thanks for your advice.

CofkoCof commented 7 months ago

@cjaliaga @superarturo15 I solved my issue with the missing consumption. I changed the time zone to UTC + 1 in the Panasonic web app (before I had id it set to UTC + 0). After that, the issue was resolved

cjaliaga commented 7 months ago

@CofkoCof these are great news, happy is finally working for you 😊 I'll see if I can add to the Wiki these troubleshooting steps and solution.

We use the timezone in the code (the one set on Home Assistant) to calculate the hour we're checking the consumption for and when the energy consumption for that hour is completed so we can jump to the next hour. It could make sense that if Home Assistant and Panasonic Cloud are not in sync, we see some discrepancies.

Everything is a guess of course as I'd need to debug the code while the issue is happening to get the proper understanding.

I'll close this issue.

superarturo15 commented 7 months ago

@cjaliaga @superarturo15 I solved my issue with the missing consumption. I changed the time zone to UTC + 1 in the Panasonic web app (before I had id it set to UTC + 0). After that, the issue was resolved

I'll check it out. Thanks @CofkoCof, @cjaliaga