skillfed

ring-doorbell

A Python library to communicate with Ring Door Bell (https://ring.com/)

ring-doorbell v0.9.14 84.8K downloads/30d#13,971 on PyPI695
Copyleft license LGPL-3.0-or-later Active released

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-doorbell

uv

uv add ring-doorbell

poetry

poetry add ring-doorbell

Installing 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

Environment :: Other EnvironmentIntended Audience :: DevelopersLicense :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)Operating System :: OS IndependentProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.9Topic :: Home AutomationTopic :: Software Development :: Libraries :: Python Modules

Tags

ring doorbell api pythonring camera control libraryhome automation ring devicesring video download pythonring device management api
home-automationreverse-engineered-apiasync-first

More Python Modules packages