Skip to main content

Control SP110E BLE RGB LED device from computer

Project description

SP110E Python Library

Control SP110E BLE RGB LED device from computer

Install

pip install sp110e

Tools

  • Controller: High-level SP110E asynchronous controller. Use it only in asynchronous environment (with asyncio)
  • ControllerSync: Synchronous adapter for high-level SP110E asynchronous controller. Handy tool to use from Python shell or synchronous (normal) environment
  • Driver: Low-level SP110E asynchronous BLE driver based on bleak library. Use it only if you know why

Documentation

Full API Reference

Examples

Quick start:

from sp110e.controller_sync import ControllerSync

device = ControllerSync('AF:00:10:01:C8:AF')
device.switch_on()
device.set_color([255, 0, 0])
device.set_brightness(255)

More examples

Development

Create new release

Push changes to 'main' branch following Conventional Commits.

Update documentation

docs folder is being updated automatically by GitHub Actions when source files are changed.

Integrations

Useful links

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

sp110e-1.4.2.tar.gz (6.8 kB view details)

Uploaded Source

Built Distribution

sp110e-1.4.2-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

Details for the file sp110e-1.4.2.tar.gz.

File metadata

  • Download URL: sp110e-1.4.2.tar.gz
  • Upload date:
  • Size: 6.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.9.13 Linux/5.15.0-1017-azure

File hashes

Hashes for sp110e-1.4.2.tar.gz
Algorithm Hash digest
SHA256 964483ecbee8cfd49a0aa5f191a52b544d62310a2e978b7bfdd95207d7a6d709
MD5 6fca4d8e7520a887c40bbff1f8761f24
BLAKE2b-256 fa790a29afeac62477f209315cbcf0a696645af770faab0840e9f1356e083c76

See more details on using hashes here.

File details

Details for the file sp110e-1.4.2-py3-none-any.whl.

File metadata

  • Download URL: sp110e-1.4.2-py3-none-any.whl
  • Upload date:
  • Size: 8.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.0 CPython/3.9.13 Linux/5.15.0-1017-azure

File hashes

Hashes for sp110e-1.4.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ad00046863e447bf9e5997ad13706605d1ca80ccf65d85246e89cdfdabd0a403
MD5 d12de1558e4540230797fd76a9038866
BLAKE2b-256 9fad31496c6ddc51137e062fd3017fd991ac504c15a332c288a31dacd4931bc8

See more details on using hashes here.

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