I used this example to communicate with ESP8266,
1- I want to know if it is possible to modify the starter module to check for ESP8266 connection and update the state automatically specially if connection is lost.
2- when I connect to ESP the connection is successful even if ESP is off!