Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 848 Bytes

File metadata and controls

26 lines (17 loc) · 848 Bytes

Osram Lightify Local Command Line Controller

Allows for command line local control of Osram Lightify Lights

Thanks to Thomas Friedel for the Library.

  • Turn Lights on and Off
  • Dim and Brighten
  • Control Temp from 2200 - 6500 Kelvin
  • Randomly picks from a list of colors

Probably could be implemented much better but I'm not really a programmer. :)

Works much faster than the OSRAM Cloud API - I am calling this from my home automation system.

Example

$ python3 osram_control.py -g "Great Room" -l "Great Room 01" -a on

Parameters

Params Long Description
-g GROUP --group GROUP Enter the name of the group
-l LIGHT --light LIGHT Enter the name of a light in the group
-a ACTION --action ACTION Valid Actions are on, off, dim, bright, color, temp_up, temp_down, temp_min, temp_max