Skip to content
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

Custom presets #19

Open
FeBe95 opened this issue Mar 10, 2019 · 0 comments
Open

Custom presets #19

FeBe95 opened this issue Mar 10, 2019 · 0 comments

Comments

@FeBe95
Copy link

FeBe95 commented Mar 10, 2019

Is your feature request related to a problem? Please describe.
Currently only pre-installed presets are supported. Switches for custom presets are not possible.

Describe the solution you'd like
Something like this would be nice:

"presetSwitches": [
    ...
    {
        "name": "Red & Purple Fading",
        "ips": {"192.168.1.101": "255,255,255"},
        "preset": "custom",
        "presetMode": "gradual",
        "presetString": "26,0,0 0,0,0 26,0,26 0,0,0",
        "speed": 57
    },
    ...
]

resulting in a call to flux_led with the following parameters:

flux_led.py 192.168.1.101 -C=gradual 57 "26,0,0 0,0,0 26,0,26 0,0,0"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant