--- id: pylitterbot version: "2025.6.4" license: MIT license_treatment: permissive maintenance: active --- # pylitterbot — Python package for controlling Whisker automatic robots. License: permissive · Maintenance: active · Downloads: 83.1K/mo ## What it is and what it does pylitterbot is an async Python client for controlling Whisker's Litter-Robot and Feeder-Robot devices. It reverse-engineers the unofficial Whisker app API to provide programmatic control over self-cleaning litter boxes and pet feeders. The package wraps authentication (via pycognito and pyjwt), device discovery, and command execution into a simple async interface. Typical use involves creating an Account, connecting with Whisker credentials, then calling methods like start_cleaning(), set_sleep_mode(), or get_activity_history() on discovered robots. The package also includes an optional MCP (Model Context Protocol) server for AI assistant integration, letting tools like Claude control your robots through natural language. Because the API is reverse-engineered and undocumented by Whisker, it may break without warning. Use it for: - Automate litter box cleaning cycles and monitor activity history from a home automation system or cron job. - Build a dashboard or mobile app that displays real-time status and control of multiple Litter-Robots and Feeder-Robots. - Integrate Whisker robots into a smart home workflow triggered by other events or sensors. - Use the MCP server to let Claude or other AI assistants monitor and control your robots via natural language. - Retrieve pet activity insights and maintenance forecasts to plan when to empty the litter box. - Sync settings across multiple robots of the same model to keep configurations consistent. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Control Whisker Litter-Robot and Feeder-Robot devices through an async Python API that reverse-engineers the unofficial Whisker app protocol. Yes, if you own Whisker robots and want programmatic control. The package is actively maintained, has low install friction, and offers both direct async control and AI assistant integration. The main caveat is that it relies on a reverse-engineered API with no official support—breakage is possible if Whisker changes their backend. Check the project's issue tracker before installing to confirm current stability. ## Install pip install pylitterbot uv add pylitterbot poetry add pylitterbot ## Installing pylitterbot Before you install: Low friction install with a pure-Python wheel. Actively maintained with a recent release; last commit 2026-08-14 and repository not archived. Requires Python 3.10+. License in practice: MIT license permits free use, modification, and distribution with minimal restrictions—suitable for both personal and commercial projects. Quickstart: pip install pylitterbot import asyncio from pylitterbot import Account async def main(): account = Account() await account.connect(username="user", password="pass", load_robots=True) for robot in account.robots: print(robot) await account.disconnect() asyncio.run(main()) Requires Python 3.10 or later. Credentials for Whisker account needed to authenticate and discover robots. Verify before relying: - Whether the reverse-engineered API remains stable across Whisker app updates or if breakage is common. - Support status for Litter-Robot 5 cameras (listed as TODO in the description). - Whether MCP server integration is production-ready or still experimental. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 83.1K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags litter robot control python, whisker robot api, automated pet feeder control, litter box automation, async robot device control, feeder robot python, litter robot 3 4 integration, iot-device-control, async-api, home-automation [View on SkillFed](https://skillfed.io/packages/pylitterbot) · [View on PyPI](https://pypi.org/project/pylitterbot/)