Skip to main content

Pure Python library to control/provision Broadlink devices

Project description

aiobroadlink

Library to control various Broadlink devices using asyncio

This software is based on the protocol description from Ipsum Domus (?) Details at https://blog.ipsumdomus.com/broadlink-smart-home-devices-complete-protocol-hack-bc0b4b397af1

This software is based on python-broadlink by Matthew Garrett Details at https://github.com/mjg59/python-broadlink

Remote Control device seem to be working alright (both IR and RF)

RM4C are now supported. RM4 PRO are also supported.

A1 device also work.

Provisioning works.

Other will be tested when I get the relevant hardware.

Install with pip3. Be forewarned that aiobroadlink needs the 'cryptography' library. This library will be automatically installed, but for this to succeed, you do need to be able to compile things. To that effect you need a compiler and some header files. On Debian/Ubuntu distributions, this means you need the packages 'libffi-dev' and 'libssl-dev'

You can run

aiobroadlink

or

python3 -m aiobroadlink

If your IP address cannot be guessed, do

aiobroadlink -i xxx.xxx.xxx.xxx

with xxx.xxx.xxx.xxx the IP address of the interface you want to use.

When learning commands, they will be save in the file ~/.aiobroadlink.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aiobroadlink-0.1.3.tar.gz (16.8 kB view hashes)

Uploaded Source

Built Distribution

aiobroadlink-0.1.3-py3-none-any.whl (18.1 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page