Page 1 of 1

Android app and alexa integration

Posted: Sat Feb 23, 2019 1:08 pm
by leenowell
Hi All,

I have built a ESP32 mesh and now looking at options for passing data between it and an Android app and Alexa - e.g. reading values from sensors, sending data to sensors, responding to "push" notifications from nodes etc. I have seen the sample apps here

https://github.com/EspressifApp?tab=repositories

Which seem to imply there are java/ Android esp sdk available to use. Is this the case as I can't seem to find any documentation on them? Similarly for Alexa, I have seen the SDK to convert an ESP into an Alexa device but no information about writing a skill etc for it.

Anyone have any good solutions to this? I did think I could just implement a simple http interface on the ESP32 and do this by get / post requests but not sure how I could get the esp to notify the app/ Alex when an event happens unless I poll from the app?

Thanks

Lee.

Re: Android app and alexa integration

Posted: Tue Feb 26, 2019 8:30 pm
by fly135
You could use MQTT to send messages between the ESP32 and the phone. Pubnub is another option.

John A

COAP?: Android app and alexa integration

Posted: Sun Mar 03, 2019 8:07 pm
by leenowell
Thanks very much for your reply. I have now stumbled upon coap which seems to be bundled with the IDF so am giving that a try. Anyone else tried this?