Mqtt or something else to do a remote relay
Posted: Thu Oct 15, 2015 8:10 am
Hi all, and sorry if my request seems too simple, but i'm a novice of the iot world and i need to undestand something before start a "little" project.
My target is to use a nodemcu (esp 12-e) to manage a 6 ports remote relay. With google i see a lot of solution, but none seems the perfect for me.
I would the possibility to send a get request to the nodemcu, and nodemcu close or open a gpio. Nothing more in the first step.
Probably i should use a websocket to do that , but how can implement a websocket using lua in nodemcu?
I would use a really simple solution, ... like a first lesson in my journey in the IOT world.
Thanks in advance
Mirko
My target is to use a nodemcu (esp 12-e) to manage a 6 ports remote relay. With google i see a lot of solution, but none seems the perfect for me.
I would the possibility to send a get request to the nodemcu, and nodemcu close or open a gpio. Nothing more in the first step.
Probably i should use a websocket to do that , but how can implement a websocket using lua in nodemcu?
I would use a really simple solution, ... like a first lesson in my journey in the IOT world.
Thanks in advance
Mirko