Skip to main content

A Python module designed to control the Elgato brand Lights.

Project description


A Python module designed to control the Elgato brand Lights. For use in automation or in lieu of their Control Center app (when on a non-supported platform).

About the lights

As of this writing, the only compatible hardware is the Elgato Key Light. This hardware operates on Wifi only, anounces itself on the network via mDNS and is controllable via JSON REST. As the lights are not-multicolored the only available controls are on/off, brightness (0-100), and color temperature (from 3000k to 7000k)


When you know the IP, you can do things manually:

>>> import leglight
>>> myLight = leglight.LegLight('',9123)
>>> print(myLight)
Elgato Light ABC12345689 @
>>> vars(myLight)
{'address': '', 'port': 9123, 'name': '', 'server': '', 'productName': 'Elgato Key Light', 'hardwareBoardType': 53, 'firmwareBuildNumber': 192, 'firmwareVersion': '1.0.3', 'serialNumber': 'ABC12345689', 'display': 'Key Light One'}
>>> myLight.on()
>>> myLight.brightness(14)
>>> myLight.color(3500)

Or you can use the discovery module:

>>> import leglight
>>> allLights =
>>> print(allLights)
[Elgato Light ABC987654321 @, Elgato Light ABC12345689 @]
>>> for light in allLights:
...     light.on()
...     light.brightness(5)
...     light.color(3400)




Elgato, Key Light and other product names are copyright of their owner, CORSAIR.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for leglight, version 0.2.0
Filename, size File type Python version Upload date Hashes
Filename, size leglight-0.2.0-py3-none-any.whl (6.0 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size leglight-0.2.0.tar.gz (4.5 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page