# LifX command line utility to change the state of your lifx bulb. Essentially a wrapper for the pylifx python module. # https://github.com/MichaelAquilina/lifx-cmd # Power your bulb on and off: lifx power on lifx power off # Change its RGB state: lifx rgb 1 0 0 # Red light lifx rgb 0 1 0 # Green light lifx rgb 0 0 1 # Blue light lifx rgb 1 0 1 # Magenta light # Same approach can be taken with HSB. For example: lifx hsb 0 1 1 # The temperature of the bulb can also be set to yellow tinge or pure white LED: lifx temperature 65535 # bright white lifx temperature 0 # classic yellow # By default the bulb is set to fade in changes sent over a period of 1 second. You can change this with the -f flag: lifx -f 0 rgb 0 1 0 # Immediately change to green lifx -f 10 temperature 65535 # Change to white over a period of 10 seconds