-
Hi Gordon.
Yes, I mean Belkin WeMo. That is more than enough for any on/off smart switch.
I have implemented it into arduino basic language, tested - it works great with Alexa.
It would be very easy to port it into Espruino but UPD needed.
I can pass you the source code that really works (2 pages code).p.s. I've checked several UDP packages on NPM ...
ex., https://www.npmjs.com/package/kast
If this particular can be ported, it should be enough for Alexa integration.p.p.s. with a friend we are working on making own Alexa smart skill for IoT devices, would love to collaborate and name it "Espruino-IoT" :-)
-
Hi.
I see only few posts about UDP here and surprised a bit.
I am wondering if there are any plans to make Alexa integration one day. UDP and broadcasting is the corner stone for that. It is very simple protocol: get UDP broadcast, send UDP broadcast (Alexa discovery protocol) and implement simple webserver URL to on/off light or execute other IoT device commands.
What about taking UDP module from Arduino and rewrite it to Java ? Should not be an issue, except localization for hardware of course.
Vasily
-
You can try speak with SONOFF .... those software is pretty bad. I hate it because it asks to install a special app, and most tedious is ... register on some china website to start accessing your own device laying nearby at the table.
They are ESP based as you might know. And they have buildin pins to write new firmware. That what I do :)