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.3.0.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

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

sp110e-1.3.0-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: sp110e-1.3.0.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.11 CPython/3.9.9 Linux/5.11.0-1021-azure

File hashes

Hashes for sp110e-1.3.0.tar.gz
Algorithm Hash digest
SHA256 c32c72c07d8b0cbee4d71f279404af30fe94bfb376d7cb63e81fb31195a5d7f0
MD5 8cafe9589953c79889f321ef7046f1f1
BLAKE2b-256 2f7c50f7a840c6580f28c762dfddb17d2edbdd3bc69f2f8f0fffe097aa57ea03

See more details on using hashes here.

File details

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

File metadata

  • Download URL: sp110e-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.11 CPython/3.9.9 Linux/5.11.0-1021-azure

File hashes

Hashes for sp110e-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 808d2cb9e4e9ba23ebfcc59ae39a185b2b2781ac325ce1381b55414ae5b3ee4f
MD5 a0f60e21d03eb4dfb044b885a333c5c6
BLAKE2b-256 a16b0a52885a64c6fc895a458fc89d45cca26e147f96648592b9c4ccebf9e8ff

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