Can I use FauxmoESP with an Alexa skill?

I am using Alexa to give voice commands/voice input. I want to send data such as the amount of degrees I want to turn a stepper motor. To this end, the turn on/off functionality of fauxmoESP isn't enough. I still want to use some of the methods, but will it still be compatible if I were to use a skill for better utterances?

I haven't used FauxmoESP for a long time. I am currently using Alexa-home in Node-red and it does let you set percent values.

tou could try using ESPAleaxa from here

I found it load better than FauxmoESP, you can also set percent values with it.

Steveiboy:
tou could try using ESPAleaxa from here

GitHub - Aircoookie/Espalexa: Alexa voice control for ESP8266/ESP32 (including brightness and color!)

I found it load better than FauxmoESP, you can also set percent values with it.

I second this library, very good and easy to use.

Steveiboy:
tou could try using ESPAleaxa from here

GitHub - Aircoookie/Espalexa: Alexa voice control for ESP8266/ESP32 (including brightness and color!)

I found it load better than FauxmoESP, you can also set percent values with it.

The thing is I want more specific utterances than "Turn on device A" or "Set light B to 50%."
I want to have utterances like "Turn motor X 180 degrees" or "Turn motor Z -2 revolutions"
What I wanted to know is if I could still take advantage of WEMO emulation and the communication between the ESP8266 and Alexa while having a skill that takes better utterances
I'm not sure if it's possible because the callback might not be able to take more parameters

Riva:
I second this library, very good and easy to use.

balmybear:
The thing is I want more specific utterances than "Turn on device A" or "Set light B to 50%."
I want to have utterances like "Turn motor X 180 degrees" or "Turn motor Z -2 revolutions"
What I wanted to know is if I could still take advantage of WEMO emulation and the communication between the ESP8266 and Alexa while having a skill that takes better utterances
I'm not sure if it's possible because the callback might not be able to take more parameters

I've not seen or heard of any skill that can do that, May be there is, That only leaves one thing you better get your thinking cap on and come up with your own design.

Steveiboy:
I've not seen or heard of any skill that can do that, May be there is, That only leaves one thing you better get your thinking cap on and come up with your own design.

Yeah my question was more if it was possible to develop a skill that would do that and pass back data using fauxmo.handle().

Here's a possible solution.

sorry I can not help you. Maybe you can use the Google or quora

balmybear:
Yeah my question was more if it was possible to develop a skill that would do that and pass back data using fauxmo.handle().

Yes you can probably develop a skill to respond to the keywords your interested in but it will be difficult/impossible to express them using fauxmo.
AFAIK fauxmo & Hue devices can only accept basic commands of on/off, brightness percentage (0-100) & colour, difficult to convert to a stepper motor movement apart from using percentage that will only have a resolution of 3.6 degree increments.

I think the fauxmoESP can do what you require. It can connect with Alexa. Moreover you can pass numerical values through alexa to the fauxmoESP. You just need to convert your 360degrees into the 0..100 space (of brightness of a hue which the fauxmoESP is emulating). It works for me, whereas I can request Alexa to put my shutters in the living room down to let's say 20 (%) - and the program will calculate the number of seconds for the shutters to go down until it is sending a stop comand. same for other percentages...

If your willing to setup a small home server (maybe using a raspberry pi) running node-red then I think you can use the node-red-contrib-alexa-remote2 node to setup custom voice commands that you could use to control an ESP over MQTT.