1. Editable Device
Environment: Device Management
Ability to edit the device.
2. Basic Device Effect Saving (bug)
Fixed and Deployed
https://github.com/simon-wh/LedFx/commits?author=simon-wh
Tested and is working. Thanks @simon-wh 👍
Got this bug though: https://github.com/Mattallmighty/LedFx/issues/2
3. Dashboard
Environment: Dashboard
Deployed
Added display current effect - pulled from the API, and can have an overview of what is being pushed to devices.
4. Audio Channels
Environment: Device
Within effect, can select to assign reactive audio settings for channels from one of the following options:
- mono
- stereo
- left
- right
Would also be good to have Material UI: Range sliders for the audio frequency you will use on the effect.
Front end done, but backend audio.py needs to be actioned;
5. Click on device name loads current effect of the device
Environment: Device
Fixed and Deployed
When you click on the device name, will do an API call: http://127.0.0.1:8888/api/devices/102/effects, loads front end material-ui inputs with the current set effects.
For example:
Click on device 102
Does API call: http://127.0.0.1:8888/api/devices/102/effects
API call is: {"effect": {"config": {"brightness": 1.0, "blur": 4.0, "scale": 1.0, "Audio_Channel": "Mono", "mirror": true, "flip": false}, "name": "Energy", "type": "energy(Reactive)"}}
And will put the front end options in place from the API call
6. Front End change Material UI: Slider in device effect
Environment: Device
Add in Material UI: Slider to replace brightness and other device effect settings.
https://material-ui.com/components/slider/ - Tooltip value label
7. Group Devices
Environment: Device Management
Within Manage Devices, ability to group devices, so can set effect and deploys to two devices at the same time.
Example: Manage Devices, can edit: LED1 to link with LED2. When LED1 is updated, so is LED2. LED2 will be greyed out/cannot select device option.
8. New effect: WLED
Environment: Device
Rethinking this, I don't this is possible via the WLED API due to the delay in E1.31 mode to WLED effect mode.
Within Device, effect option will be: WLED.
Need to get from API 'ip_address' feild to use as a string, for example: http://127.0.0.1:8888/api/devices/102
As soon as selected WLED from dropdown (Async), disables E1.31 multicast of the device, and will then have full flexibility to select Effects, Palettes, Effect Intensity - as the option is selected.
Like what Frenck has done on Home Assistant: https://github.com/frenck/python-wled
https://cdn.discordapp.com/attachments/621678796101124106/641272718574223372/68167769-f42f5300-ff66-11e9-896c-3c29c8da3252.gif
Backend: https://github.com/Aircoookie/WLED/wiki/HTTP-request-API
9.0 Save Presets
Environment(New): Presets
Deployed
Create "Presets" of all LEDs devices current effect settings.
Under Device Management, bottom right hand corner have a button that, pops out that allows the user to create a name of the preset(For example: Default), upon clicking save, saves all the current effect settings pulled from: http://127.0.0.1:8888/api/devices and save to config.yaml.
C:\Users\mattallmighty\AppData\Roaming.ledfx\config.yaml
When you click on preset, it will POST in place all the current effects for all the devices.
9.1 Keyboard & MIDI input trigger
Environment(New): Presents
Rethinking this, we can achieve this in Q light plus - Fuctions: Script - LedFx API Activate preset and assign MIDI button on launchpad to deploy effect.
Keeping the below as backup...
Assign a keyboard key, or MIDI key to a preset.
Ability to be direct switch or momentary switch (ie holding down keyboard (a) will POST the assigned preset.
9.2 Spotify API - View song, Play/Pause, Next track.
Environment(New): Web page banner, like Soundcloud
Via Spotify API get users current track.
Front end banner displays Spotify User's Currently Playing Track, with buttons for Play/Pause, Next track.
9.3 Spotify API - song + right time = output API
As defined in "Preset Management"
Button in "Preset Management" that shows There will be a drop down of the current presets saved, and can create a button that creates a trigger for if this song, and this time, then apply this Preset.
https://github.com/plamere/spotipy