A very basic WLed control library
Project description
This is a very simple WLed controller
- setup:
import WLed-Control
create a WLed object with “wled = WLedControl(ip, port)”
- Control lights
- to turn it on or off or toggle
- use: onOff()
choses are [“on”, “off”, “toggle”]
- Control brightness
- to get the brightness
use: get_bri()
- to set the brightness
- use set_bri()
with a value between 0 and 255
- Control color
- to get the color
- use: get_col()
you will get the RGB values
- to set the color
- use: set_col()
with the RGB values or a color name
- Control effect
- to get the effect
use: get_fx()
- to set the effect
- use: set_fx()
with a value between 0 and 101 or the name of the effect
- Control speed
- to set speed
- use: set_speed()
with a value between 0 and 255
Change Log
0.0.1 (19/04/2020)
First Release
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
WLed-Control-1.1.2.tar.gz
(3.4 kB
view details)
File details
Details for the file WLed-Control-1.1.2.tar.gz.
File metadata
- Download URL: WLed-Control-1.1.2.tar.gz
- Upload date:
- Size: 3.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.10.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4382230f7f7b76f851de051faa6e387c79b2b8c4a6b6cfa72ff9450b810200bd
|
|
| MD5 |
e127d0a0a4e8c84790541ecbc478bc57
|
|
| BLAKE2b-256 |
7af5a37ca7f1bf4644010d88e9a4e4ab1a684cc9983af36a07d7f893bf4f0883
|