So you're a Noob? Post your questions here until you graduate! Don't be shy.

User avatar
By Ali Haydar GÜLEÇ
#84301 Hi there! I am new here, not noob for Arduino but noob for esp8266.

Have Nodemcu v3 (Lolin), Trying to control door lock with internet. MY current solution is very straightforward:

1. Check a http link every 3 seconds, (ex. Look a txt file on net, with get request)
2. If its "1", send HIGH to relay output.
3. Send another get request to php file to make it 0 again.

But i think there has to be another solution. Without checking it every 3 seconds, There must be something like push to Nodemcu some message with php or something. Are there any alternatives to my solution? Thanks! :D