Python Ring Doorbell

A Python library and CLI tool for interacting with Ring doorbell cameras and other Ring devices through an unofficial API.

What it is

Python Ring Doorbell is an open-source library that provides programmatic access to Ring.com smart home devices. It allows developers and tech-savvy users to control their Ring doorbells, chimes, and stickup cameras using Python code or a command-line interface. The project was created by reverse engineering the unofficial Ring API since no official developer API is publicly available.

The library supports both asynchronous and synchronous interfaces, making it suitable for various automation and integration projects. Users can list their devices, check device health, download videos, enable or disable motion detection, control lights on compatible cameras, and even listen for real-time push notifications similar to those sent to the Ring mobile app.

Getting started requires Python installation and using pip to install the package. Users must provide their Ring account credentials for authentication, which may include two-factor authentication support. The project includes comprehensive documentation and code examples to help developers integrate Ring devices into their smart home systems or custom applications.

This tool is particularly valuable for home automation enthusiasts, developers building smart home integrations, and anyone looking to extend the functionality of their Ring ecosystem beyond the official applications. The open-source nature of the project encourages community contributions and ongoing development.

This description was generated by AI from the site's public content and may contain errors.

What you can do there

  • Programmatic control of Ring devices through Python code
  • Command-line interface for basic device management
  • Device status monitoring and health checks
  • Video download and event history access
  • Real-time notification listening

Who it's for

Developers and tech-savvy users interested in home automation and Ring device integration

Frequently asked questions about Welcome to python-ring-doorbell’s documentation! — python-ring-doorbell 0.9.14 documentation

›What is Python Ring Doorbell?

It is an unofficial Python library that allows you to programmatically control and monitor your Ring doorbells, cameras, and chimes through code or command line.

›Is this an official Ring.com product?

No, this is a community-developed open-source project that reverse engineers the Ring API since no official API is provided by Ring.

›What can I do with this library?

You can list devices, download videos, control motion detection, adjust device settings, receive notifications, and integrate Ring devices into your automation systems.

›How do I install the Python Ring Doorbell library?

You can install it using pip with the command 'pip install ring_doorbell' or install the latest development version directly from GitHub.

›Does it support two-factor authentication?

Yes, the library includes support for Ring accounts that have two-factor authentication enabled through an OTP callback function.

›Can I use this without programming knowledge?

The command-line interface provides basic functionality for non-developers, but full utilization requires some Python programming knowledge.

›What types of Ring devices are supported?

The library supports doorbells, chimes, and stickup cameras, providing control over their various features and settings.