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

taifurbau
Posts: 1
Joined: Sat Apr 01, 2023 3:04 pm

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

Postby taifurbau » Sat Apr 01, 2023 3:16 pm

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?

sanketwadekar
Posts: 32
Joined: Tue Jul 26, 2022 10:08 am

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

Postby sanketwadekar » Tue Apr 04, 2023 8:06 am

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 ?

ESP_Piyush
Posts: 259
Joined: Wed Feb 20, 2019 7:02 am

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

Postby ESP_Piyush » Tue Apr 04, 2023 1:31 pm

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?

Who is online

Users browsing this forum: No registered users and 27 guests