petkit icon indicating copy to clipboard operation
petkit copied to clipboard

Error when calling feeding switch

Open nivv opened this issue 10 months ago • 5 comments

First of all, thanks for your work with this integration. It has worked great for a couple of years.

Both my feeders stopped working 3 days ago. HA states them as "Offline" for the entity named sensor.feeder_cid_state. Skärmavbild 2023-08-07 kl  20 28 17

I get this error message in the logs:

2023-08-07 20:11:46.055 ERROR (MainThread) [custom_components.petkit] Petkit feeding failed: {'error': {'code': 1504, 'msg': '喂食器已离线,不能修改喂食计划'}}

The feeder is offline, the feeding schedule cannot be modified
(Translated from 喂食器已离线,不能修改喂食计划)

I can use the Petkit mobile app to trigger a feed, so they should be online.

nivv avatar Aug 07 '23 18:08 nivv

im having the same issue, worked great for years, a few days ago stopped triggerring

johntheth1rd avatar Aug 07 '23 23:08 johntheth1rd

Exactly the same behavior for me.

Luth1ng avatar Aug 08 '23 01:08 Luth1ng

API has changed. Don't want to promote my repo here, but just want to offer some insight to those having issues.

RobertD502 avatar Aug 08 '23 18:08 RobertD502

I've switched over to Robert's integration, and everything is back working flawlessly

johntheth1rd avatar Aug 09 '23 19:08 johntheth1rd

same issue with this integration as well for some weeks. and i thought it was because i had disconnected the feeder for some weeks when on vacation... I switched to Robert's integration too and it works fine

ioannispelelis avatar Aug 26 '23 11:08 ioannispelelis