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

PetState Object doesn't return "status" and "position" anymore #216

Open
djvanhelmond opened this issue Dec 5, 2024 · 7 comments
Open

Comments

@djvanhelmond
Copy link

Since today the PetState object doesn't have "state" and "position" anymore.
The API still returns 'status': {} but position is completely absent.

@rneubert
Copy link

rneubert commented Dec 8, 2024

Commenting to confirm I'm seeing the same issue.

From looking at Sure Petcare's beta API, it looks like they still expect "position" to be exposed. https://app-api.beta.surehub.io/index.html

@Alex-ala
Copy link

Alex-ala commented Dec 9, 2024

There's a discussion in the HA integration regarding this.
According to a response by SurePet in this comment they intend to switch to new endpoints and the "old" web version is outdated.

I don't know if that affects other devices as well. I can only confirm this for their flap.

@Laho812
Copy link

Laho812 commented Dec 10, 2024

I had contact with the sure petcare support. Here is the answer:

Here below is the advice from our Connect expert:

The old version of the webapp is no longer supported. Customers are asked to use the new mobile app, as some features will soon stop working, and will be replaced by the new app.   

In this case, the old webapp displays the wrong information. The new app should display the correct information. 

Thank you for your understanding.


original German version:

Danke für Ihre Rückcmeldung. 

Hier unten der Rat von unserem Connect-Extperten:

Die alte Version der Webapp wird nicht mehr unterstützt. Kunden werden gebeten, die neue Mobilapp zu benutzen, da einige Funktionen bald nicht mehr funktionieren werden, und werden durch die neue App ersetzt.   

In diesem Fall, wird in der alten Webapp die falsche Information angezeigt. Die neue App sollte die richtige Information anzeigen. 

Danke für Ihr Verständnis.

@Laho812
Copy link

Laho812 commented Dec 10, 2024

Commenting to confirm I'm seeing the same issue.

From looking at Sure Petcare's beta API, it looks like they still expect "position" to be exposed. https://app-api.beta.surehub.io/index.html

Have you changed the definition to V2 in the upper right corner? The new API has only 4 endpoints for now. Looks like it's possible to get the pets location via /api/v2/timeline

@djvanhelmond
Copy link
Author

It worked just now for a minute and now it broke again. Someone on the Sureflap side is working on this atm.

@Laho812
Copy link

Laho812 commented Dec 11, 2024

I asked them if they plan to continue the web version cause they told me the old one is discontinued.
Here is the answer:

If you have a problem with the question mark, you will be asked to use the mobile app for the near future.

We were supposed to launch the new web app in spring 2025. I cannot give you a more precise date at the moment. 

Thank you very much. 

@djvanhelmond
Copy link
Author

It is working now already for about 24h, so someone listened :)

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

No branches or pull requests

4 participants