-
Notifications
You must be signed in to change notification settings - Fork 206
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ola_trigger Improvements was Add Elegato light control #1848
Comments
@gobo-ws strikes again! https://github.com/gobo-ws/ola-trigger-elgato-key-light-dmx Do you want to put this in the contrib folder too @gobo-ws ? Or maybe we should just link to your projects list or something? I'm also wondering with some of the rest of these, do we need to improve ola_trigger to make them a bit more useable for situations like this? E.g. as step one, if you could pass in some variables on the command line, you could control 2 or many more of them with one common config file by running multiple instances like so: I think that could potentially be as simple as just prepending the config lines to the beginning of the parsed config file, with maybe multiple lines being passed in via multiple --config options. I guess the next extension would be a meta config, where you don't need to run two copies of ola_trigger, you can pass in one config file which sets all those options for multiple internal instances, but that's perhaps one for the future. |
Hehe! Your ideas regarding improvement of ola_trigger sound very good. I look forward to the further development of that part. |
Adding a scale feature would also be useful:
I suspect separately this means some sort of scale command would simplify repetitive config a lot. Originally posted by @peternewman in #1849 (comment)
I totally agree with your opinion, but I don't see how it can be done in the configuration script since it does not support any scale commands. Otherwise this can be solved by adding a shell script but in this case I wanted to do a simple script without the need for any shell script. Originally posted by @gobo-ws in #1849 (comment) |
Yeah I'm unsure of the right option here. We probably at least need some signposting so people know they exist, maybe an awesome list or similar: I certainly wouldn't want to take away credit from all your hard work and the cool ones you've done. My gut feeling is we could maybe include ones with minimal dependencies (e.g. just curl or bc or similar), but maybe leave out ones which need lots of other supporting tools/scripts. We should probably also either get them into the Debian package as examples, or shipped in another optional package (which could add the required core dependencies so they'd just run). Thoughts @yoe . But I kind of figure if you make them more available, it's a good base for someone to adapt to do what they want and get better use of the tool. Someone did a basic media player before, having that packaged so you could just run it would be pretty cool I think.
Great, I think we could gather other potential improvements to it here. |
Hello again. I created a list, you can find it here: https://github.com/gobo-ws/misc/blob/main/ola_trigger.md |
Some useful info:
https://web.archive.org/web/20210806013041/https://trevorsullivan.net/2020/08/17/automate-the-elgato-key-light-air-with-powershell/
https://github.com/pcgeek86/elgato/blob/master/elgato/elgato.psm1
https://github.com/NickParks/elgato-light-api
Basic functionality ought to be possible via ola_trigger, like so:
https://github.com/OpenLightingProject/ola/blob/master/tools/ola_trigger/contrib/philips_hue_osram_lightify.conf
But a plugin would offer nicer integration of e.g. discovery via Bonjour etc and generally simplify patching and controlling a whole load of them on different channel numbers.
The text was updated successfully, but these errors were encountered: