A library to communicate with with Juwel's HeliaLux Controller
Project description
pyHelialux
Python library to control (and get information from) Juwel's Helialux Smart Controller.
Suppored features
- Get current state of the controller
currentProfilecurrentWhitecurrentBluecurrentGreencurrentRedmanualColorSimulationEanbledmanualDaytimeSimulationEnableddeviceTime
- Enable and disable manual color simulation
- Set the brightness of the channels manually
Example code
import helialux
from time import sleep
c = helialux.Controller(url="http://192.168.1.100")
print(c.get_status())
print("Start manual")
c.start_manual_color_simulation(duration=5) # enable it for 5 minutes (defaults to 60)
sleep(2)
print("just blue")
c.set_manual_color(white=0, blue=100, green=0, red = 0)
sleep(2)
print("just white")
c.set_manual_color(white=100, blue=0, green=0, red = 0)
sleep(2)
print("off")
c.set_manual_color(white=0, blue=0, green=0, red = 0)
sleep(2)
print("Stop manual")
c.stop_manual_color_simulation()
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
pyHelialux-0.1.1.tar.gz
(3.0 kB
view details)
File details
Details for the file pyHelialux-0.1.1.tar.gz.
File metadata
- Download URL: pyHelialux-0.1.1.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.1.post0 requests-toolbelt/0.9.1 tqdm/4.54.0 CPython/3.8.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c1814827f5a03934df6ff16dd3646cfce0584d541baea163edc085c0914e5174
|
|
| MD5 |
eeef789fd3a4b0daf490648ecd4d9a03
|
|
| BLAKE2b-256 |
5899d8c35621e1bb12d1e4ee766f5ed499f56e245aa2a092c6a855f78419ac13
|