ImSammy

LIFX Python Script v1.0

Jul 3rd, 2018
540
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.12 KB | None | 0 0
  1. #!/usr/bin/env python
  2. import pifx
  3.  
  4. p = pifx.PIFX(api_key='API KEY HERE')
  5.  
  6. p.toggle_power('label:LIGHTLABEL', duration=1.0)
Add Comment
Please, Sign In to add comment