
I make words like the optional, match synonyms like set and turn, etc.). I use regex for this, as Im willing to trade some performance for simplicity, readability and robustness (e.g.

I wanted to make something easily extensible that remains close to both Alexa and Node-Red (and the plugins I use), as reliable and predictable as possible (no race conditions), and as low-effort to set up and manage as possible.Īs an added benefit, my approach features the ability to use regex matching for routine commands, and I plan to further enhance it by incorporating TTS. Note that because I used this package for nodes in my flow, you may have difficulty importing my flow without it. The approach is meant avoid the need to create a custom Alexa Skill or write any custom code, though you may do so if you wish to go the extra mile and improve the implementation.įor example, if you are using my solution to issue commands like turn on the fan to the fan in the room youre in then you may want to emulate a device called Fan.

Since I didnt see this approach documented anywhere, I thought Id share it here so that others may benefit from it.
