Skip to main content

A small package to control Brihome smart led bulbs.

Project description

python-brihome

PyPI version

This library aims to control the brihome smart light bulbs. It internally uses the pytuya library and is able to control many parameters on the led bulb.

install via

pip install python-brihome

Actually the briihome is part of a family of ESP8266MOD low cost WiFi smart devices from Shenzhen Xenon. These bulbs are sold under different names. If your bulb was around 10-20€, and port 6668 is open chances are good you can control it with this library.

Docs

For an example see examples.

FAQ

In Order to use the brihome.Bulb(...) constructor you need to obtain the local device id and the device key that your bulb uses. You can find these by sniffing the brihome app's traffic. Refer to this document to obtain valid device id and device key.

Contributing

Pull request are welcome. Not every function the bulb supports are implemented. Help on error handling and extended functionality is welcome.

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

python-brihome-0.0.3.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_brihome-0.0.3-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

Details for the file python-brihome-0.0.3.tar.gz.

File metadata

  • Download URL: python-brihome-0.0.3.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2

File hashes

Hashes for python-brihome-0.0.3.tar.gz
Algorithm Hash digest
SHA256 4af8e8116dd6e94cba5c0f9dfbcfb8c3baac52a907c7477af95da31e0c8a2f03
MD5 7fda552896cd5bdabe35882028337d78
BLAKE2b-256 26cd2d8fc374242583e753a52f24fc50d4945d3aa49a446bd18dc47e3147a4cf

See more details on using hashes here.

File details

Details for the file python_brihome-0.0.3-py3-none-any.whl.

File metadata

  • Download URL: python_brihome-0.0.3-py3-none-any.whl
  • Upload date:
  • Size: 3.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.12.1 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.6.3 requests-toolbelt/0.8.0 tqdm/4.29.1 CPython/3.7.2

File hashes

Hashes for python_brihome-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 df8cb62d4832bb2e81f069e74561c8983fd8f941563797c83f3fdc7c0260a419
MD5 dd5764410694440ee52332bb88848c30
BLAKE2b-256 9c81ef76d73cc36c4efeade132a04f0426392bb78c457d6900c6b1744df4131d

See more details on using hashes here.

Supported by

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