Android app and alexa integration

leenowell
Posts: 92
Joined: Tue Jan 15, 2019 1:50 pm

Android app and alexa integration

Postby leenowell » Sat Feb 23, 2019 1:08 pm

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.

User avatar
fly135
Posts: 606
Joined: Wed Jan 03, 2018 8:33 pm
Location: Orlando, FL

Re: Android app and alexa integration

Postby fly135 » Tue Feb 26, 2019 8:30 pm

You could use MQTT to send messages between the ESP32 and the phone. Pubnub is another option.

John A

leenowell
Posts: 92
Joined: Tue Jan 15, 2019 1:50 pm

COAP?: Android app and alexa integration

Postby leenowell » Sun Mar 03, 2019 8:07 pm

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?

Who is online

Users browsing this forum: No registered users and 94 guests