Wemos D1 reboots every minute

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Dondolo
Normal user
Posts: 77
Joined: 03 Jul 2019, 06:56
Location: Germany

Wemos D1 reboots every minute

#1 Post by Dondolo » 14 Jun 2020, 08:31

Hi, my Wemos D1 reboots every minute.
The ESP8266 is on a breadboard without external sensors and the power supply comes from a regulated power supply with 5V.

If I re-install espeasy it is okay.

I send values to the ESP via sendtohttp and process them with the rules (old rules).

Can the regular reboot be due to the interaction between rules and sendtohttp?

mrwee
Normal user
Posts: 225
Joined: 31 Aug 2016, 12:52

Re: Wemos D1 reboots every minute

#2 Post by mrwee » 14 Jun 2020, 09:50

What if you remove sendtohhtp? Does the rebooting stop?

Dondolo
Normal user
Posts: 77
Joined: 03 Jul 2019, 06:56
Location: Germany

Re: Wemos D1 reboots every minute

#3 Post by Dondolo » 14 Jun 2020, 10:38

mrwee wrote: 14 Jun 2020, 09:50 What if you remove sendtohhtp? Does the rebooting stop?
Yes, exactly thanks. I have changed the IP address and the ESP is running stable.
What's going wrong

TD-er
Core team member
Posts: 8643
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: Wemos D1 reboots every minute

#4 Post by TD-er » 14 Jun 2020, 11:23

Maybe a conflict where multiple devices use the same IP?
Can you try ping the old IP to make sure?

If the device does not receive a reply in due time, it might sometimes crash.. sadly.
But also, if it got replies meant for other nodes the buffers may fill up as they are not handled in due time.

Dondolo
Normal user
Posts: 77
Joined: 03 Jul 2019, 06:56
Location: Germany

Re: Wemos D1 reboots every minute

#5 Post by Dondolo » 14 Jun 2020, 12:48

TD-er wrote: 14 Jun 2020, 11:23 Maybe a conflict where multiple devices use the same IP?
Can you try ping the old IP to make sure?

If the device does not receive a reply in due time, it might sometimes crash.. sadly.
But also, if it got replies meant for other nodes the buffers may fill up as they are not handled in due time.
Hi Td-er, thanks for the feedback.
The ping runs into the empty no same IP. Without Sendtohttp, the ESP has been running stable for hours.

Dondolo
Normal user
Posts: 77
Joined: 03 Jul 2019, 06:56
Location: Germany

Re: Wemos D1 reboots every minute

#6 Post by Dondolo » 14 Jun 2020, 13:36

Dondolo wrote: 14 Jun 2020, 12:48
TD-er wrote: 14 Jun 2020, 11:23 Maybe a conflict where multiple devices use the same IP?
Can you try ping the old IP to make sure?

If the device does not receive a reply in due time, it might sometimes crash.. sadly.
But also, if it got replies meant for other nodes the buffers may fill up as they are not handled in due time.
Hi Td-er, thanks for the feedback.
The ping runs into the empty no same IP. Without Sendtohttp, the ESP has been running stable for hours.
Interesting, I used the sendtohttp command with the new IP address. No reboot, no problem ESP runs stable

User avatar
Ath
Normal user
Posts: 3418
Joined: 10 Jun 2018, 12:06
Location: NL

Re: Wemos D1 reboots every minute

#7 Post by Ath » 14 Jun 2020, 20:10

You say you changed the ip-address, does that mean you sent data to a non-existing ip with the sendtohttp command? If so, it could explain the reboots, as sendtohttp waits for an ack from the destination, but as that doesn't respond, the watchdog timer forces a reboot as the unit is not responding during the wait.
/Ton (PayPal.me)

Post Reply

Who is online

Users browsing this forum: No registered users and 29 guests