kakopappa / sinric

Amazon Alexa Smart home skill / Google Home Action for ESP8266 / ESP32 / Arduino
https://sinric.com
287 stars 166 forks source link

NodeMCU reboot loop #120

Open victorantonio21 opened 6 years ago

victorantonio21 commented 6 years ago

I have a NodeMCU esp8266 with 5 relays on it, and after using the Multi WIFI version, the device keeps reboting itself everytime after connecting to wifi network. The reason for it seems to be some watchdog crash but i dont know how to fix it. :/

kakopappa commented 6 years ago
  1. Make sure you have a good power supply.

  2. Do you have loops? Likely because you have not called yield(); https://www.sigmdel.ca/michel/program/esp8266/arduino/watchdogs_en.html

On Tue, Sep 25, 2018 at 10:22 PM Victor notifications@github.com wrote:

I have a NodeMCU esp8266 with 5 relays on it, and after using the Multi WIFI version, the device keeps reboting itself everytime after connecting to wifi network. The reason for it seems to be some watchdog crash but i dont know how to fix it. :/

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/kakopappa/sinric/issues/120, or mute the thread https://github.com/notifications/unsubscribe-auth/AHIM5r0q7D1gyYbIDpOMsRAmQ74S5Y6Kks5uekpFgaJpZM4W43j_ .

victorantonio21 commented 6 years ago

I'm using a great power supply, The problem is in the Yield(); for sure, I'm gonna work on that latter for my new esp that I ordered. Once Again, Thank You so Much For Everything!