natekspencer / pylitterbot

Python package for controlling a Whisker connected self-cleaning litter boxes and feeders
MIT License
89 stars 13 forks source link

Is it possible to pull pets in and their weight? #190

Closed flyize closed 6 months ago

flyize commented 1 year ago

The LR4 added pets and weight. Is it possible to poll that data too? I'd love to track my fat cats weight in Home Assistant!

natekspencer commented 1 year ago

I haven't had a chance to try and find what endpoints are used to query that information yet with all the other projects I am involved in. Since it is in the app, it's definitely there somewhere, but low on my priority list at the moment.

flyize commented 1 year ago

That's fair. I wish I better understood how to capture app data to find payloads and endpoints. Some day!

jrhe commented 11 months ago

I have the data needed for this and should be able to put in a PR shortly.

tjhorner commented 8 months ago

@jrhe were you able to make any progress on this? Any notes you are able to share would be great

jrhe commented 7 months ago

@tjhorner sorry about the delay - I thought I had responded!

Here is a WIP branch: https://github.com/jrhe/pylitterbot/tree/add_pet_profiles

Not sure if it still works with the recent updates. Needs refactoring and some error handling added.

natekspencer commented 7 months ago

This is now available in v2023.5.0. I'll work on getting pets in Home Assistant next

tjhorner commented 7 months ago

Thanks @natekspencer!

flyize commented 3 months ago

@natekspencer Was this ever actually added? Or is it only in pylitterrobot?

natekspencer commented 3 months ago

@flyize I have not had time to add it to Home Assistant yet.

flyize commented 3 months ago

No worries! I can pull pet weight with pylitterrobot tho? Maybe I can figure out how to pull manually and add to HA.

natekspencer commented 3 months ago

@flyize yeah, release 2023.5.0 or later will be what you need