AppLamp Python API

AppLamp Python API is a library for controlling AppLamp lighting from your Python code.

Installation

  • Install using pip:

    sudo pip install applamp
    
  • Or download the repository and install with setup.py:

    sudo python setup.py install
    

Examples & Documentation

Controlling white light bulbs:

from applamp import WhiteLight

light = WhiteLight()
light.on()
light.warmer()
light.fade_out()
light.night_mode(group=1)

Controlling RGB light bulbs:

from applamp import RgbLight

light = RgbLight()
light.fade_in()
light.hue(100)  # changing color
light.next_effect()

You can see a list of all methods and their descriptions in the reference documentation.

Disclaimer

I’m not affiliated with AppLamp in any way. This project is not endorsed, supported or funded by the company. They are probably really cool guys, but I don’t know them. “AppLamp” is most likely a registered trademark belonging to the company.