RobertD502 / home-assistant-petkit

Home Assistant integration for PetKit devices
MIT License
156 stars 24 forks source link

Devices offline #28

Closed Theetjuh closed 11 months ago

Theetjuh commented 11 months ago

Hi,

I just found out all my devices are offline and not updating anymore. Enabled debugging, nothing really to be found. Reloaded the integration and restarted HA (2023.7.3) already.

The app is still working without issues and devices report as online.

Maybe others have the same issues?

marce14-git commented 11 months ago

Hey, i think i go the same problem

my Fresh Element Gemini is online and Diagnostic and Sensors are fine, but Configuration and Controls are offline since a few hours

RobertD502 commented 11 months ago

Are the entities showing up as unavailable?

marce14-git commented 11 months ago

yes entities are unavailable

Are the entities showing up as unavailable?

yes entities are unavailable

image
Theetjuh commented 11 months ago

Yeah I got exactly the same

Theetjuh commented 11 months ago

image

07:05 was when I needed to reconfigure my account it seems, like you see of the purified water graph, it hasn't been updated since.

RobertD502 commented 11 months ago

What about the Status sensor? What is it reporting?

RobertD502 commented 11 months ago

Ah look at the Status sensor entity....your feeder is offline.

Theetjuh commented 11 months ago

It isn't I can operate it through the app

marce14-git commented 11 months ago

It isn't I can operate it through the app

same for me HA saying offline, App works

Issues started after HA said I have to reconfigure the Integration and login again, ca 5-6 hours ago

Theetjuh commented 11 months ago

It isn't I can operate it through the app

same for me HA saying offline, App works

Issues started after HA said I have to reconfigure the Integration and login again, ca 5-6 hours ago

Exactly the same for me

RobertD502 commented 11 months ago

Enable debug logging for the integration, restart Home Assistant, wait a few minutes, then disable debug logging for the integration - a file should be downloaded for you then. Send the log to me via Discord since the data may have identifiable info and I wouldn't want you sharing that here publicly.

Theetjuh commented 11 months ago

@marce14-git what is the region you use within the app?

You can see it at the logon section.

marce14-git commented 11 months ago

@marce14-git what is the region you use within the app?

yeah we figured out that it is probably because the EU endpoint changed (I am using Austria)

Theetjuh commented 11 months ago

Aahh you where in talks as well ... sweet!

alexpelli commented 11 months ago

I'm facing more troubles since I have removed the HA app and now I'm not anymore able to connect the device. Everytime I get error on login and password.. no way to add again the integration

marce14-git commented 11 months ago

I'm facing more troubles since I have removed the HA app and now I'm not anymore able to connect the device. Everytime I get error on login and password.. no way to add again the integration

yeah a fix is being worked on, i have the same problem now

alexpelli commented 11 months ago

For your info I have changed country from Italy to United states and integration get the account but I'm not able to operate it

RobertD502 commented 11 months ago

Update for anyone seeing this: Petkit has added a new base URL for accounts they deem need to use the new EU base url. Although these accounts can still use the current base url, the devices will report as offline. They only report as being online when the new base url is being used.

I am currently working on the fix.