AlexaEnhancementV2
Pre-releaseCall different presets "by name" using Alexa Echo devices, e.g. "Alexa, turn Rainbow on", "Alexa, turn Firework on" etc. This is achieved by creating individual Alexa devices for up to 9 presets in addition to the one configured in WLED's Alexa configuration.
Usage instructions:
- Disable Alexa in WLED.
- Name the presets (IDs 1 up to 9) like you want to call them when using Alexa, e.g. Rainbow, Firework, Knight Rider, ...
- Re-enable Alexa in WLED.
- Delete all devices in Alexa that already exist for this WLED device (including the one configured in WLED's Alexa configuration) and then let Alexa search for devices again. You do not need to delete existing devices if you did not edit existing names/preset IDs but just added new presets. Deleting is mandatory if you used version AlexaEnhancementV1 before.
- Switch on your presets by simply calling them by their name, e.g. "Alexa, turn Rainbow on". Switch to another preset by simply calling it by another name, e.g. "Alexa, turn Firework on". Use any name for switching off. Additionally the original device exists, that you configured in WLED's Alexa configuration.
- Repeat steps 1 to 5 whenever you change preset names/IDs in WLED.
Of course you may try my code or flash the provided D1 mini firmware if you consider this functionality useful. The same license and disclaimer apply as given for the original WLED project. Be aware that I'm far less familiar with the code than the original authors, so - although it works for me - the risk for harmful bugs may be higher. E.g. sometimes I got a "Cannot connect to light" error after flashing (which may be caused by my quite "experimental" wiring instead of using the right connector), but after a reboot all worked fine afterwards.