😻 Petkit integration

Yes, there are many forks that support the Petkit BLE fountain locally.

Most of them originate from this project: PetkitW5BLEMQTT
The one you mentioned is also forked from it.

There is also ha-petkit from @aavdberg.

I’m planning to add full BLE control on my side as well. @aavdberg has already submitted a PR to my project, but there are still some improvements and fixes needed before it’s ready.

On my side, I’m moving slowly because I prefer taking the time to properly review things, make sure everything works reliably, and ensure the architecture is well designed.

Maybe what you mentioned was originally the foundation, but I rewrote the GitHub - phldgmn/ha-petkit-ble: PetKit Fountain, BLE-based, relay-less Home Assistant Integration · GitHub repo. Unfortunately, I couldn’t find the one you linked...

I’ve been struggling with this project for a week now. I actually started digging into it because of the translation.

Unfortunately, I only have 2 BLE devices, but after the changes, they can now be handled separately. I improved the speed and stability, removed a ton of unnecessary code, and it became extremely fast and responsive.

It was probably written with the basic AI model, and every issue was just hotfixed. :frowning:

I’ve now completely rethought it from the ground up. Let me know if you have any questions.

Right now, BLE handling works really professionally. However, keep in mind that there has also been a generational shift here, and I wasn’t able to test it on the new generation. :frowning:

1 Like

While I wait for this integration to incorporate local Bluetooth I tried aavdberg's ha-petkit as a stopgap since the Bluetooth part is going to be based on that and ran into "This device is already initialized with a secret. Please factory reset it first (detach control module, hold power button for 3 seconds until LEDs flash), then try again".

Feels like I'll have the same problem here when the Bluetooth support comes, so does anyone know how to actually do that with a Petkit Eversweet Solo 2? I just can't find a power button on the base. Or any other button really. There seems to just be an indicator LED there, and some stickers, and two pairs of meshed holes which look like mini speakers? Google is being extremely unhelpful about it.

Edit: nevermind, simply disabling my phone's Bluetooth and power cycling the base let it go through the creator successfully. It's now stuck on refusing to initialize but that's a separate issue probably. It does say "authentication failed (CMD 86 response: 00)" though.

Hey @Jezza34000 - I have a Petkit Pura X, Eversweet 3 and Freshelement Gemini.
I have a local HA setup (no WAN) with an ESP proxy - can my Petkit devices work in this local HA setup without WAN?

I'd like to use my devices locally without cloud.

Thanks.

Hi @f0rta
Check in my repository there is a "No cloud alternative" :slightly_smiling_face: