You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the changes made in previous issues, you can now define the number of presets. However WLED has a feature called playlist which actually shows up as a preset, but it allows you to toggle between different presets. For example, if you have 2 presets, and create a playlist, number 3 in your list of presets will be a playlist. This playlist could alternate between presets 1-2 and have them play for 5 seconds and alternate to the next preset.
The issue here is I defined 3 presets in wled preset and 3 presets show up in HomeKit. I created 2 presets and I created a playlist. My playlist (which shows up in WLED as preset 3) alternates between preset 1 & 2 in WLED. If I select Preset 1 in wled-preset from HomeKit, Preset 1 executes. If I select Preset 2 in wled-preset from HomeKit, Preset 2 executes. If I select Preset 3 in wled-preset, my playlist executes. However once I execute Preset 3 in wled-preset, my wled lights will never stop playing that preset. Selecting Preset 1 or Preset 2 in wled-preset does not work. The Power button does work, but when I power the lights back on, they continue to run the playlist.
I am running WLED 0.13.0-b5 if that helps.
The text was updated successfully, but these errors were encountered:
Investigated a bit, and it does not seem that the XML response from WLED contains any details regarding the preset being a playlist or not.
I need to reproduce this and see the behaviour. Based on the behaviour of the plugin, it might be possible from the setActiveIdentifier to recognize if a preset is a playlist or not based on a pattern.
Is there any opportunity to treat the Playlist like a Preset (especially since it is in the same menu) and allow Wled-preset to select both a Preset and a Playlist? Been setting up Christmas lights and the playlists allow your spectators watch through various animations. Would be nice to automate this into HomeKit so you can turn all these on when it gets dark and shut off after a certain time. It will probably work because of the current bug as long as you have it last selected, but it would be nice to give that control into HomeKit through the plugin.
I think this should shed some light on how to approach this. Here is the link to the JSON API call for playlists. I've included a sample response below. There's also this discussion on WLED github that shows how to get presets and use the api to call one.
With the changes made in previous issues, you can now define the number of presets. However WLED has a feature called playlist which actually shows up as a preset, but it allows you to toggle between different presets. For example, if you have 2 presets, and create a playlist, number 3 in your list of presets will be a playlist. This playlist could alternate between presets 1-2 and have them play for 5 seconds and alternate to the next preset.
The issue here is I defined 3 presets in wled preset and 3 presets show up in HomeKit. I created 2 presets and I created a playlist. My playlist (which shows up in WLED as preset 3) alternates between preset 1 & 2 in WLED. If I select Preset 1 in wled-preset from HomeKit, Preset 1 executes. If I select Preset 2 in wled-preset from HomeKit, Preset 2 executes. If I select Preset 3 in wled-preset, my playlist executes. However once I execute Preset 3 in wled-preset, my wled lights will never stop playing that preset. Selecting Preset 1 or Preset 2 in wled-preset does not work. The Power button does work, but when I power the lights back on, they continue to run the playlist.
I am running WLED 0.13.0-b5 if that helps.
The text was updated successfully, but these errors were encountered: