Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Get API Key Here: https://cloud.lifx.com/settings
- # Get Scene UUID Here: https://api.developer.lifx.com/docs/activate-scene
- import pifx
- p = pifx.PIFX(api_key='API KEY HERE')
- p.activate_scene(scene_uuid='SCENE UUID HERE', duration=1.0)
Advertisement
Add Comment
Please, Sign In to add comment