Skip to main content

Controls SOLA light engine.

Project description

PyPI version

lle7ch (PyLumencorLightEngine7Channel)

Controls SOLA light engine. It covers this document.

Install

pip install lle7ch

Usage

From Python Script

>>> from lle7ch import LLE
>>> lle = LLE()
>>> lle.enable_lights_disable_others({LLE.Light.RED, LLE.Light.BLUE}) # Enable Red and Blue LED, and disable other lights.
>>> lle.tune_intensity(LLE.Light.RED, 128) # Set intensity of Red LED as 128. (Min: 0, Max: 255)
>>> lle.enable_lights_disable_others({}) # Disable all lights.
>>> lle.read_temperature()
40.0
>>>

CLI Tool

You can make a plan to control LLE automatically.
r: LLE.Light.RED, g: LLE.Light.GREEN, c: LLE.Light.CYAN, u: LLE.Light.UV, b: LLE.Light.BLUE, t: LLE.Light.TEAL

$ cat plan.txt
set g,128
on g
wait 5

set b,255
on b,g
wait 5
$ lleplan plan.txt

License

GNU General Public License v3.0

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

lle7ch-1.0.tar.gz (3.0 kB view details)

Uploaded Source

File details

Details for the file lle7ch-1.0.tar.gz.

File metadata

  • Download URL: lle7ch-1.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.3 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.17.1 CPython/3.6.5

File hashes

Hashes for lle7ch-1.0.tar.gz
Algorithm Hash digest
SHA256 d6bd778439badc67450129907dc8a0bde24286643ca1a51e164674b62e7e40b9
MD5 521ec83f8a50a5bbcdbfa69deec348b8
BLAKE2b-256 0b869e6538f08dc9f890a27de0b6e386eba6c2814b16665cc945ac168dd4efe2

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