ring-doorbell
A Python library to communicate with Ring Door Bell (https://ring.com/)
What it is and what it does
ring-doorbell is a Python library that wraps Ring.com's undocumented API to let you control and monitor Ring doorbells, cameras, and chimes programmatically. It provides both async and sync interfaces (async preferred) plus a command-line tool for common tasks like listing devices, downloading videos, toggling motion detection, and listening for push notifications. The library treats each device as a Python object with methods to query state, adjust settings, and retrieve event history.
The package depends on aiohttp for HTTP requests, asyncclick for CLI scaffolding, oauthlib for OAuth2 authentication, websockets for real-time event listening, and firebase-messaging for push notifications. It supports Python 3.9 through 3.12 and is actively maintained, though it explicitly relies on reverse engineering since Ring does not publish an official API.
Use it for:
- Build a home automation dashboard that displays live Ring camera feeds and motion events across multiple devices.
- Automatically download and archive Ring video clips triggered by motion or doorbell presses for security review.
- Toggle motion detection or lights on Ring cameras based on time of day or other home automation triggers.
- Listen for real-time Ring doorbell events and send custom notifications to a messaging platform.
- Query Ring device health, WiFi signal strength, and battery status for monitoring and alerting.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Exposes Ring.com doorbell, camera, and chime devices as Python objects, with async/sync APIs and a CLI for device control, video retrieval, and event monitoring.
Yes, if you own Ring devices and want programmatic control. The library is actively maintained, has low install friction, and provides both CLI and async API interfaces. The main caveats are that it relies on reverse engineering (Ring offers no official API) and requires Python 3.9+. No known security vulnerabilities as of 2026-08-14. Copyleft licensing is standard for this use case.
Install
ring-doorbell on PyPI
pip
pip install ring-doorbelluv
uv add ring-doorbellpoetry
poetry add ring-doorbellInstalling ring-doorbell
Before you install
Low install friction with a pure-Python wheel. Actively maintained as of 2026-02-28 with recent activity; 9 runtime dependencies including aiohttp and asyncclick are all standard async/CLI libraries.
License in practice
Licensed under LGPL-3.0-or-later (copyleft). You may use and modify the library freely, but any derivative work must also be licensed under LGPL-3.0-or-later and source made available.
Quickstart
pip install ring_doorbell
import asyncio
from ring_doorbell import Auth, Ring
async def main():
auth = Auth("YourApp-1.0", None, lambda token: None)
ring = Ring(auth)
await ring.async_update_data()
devices = ring.devices()
print(devices)
asyncio.run(main())
Requires Python 3.9+. Ring.com authentication credentials needed; library uses reverse-engineered API (not official).
Verify before relying
- Whether the reverse-engineered Ring API remains stable or if Ring.com has changed endpoints since last release.
- Rate limits or account lockout risks when using the unofficial API.
- Whether firebase-messaging dependency requires additional setup (e.g., credentials file).
Package facts
| License | LGPL-3.0-or-later (copyleft) |
| Python support | supports the current Python release (>=3.9.0) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 9 — aiofiles, aiohttp, async-timeout, asyncclick, firebase-messaging, oauthlib, pytz, typing-extensions, websockets |
| Maintenance | actively maintained — 167 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 84,805/month — #13,971 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: ring_doorbell-0.9.14-py3-none-any.whl
Keywords: camera, door bell, home automation, ring
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
blinkpyA Python library for controlling and monitoring…
permissive · top 15,000 on PyPI
elgatoAsynchronous Python client for controlling and…
permissive · top 15,000 on PyPI
homematicipA Python wrapper for the HomematicIP REST API…
copyleft · top 15,000 on PyPI
jaraco.abodeA Python library that interfaces with the Abode…
permissive · top 15,000 on PyPI
gotailwindAsynchronous Python client for controlling and…
permissive · top 15,000 on PyPI
pyhiveapiA Python library for controlling Hive smart…
permissive · top 15,000 on PyPI
yoto-apiAsync Python client for controlling Yoto player…
permissive · top 15,000 on PyPI
python-miioPython library and CLI tool for controlling…
copyleft · top 15,000 on PyPI
subarulinkInteract with Subaru's MySubaru Connected…
permissive · top 15,000 on PyPI
ha-ffmpegProvides an asyncio-based Python interface to…
permissive · top 15,000 on PyPI