Page 1 of 1

Fan speed control is not working in Alexa but works with Google Voice

Posted: Sat Apr 01, 2023 3:16 pm
by taifurbau
I am using ESP Rainmaker and added a device using the following code:

Code: Select all

Param speed("Speed", ESP_RMAKER_PARAM_SPEED, value(1), PROP_FLAG_READ | PROP_FLAG_WRITE);
  speed.addBounds(value(1), value(5), value(1));
  speed.addUIType(ESP_RMAKER_UI_SLIDER);
  my_fan.addParam(speed);
  my_node.addDevice(my_fan);
When I use ESP_RMAKER_PARAM_SPEED, it works with Google Voice, but Alexa does not support. But when I use ESP_RMAKER_PARAM_RANGE it works with Alexa but Google Voice does not work.

How can I code so that both Google voice and Alexa support my fan speed controlling?

Re: Fan speed control is not working in Alexa but works with Google Voice

Posted: Tue Apr 04, 2023 8:06 am
by sanketwadekar
Hi,
On the website https://rainmaker.espressif.com/docs/st ... types.html, it is mentioned that the minimum value of fan speed should be 0, but you have assigned it as 1. I am unsure if that is causing an issue. Can you upload your sketch here ?

Re: Fan speed control is not working in Alexa but works with Google Voice

Posted: Tue Apr 04, 2023 1:31 pm
by ESP_Piyush
Just to add to this, it has been confirmed that the esp-idf based fan example works fine with both, Alexa and GVA. So the cloud services themselves seem fine. For "Speed", what exactly is the issue that you face with Alexa? Does it not even show you the slider in the Alexa app?