samclane / LIFX-Control-Panel

As LIFX no longer supports their Windows 10 app, I created an open-source alternative for controlling LIFX-brand smart lights.
https://github.com/samclane/LIFX-Control-Panel
MIT License
161 stars 19 forks source link

Keybind & Command Line Switch to toggle lights #101

Open Josephur opened 4 years ago

Josephur commented 4 years ago

I couldn't seem to find a way to turn a bulb on and off with the shortcut system, if there is one its beyond me figuring out (or I'm blind).

Would also be super nice to have a command line option to toggle a bulb/switch on and off. For instance lifx_control_panel.exe /on "Computer Desk Lamp"

Some kind of system like this would allow you to create desktop shortcuts and pin them to the start menu to quickly turn lights on and off.

ctoujoma commented 2 years ago

(I know its a quite old post, but its worth a try...)

I'm also super interested in that command line function, Would be super nice in order to make Home Assistant activate the Avg.Screen Color mode,

There's currently some way of achieving that?

Thanks!

samclane commented 2 years ago

(I know its a quite old post, but its worth a try...)

I'm also super interested in that command line function, Would be super nice in order to make Home Assistant activate the Avg.Screen Color mode,

There's currently some way of achieving that?

Thanks!

Unfortunately not as it stands, although that's probably an oversight on my part. A lot of that functionality is hard-coupled to the GUI, which not only makes testing difficult, but limits my ability to easily implement features like the one you described. That doesn't mean it's not worthwhile, however.