AWS and Local Connection
Good day! I'm new to esp8266 and mongoose. I'm starting a project to control and esp8266 over AWS IoT and local network. The idea is to be able to send messages to esp through web server, and over wifi when internet is not available, or when user is connected to the same network that esp is.
I got AWS IoT working just fine (i can public messages to AWS mqtt client correctly) and I'm not really sure which way to go to send messages to esp over local network. I guess i should use something like this example:
or maybe websocket?
I need esp8266 to be able to listen and respond to multiple devices in the same network, and through AWS.
Thanks in advance, and sorry for my little knowledge, I'm just starting!