SDK for communication with jbmedia light manager air
Project description
Light Manager Air SDK (Python)
This is an SDK for communication with the light manager air from the vendor jb media (https://www.jbmedia.eu/light-manager/).
The loading of zones, actuators and scenes is supported as well as the execution of the respective commands.
It is also possible to listen for radio bus signals.
Examples
Connect to Light Manager Air
lmair = LMAir("http://lmair")
Call a specific command
zones, scenes = lmair.load_fixtures()
zones[0].actuators[0].commands[0].call()
Turn a light on when a radio bus signal is received
def callback(data):
if data == "12282E9A":
zones[0].actuators[0].commands[0].call()
lmair.stop_radio_bus_listening()
lmair.start_radio_bus_listening(callback)
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
Built Distribution
Close
Hashes for light_manager_air-1.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bae4b89f7e953b26b02e8875128a5d451f398fbc688e453aca43a4dee690b89b |
|
MD5 | 93819f953aa8f2d70cd2cda03dbb6e24 |
|
BLAKE2b-256 | 17b8d0748d0d924b32ee668d8d74d5e74f83ac335b289b96293294364ffc7548 |