- Sun Mar 24, 2019 12:06 pm
#81316
I have the same case with my Dimmer and use the Fauxmo library for Alexa command.
The Wifi do not respond when the AttachInterrupt is used, somehow sometimes. the Interrupt Service Routine is only two lines and very short. Sometimes I see my router dropping the ESP8266. I know this for a fact because if I use simple wifi sketch without the Interrupts, my router do not drop the ESP8266 and all is good.
The Fauxmo creator told me that AsyncTCP library has internal interrupts, which I think mess with the external AttachInterrupt. From what I know two interrupts are a big NO in Arduino environments.
If I fail on ESP8266, I might move on to ESP32, which is much expensive.
It is sad to see that ESP8266 is only good for Wifi application that closes and open a switch. I will try a few test and let you know.