Skip to content

andreasofthings/python-lightify

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

53 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

python-lightify

UNMAINTAINED.

Please see the new repository maintained by tfriedel.

Python module for OSRAM Lightify Based on work from Mikael Magnusson. (Github: mikma)

Packaged up for pypi by Andreas Neumeier

It communicates with a Lightify gateway connected to the same LAN via TCP port 4000 using a binary protocol.

This is a work in progress.

Usage

```shell
pip install lightify

```

Example

Turn on all lights connected to the gateway.

```python

from lightify import Lightify

lightify = Lightify("Lightify-Hostname") lightify.update_all_light_status() lights = lightify.lights() for light in lights.keys():

lights[light].set_onoff(True)

```

About

Python module for Osram lightify. This is not maintained anymore. Please see https://github.com/tfriedel/python-lightify

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%