vintlabs / fauxmoESP

Add voice control of your ESP32 and ESP8266 devices using Amazon Alexa
MIT License
391 stars 71 forks source link

Alexa: Device doesn't support requested value #192

Open aakashbajaj opened 3 years ago

aakashbajaj commented 3 years ago

I am using fauxmoESP library version 3.4.0 with NodeMCU Alexa shows the following issue. The devices' commands work fine. But this randomly appears in the app.

image

intouchrandb commented 3 years ago

Same thing here with the Alexa app. I'm using an esp8266 12E, Arduino core 2.42, Fauxmo 3.4. LwIP Variant set to "v1.4 Higher Bandwidth. Alexa voice commands work great. I also randomly get Device is unresponsive. If I zoom in on the Light and turn it on or off or adjust the brightness it works and clears the error for a very short time.

romoloman commented 2 years ago

I have noticed on esp32 that, after setting brightness, on echo or alexa app the error disappears until next esp32 reboot.

Tejas-MD commented 2 years ago

+1, I am interested in debugging this too. Is it related to not using the setstate method? Library code link here Gonna try it asap.

problemss commented 2 years ago

Any luck on this?

momja commented 1 year ago

This issue doesn't seem to cause any behavioral issues with switching on and off, is it an issue with Alexa?

momja commented 1 year ago

I've observed that setting the brightness on the devices seems to resolve the issue, but I'm not sure why.

Tejas-MD commented 1 year ago

I've observed that setting the brightness on the devices seems to resolve the issue, but I'm not sure why.

Just to clarify, "devices" here refers to the mobile app?

momja commented 1 year ago

I've observed that setting the brightness on the devices seems to resolve the issue, but I'm not sure why.

Just to clarify, "devices" here refers to the mobile app?

I meant to say that, from the mobile app, when I set the brightness for each of the configured "lights" it seems to resolve the issue.

Honestly, I'm not sure I'm able to reproduce that behavior though. Last night when I was testing, I still encountered this error message ("Device doesn't support requested value") in the Alexa app even after adjusting brightness.

hanyNaji commented 5 months ago

it worked with me and also did not say "device is unresponsive" after adjusting the brightness value that the device(ESP8266) sends to alexa:

if the state is off, bri = 1 -> this is 0% brightness on Alexa if the state is on, bri = 254 -> this is 100% brightness on Alexa

so do not let the brightness 255 or 0, just make it 1:254