Skip to main content

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


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

Uploaded Source

File details

Details for the file WLed-Control-1.1.1.tar.gz.

File metadata

  • Download URL: WLed-Control-1.1.1.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.4

File hashes

Hashes for WLed-Control-1.1.1.tar.gz
Algorithm Hash digest
SHA256 a1f241245d25099e6fddd9219a14c0e69ed008a63634a6b7e9f7464544accc62
MD5 e7997b28271e6e6f68c13a56609ced25
BLAKE2b-256 39b64a86cf5bb0d6e541984ee742749836c6ddf93f28528e4cf683fceb05e15d

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