# mjg59/python-broadlink

Python module for controlling Broadlink RM2/3 (Pro) remote controls, A1 sensor platforms and SP2/3 smartplugs

Repository: https://github.com/mjg59/python-broadlink
Canonical: https://ross.abutalabs.com/products/python-broadlink
Language: Python
License: MIT
License Family: permissive
Last push: 2024-08-04T18:25:33+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3639, "days_push": 759, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1536, forks 498 (observed 2026-08-28T04:04:59.880132+00:00)

## What it is
A Python library and CLI for controlling Broadlink smart home devices locally over the network, including universal remotes, smart plugs, sensors, bulbs, and more. It handles device discovery, authentication, and device-specific control commands.

## Use cases
- control broadlink smart plugs from python
- learn and send IR codes with broadlink RM4
- discover broadlink devices on local network
- read temperature and humidity from A1 sensor
- control broadlink light bulbs without cloud
- automate broadlink curtain motor
- integrate broadlink devices into home automation

## When to choose
- you want local, cloud-free control of Broadlink devices
- you need programmatic access to Broadlink devices from Python
- you're building home automation integrations (e.g., Home Assistant)
- you need to capture and replay IR/RF remote codes

## When to avoid
- you need official cloud API features or remote access outside LAN
- your device model is not in the supported list
- you need a GUI app rather than a library/CLI

## Facets
- artifact type: library
- maturity: active
- function: sdk, cli, developer-tools, iot
- domain: iot, developer-tools
- platform: python, cli, cross-platform
- tags: broadlink, smart-home, home-automation, universal-remote, smart-plugs, local-control, ir-remote, rf-remote, automation

## Member repositories
- mjg59/python-broadlink (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:59.880132+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:31:05.811858+00:00, confidence not recorded.
  - readme: https://github.com/mjg59/python-broadlink (fetched 2026-08-28T04:04:59.880132+00:00, sha 0a96e189569c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
