LIFX-Control-Panel
LIFX-Control-Panel copied to clipboard
More keyboard shortcuts
Hey. I have Elgato Stream Deck. It can launch keyboard shortcuts, so I can change colors of my bulb. But I can't turn it on/off and change brightness. Can you add shortcuts for that?
I still need to add a GUI option to add "On/Off" and "Brightness" keybinds. However, if you want to get this functionality right-away, you can do the following:
- Add a keybind of your choice, with the desired Light/Group, Keys, and Shade (ignoring brightness)
- Open your
config.inifile, which should be in the same folder as your.exe - Look for the section titled [Keybinds]
- Find the keybind that you just added, for example if I added a keybind for "LeftCtrl+R" to turn my "Lamp" Red, the entry would look like this:
lcontrol+r = Lamp:[65535, 65535, 65535, 3500] - The 4 numbers in brackets are your color in HSBK form. This stands for "Hue, Saturation, Brightness, Kelvin". The key here is the 3rd number is brightness. The range for the values are [0, 65535]. If you wanted to half the brightness, you'd replace the line with
lcontrol+r = Lamp:[65535, 65535, 32767, 3500]. To "turn off the light", you'd set the brightness to 0 like this:lcontrol+r = Lamp:[65535, 65535, 0, 3500].
Note: This last one will just set the brightness to 0, so the light won't be "off" strictly speaking. It will be completely dark, however.
Thanks for temporary solution. I will check if the lamp heats up when brightness is set to 0. Still it's not convenient to change brightness like this. This way I will have to add at least 11 buttons on my Stream Deck that will change brightness from 0 to 100. It would be much better to have only 2 buttons that can change brightness by 5% up and down. Hope you will implement this in future.
Also, using keyboard shortcuts is not that great. One Stream Deck "screen" have 14 buttons. My plan was to fill one screen with different colors so I will have to use 14 keyboard shortcuts for that. And they can cross with other apps. Maybe it is possible to send a commant to your app by launching it with some parameters? Stream Deck can do that.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as closed because it has not had any further activity since being marked stale. Please contact the repository owner if you think this is in error. Thank you.