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
Examples
from sp110e.controller_sync import ControllerSync
device = ControllerSync()
device.connect('AF:00:10:01:C8:AF')
device.switch_on()
device.set_color([255, 0, 0])
device.set_brightness(255)
device.disconnect()
Development
Create new release
semantic-release publish
Publish to PyPi
poetry publish --build
Integrations
Useful links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sp110e-0.9.0.tar.gz
(6.1 kB
view hashes)
Built Distribution
sp110e-0.9.0-py3-none-any.whl
(7.0 kB
view hashes)