IoT, ESP, Alexa, 3D printing - my hobbies for last 2 years.
Hi. I do not remember anymore this thread.
My implementation for Alexa works fine with Sonoff, you can check source code and use it.
it's a miracle... I thought 15 mins ago... long time no answers on Espruino, and here you are, both :-)
I did not make any updates or trials, while my code was working on 1.94 and I was happy with it.
I am rather waiting your OO version that works.
p.s. I will try upgrade to 1.95 and check if my script works same. Also I will consider comments from Gordon on right modules.
whatever bug in UDP implementation you found, it works for alexa device discovery at the moment :)
so... never touch a working system is a prophecy
Actually GetIP() is used to get just a device-id. It you can thing about any other "id", lets use it instead.
getip works fine on esp only after you request wifi connection. regardless it got connected or not.
perfect plan... i was waiting a month to get espruino Udp working, so i wll be happy to see better code and working
paddek's version is still not working lets wait, his code is very sexy looking :) .
for esp u have to change some pin definitions. send the err log, interesting.
© Espruino, powered by microcosm.
Report a problem