Fan speed control is not working in Alexa but works with Google Voice
Posted: Sat Apr 01, 2023 3:16 pm
I am using ESP Rainmaker and added a device using the following code:
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?
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);
How can I code so that both Google voice and Alexa support my fan speed controlling?