Hello, I would like to know how to handle the following event:
I use a NodeMCU ESP8266 board to access the Adafruit dashboard. It's working fine.
- 1. I've already prepared in case you can't find the router's wifi;
- 2. If connected and the router turns off, redo the connection;
- 3. The problem is when the internet drops, and the router continues with the wifi on. I tried to use:
- io.mqttStatus();
io.networkStatus();
io.status();
- io.mqttStatus();
Does anyone know how should I proceed?
[PT-BR]
Olá, gostaria de saber como tratar o seguinte evento:
Uso uma placa NodeMCU ESP8266 para acessar o painel da Adafruit. Está funcionando bem.
- 1. Já preparei para o caso de não conseguir encontrar o wifi do roteador;
- 2. Se conectado e o roteador desligar, refaz a conexão;
- 3. O problema é quando a internet cai, e o roteador continua com o wifi ligado. Tentei usar:
- io.mqttStatus();
io.networkStatus();
io.status();
- io.mqttStatus();
Alguém sabe como devo proceder?