natekspencer / pylitterbot

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

[RFE] Status/Litter/Waste #202

Closed slapcat closed 7 months ago

slapcat commented 7 months ago

The most useful stats from the litter robot for me are the current status, litter health, and waste level. Unfortunately it doesn't seem like this is captured in the current data from get_activity_history() or get_insight(). Would it be possible to add a method to capture this?

natekspencer commented 7 months ago

You can get those from the appropriate properties of the robot: status, litter_level, and waste_drawer_level. That information, however, is not available for historical commands so you'd have to keep your own history if you want to track that.

slapcat commented 7 months ago

Perfect, that works for me. Thanks for the quick response!