petkit icon indicating copy to clipboard operation
petkit copied to clipboard

Warning: App is out of date, please upgrade

Open creedda opened this issue 1 year ago • 7 comments

From the logs.

Logger: custom_components.petkit Source: custom_components/petkit/init.py:402 Integration: Petkit (documentation, issues) First occurred: 4:36:13 PM (3 occurrences) Last logged: 4:40:16 PM

Got petkit device detail for CAT Water failed: {'error': {'code': 97, 'msg': 'App is out of date, please upgrade'}}

Is this something where we just need to bump a version number somewhere?

creedda avatar Jul 26 '22 20:07 creedda

I have the same exact problem... message: {'error': {'code': 97, 'msg': 'App is out of date, please upgrade'}} title: Request: /discovery/ friendly_name: Request: /discovery/

jazzmonger avatar Sep 10 '22 16:09 jazzmonger

Here is my config from config.yaml if it helps:

##Petkit
petkit:
# Single account
  username: [email protected]
  password: !secret petkit_password
  api_base: http://api.petkt.com/latest/

I am in the US.

creedda avatar Oct 02 '22 16:10 creedda

Same problem with me. I use a cat litter box (PETKIT PURA MAX), food dispenser (Petkit Fresh Element 3 Smart Pet Feeder) and a water fountain (PETKIT EVERSWEET SOLO 2 (WIRELESS)). They all work in the PETKIT app. in Home Assistant, only the litter box and the food sipenser work and I get the following error log entry below for the fountain. The water fountain seems to be connected through the food dispenser.

error: This error originated from a custom integration. Logger: custom_components.petkit Source: custom_components/petkit/init.py:88 Integration: Petkit (documentation, issues) Got petkit device detail for EVERSWEET SOLO 2 failed: {'error': {'code': 97, 'msg': 'App is out of date, please upgrade'}}

Lex1 avatar Nov 08 '22 15:11 Lex1

Petkit has added a new API during the update process, and this problem will occur when adding a newer device, such as my R2, I did not modify the author's source code, but re-implemented the entire process through Node-Red, during this process I found the answers to this question and now they work fine, thanks to the author for the ideas

sorrrrrymybad avatar Dec 20 '22 17:12 sorrrrrymybad

Petkit has added a new API during the update process, and this problem will occur when adding a newer device, such as my R2, I did not modify the author's source code, but re-implemented the entire process through Node-Red, during this process I found the answers to this question and now they work fine, thanks to the author for the ideas

So you did everything in NODE-Red instead? Any chance you could share the solution? Thanks

Lex1 avatar Dec 20 '22 18:12 Lex1

I have the same issue here, receiving the same error:

{'error': {'code': 97, 'msg': 'App is out of date, please upgrade'}}

I have tried the different links but I am unable to get it to work. Did anyone get this working?

I don't have Node-Red installed and wondered if I can get it to work in it using the standard HACS integration process.

IncredibleGoose avatar Apr 25 '23 06:04 IncredibleGoose

Same message here.

Theetjuh avatar Jul 27 '23 13:07 Theetjuh