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
Hi,
I can succesfully use the webinterface to controll an LED strip and it is found in the Alexa app without any issues. The on/off status and brightness changes in the webinterface also gets updated in the Alexa App. But performing actions like switching off or adjusting the brigness from the app side, doesn´t have any effect.
Am I missing something?
Thank you, David
Hey,
I believe this is an issue I already know that happens when you use the ESP8266 core version 2.4.0 and compile the source yourself. There is a bug in the Alexa protocol which the ESP can't handle properly in that Arduino core version.
The "fix" for now is to either use Arduino core 2.3.0 or to apply this workaround: Aircoookie/Espalexa#6 (comment)
Let me know if this solves the problem for you!
Thank you,
must have missed this. Works perfect now! =)
Anyway, what would be the benefit of getting a Hue Hub and use the integration? May I use is for color changes on voice commands than?
I'm glad that it works for you now! I'll keep the issue open for now so it can help others. :)
The hue integration can only work if you have the hue bridge hub and a hue lamp (preferably color). Due to the limitations of their API it is unfortunately impossible to add non-Hue lights to their system. All WLED can do is request the state of a Hue lamp every second or so (you can set this in the settings) and set itself to the same color. This means you can only control the WLED light together with the hue lamp, not separately. In that case, color changes via Alexa work perfectly! (although there is a small bug in the Hue protocol which can cause the color to be slightly different from the actual color for 30 seconds and then adjusting). Also it is the best way to use WLED with a Google home device, the other one being IFTTT, which is quite a hassle to setup and exposes your ESP to the public net. It would also work to borrow a hue color bulb, pair it to the bridge, and then remove it from the setup. You can then still update the "virtual" bulb without it being actually there and use it to control WLED.
Overall, in my opinion the hue integration feature is more aimed at those who want to cheaply extend their expensive hue setups using WLED and easily sync them. I don't know if it's worth the hassle for you personally to buy a hue setup just to control WLED colors by voice... Unless you always wanted to try out Philips hue itself (it's quite great!). /rant over =)
P.S.: I'd really love to extend the Alexa integration to support colors, but that is not possible with their current implementation of the local API. The only option which would work is to have a cloud based bridge server, which is both totally beyond my current abilities and to be avoided in an open-source project like WLED.
Would it be possible to add each saved preset as a new "device" discoverable by Alexa. Then it could be possible to use Alexa voice control to switch between saved patterns/presets.
Yes, this is a great idea! I'll add it soon, but it will take a while as there is a lot to do currently! I might even extend that so you could set the color by saying "Alexa, set hue to 20 percent", where you just roughly need to know, which hue on the 0-100 scale your color is.
I compiled the new code and applied the workaround in Arduino Core 2.4.1. Doesn't seem to work.
With every change I still get : Device 1 changed to ON.
@Jakespta thanks for the feedback! I've never tried this workaround with core 2.4.1, just 2.4.0. Did a quick look and in 2.4.1 the line to replace is 192, not 193, but I believe you already figured that out!
Have you tried this with WLED or with Espalexa?
I'll have to install 2.4.1 and see if I can find a new workaround if the 2.4.0 workaround doesn't work anymore.
Activity
Aircoookie commentedon Apr 9, 2018
Hey,
I believe this is an issue I already know that happens when you use the ESP8266 core version 2.4.0 and compile the source yourself. There is a bug in the Alexa protocol which the ESP can't handle properly in that Arduino core version.
The "fix" for now is to either use Arduino core 2.3.0 or to apply this workaround: Aircoookie/Espalexa#6 (comment)
Let me know if this solves the problem for you!
d-works42 commentedon Apr 9, 2018
Thank you,
must have missed this. Works perfect now! =)
Anyway, what would be the benefit of getting a Hue Hub and use the integration? May I use is for color changes on voice commands than?
Aircoookie commentedon Apr 9, 2018
I'm glad that it works for you now! I'll keep the issue open for now so it can help others. :)
The hue integration can only work if you have the hue bridge hub and a hue lamp (preferably color). Due to the limitations of their API it is unfortunately impossible to add non-Hue lights to their system. All WLED can do is request the state of a Hue lamp every second or so (you can set this in the settings) and set itself to the same color. This means you can only control the WLED light together with the hue lamp, not separately. In that case, color changes via Alexa work perfectly! (although there is a small bug in the Hue protocol which can cause the color to be slightly different from the actual color for 30 seconds and then adjusting). Also it is the best way to use WLED with a Google home device, the other one being IFTTT, which is quite a hassle to setup and exposes your ESP to the public net. It would also work to borrow a hue color bulb, pair it to the bridge, and then remove it from the setup. You can then still update the "virtual" bulb without it being actually there and use it to control WLED.
Overall, in my opinion the hue integration feature is more aimed at those who want to cheaply extend their expensive hue setups using WLED and easily sync them. I don't know if it's worth the hassle for you personally to buy a hue setup just to control WLED colors by voice... Unless you always wanted to try out Philips hue itself (it's quite great!). /rant over =)
P.S.: I'd really love to extend the Alexa integration to support colors, but that is not possible with their current implementation of the local API. The only option which would work is to have a cloud based bridge server, which is both totally beyond my current abilities and to be avoided in an open-source project like WLED.
[-]Alexa App not working[/-][+]Alexa App not working on Arduino core 2.4.0[/+]nbietz commentedon Jun 26, 2018
Would it be possible to add each saved preset as a new "device" discoverable by Alexa. Then it could be possible to use Alexa voice control to switch between saved patterns/presets.
Aircoookie commentedon Jun 27, 2018
Yes, this is a great idea! I'll add it soon, but it will take a while as there is a lot to do currently! I might even extend that so you could set the color by saying "Alexa, set hue to 20 percent", where you just roughly need to know, which hue on the 0-100 scale your color is.
Juanko984 commentedon Jul 5, 2018
I compiled the new code and applied the workaround in Arduino Core 2.4.1. Doesn't seem to work.
With every change I still get : Device 1 changed to ON.
Aircoookie commentedon Jul 5, 2018
@Jakespta thanks for the feedback! I've never tried this workaround with core 2.4.1, just 2.4.0. Did a quick look and in 2.4.1 the line to replace is 192, not 193, but I believe you already figured that out!
Have you tried this with WLED or with Espalexa?
I'll have to install 2.4.1 and see if I can find a new workaround if the 2.4.0 workaround doesn't work anymore.
Merge pull request #10 from atuline/master
Merge pull request wled#10 from THATDONFC/master
enable bandpass filter for analog input
bugfix for random crash when switching between presets
bugfix for random crash when switching between presets
docs: add Forgejo issue number (Fixes wled#10) to DRAFT_PR.md