Skip to content
This repository has been archived by the owner on Dec 8, 2019. It is now read-only.

Constant ESP reboots #58

Open
boardyuk opened this issue Jun 12, 2018 · 6 comments
Open

Constant ESP reboots #58

boardyuk opened this issue Jun 12, 2018 · 6 comments

Comments

@boardyuk
Copy link

boardyuk commented Jun 12, 2018

Hi,

I've just setup 1 of these nodes to test as I want to have motion detection for some of the rooms in my house to control the lights with Home Assistant, however I'm experiencing a constant reboot of the ESP which is a little strange. I've got the ESP connected to my PC via USB to watch the serial monitor for the time being to ensure all messages are getting to MQTT.

Every few minutes (no specific timeout) the ESP is rebooting itself. I've got all the sensors connected except the RGB LED as I'm still waiting for those to arrive and I'm also undecided if I want the LED on all the nodes. The error I'm getting is -

rst cause:2, boot mode:(3,7)

load 0x4010f000, len 1384, room 16 
tail 8
chksum 0x2d
csum 0x2d
v614f7c32
~ld

I've had a look and it seems to be related to a reset pin, however I can't really see what's going on. Can anyone help me please?

Thanks!

@mr-sneezy
Copy link

mr-sneezy commented Jun 12, 2018

I had similar bugs.
One thing that helped I think was to follow this information below in the link. My RGB led now behaves as expected and I seem to have got rid of most if not all random resets at the same time...
#38
Also there is a branch that has the 'random -ve sensor log value data after reset' fixed and I compiled with it for my two sensors, much more stable FWIW.
https://github.com/DanielXYZ2000/ESP-MQTT-JSON-Multisensor

@IKNout
Copy link

IKNout commented Jun 23, 2018

Hi
Have you found a fix for this. I have got the exact same problem, it was ok this morning until i connected a switch to HA and now i have this reboot problem. I have gone back and changed all back to previous and still it restarts. I have also removed all the sensors and still the NodeMCU reboots.
Thanks

@IKNout
Copy link

IKNout commented Jun 25, 2018

FWIW i have now found that the 2 sensors that i have built and configured seem to interfere with each other causing them to constantly reboot. If i disconnect 1 the other is great. I am guessing there is a simple solution, but i am struggling to see it at the moment.
Any ideas???

Si

@consolacion
Copy link

When you built the 2nd one, did you give it its own mqtt client name?

@boardyuk
Copy link
Author

boardyuk commented Aug 9, 2018

I haven't yet found a solution to this. I've actually ripped out the RGB LED code from the sketch as I have no need for the LED and it still reboots.

I'm lost as to what is causing this really.

@danielgonzacas
Copy link

you can try upload the sketch selecting Arduino/tools/erase flash/ sketch + wifi settings, maybe it can help you.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants