cydrobolt / pifx

:bulb: A Python library for the LIFX cloud HTTP API
http://pifx.rtfd.org/en/latest/
Apache License 2.0
51 stars 4 forks source link

p.breathe_lights (or any effect for that matter) doesn't work #15

Open Pcenginefx opened 4 years ago

Pcenginefx commented 4 years ago

Hi - I'm thinking of this broke when LIFX changed their APP - but nothing happens when I put just the basic line of "p.breathe_lights(color='red', duration=2.5)" in a script. Any chance of a fix? Thanks!

cydrobolt commented 4 years ago

Can you try without duration=2.5? I must've forgotten to change the README when duration was deprecated. See 5d00b9bf4279a2d0be58d6698df5eecd72345c97

Pcenginefx commented 4 years ago

I tried it without "duration=x.x" and that actually worked! I should have tried that before....anyway thanks for that fix.

I did want to ask an additional question - so the last thing I really want to do here is just have my LIFX LEDs perform say the "flicker" effect found in the app....but I can't find a way to just run that via pifx (or am I just missing something?)....any easy way to do this?