vintlabs / fauxmoESP

Add voice control of your ESP32 and ESP8266 devices using Amazon Alexa
MIT License
383 stars 69 forks source link

Is it possible to control fauxmoESP on local network? #107

Closed pvint closed 3 years ago

pvint commented 4 years ago

Original report by David Koller (Bitbucket: [David Koller](https://bitbucket.org/David Koller), ).


Hi All,

First, thank you to Xose Perez for fauxmoESP, awsome work! I’m curious if it is possible to control my lamps on local network, when internet is down. Right now I use the library with a nodemcu to control an 8 relay module with Alexa echo dot 3rd gen and on Alexa app android. I created groups for the lamps (relays) in Alexa app, everything works fine. But because Alexa is a cloud based service from the moment internet is down nor the echo dot nor the application can communicate with the nodemcu board. The devices communicate through my wifi router, so I hope controlling is still possible when net is down somehow.

Thx, David

pvint commented 3 years ago

As you mentioned, Alexa needs internet access, so there's not direct way to do this "out of the box". I use it on my boat, and frequently don't have internet access, so what I did was to use bluetooth with a basic android app to send JSON commands.

If you're interested, the Android app is here: https://github.com/pvint/Starfish-Android and the ESP-IDF code is here: https://github.com/pvint/Starfish-idf

Both are a bit "hacky", but are working well for me. Paul