There was a bit of a conversation about this in the Patreon video chat last week. UDP is coming to Espruino WiFi (it's already there for ESP32, Linux and ESP8266), and doing stuff like this would be easy enough once that's in.
I wasn't aware there was an Alexa protocol though - do you have a link? It seemed that it was just emulating Belkin WeMo sockets
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
There was a bit of a conversation about this in the Patreon video chat last week. UDP is coming to Espruino WiFi (it's already there for ESP32, Linux and ESP8266), and doing stuff like this would be easy enough once that's in.
I wasn't aware there was an Alexa protocol though - do you have a link? It seemed that it was just emulating Belkin WeMo sockets