ESP8266 MySensors Gateway Crashes when Node Connects
-
Power supply seems to be a recurring problem with ESP8266.
I assume you power the ESP board through the USB connector?
Do you power it from your PC then?
USB 2.0 can supply a maximum power of 500mA, which is on the edge for ESP.
Try powering the board from a 1Amp minimum supply and see if things improve. -
I am using mysensor 1.5.1 ESP8266 mysensor gateway. But It is not starting up. I am using 2A power supply. Here is the log.
ESP8266 MySensors Gateway Connecting to Ahmed ............Connected! IP: 192.168.0.31 ctx: cont sp: 3ffebcb0 end: 3ffec010 offset: 01b0 >>>stack>>> 3ffebe60: 3ffea8af 000000ff 3ffea940 40205384 3ffebe70: 3ffea8af 00000030 3ffea940 402053d0 3ffebe80: a8e1fc0a 000000a8 3ffea940 40205587 3ffebe90: 3ffea8af 0000000a 3ffea940 40204dd7 3ffebea0: 3fff1e58 4024371c 3fff235c 0000000a 3ffebeb0: 000000ff 3ffea8a8 3ffea8af 40203c7d 3ffebec0: 3ffec070 00000001 3ffebf2f 4020c5a8 3ffebed0: 402421c0 00000001 00000001 3ffec070 3ffebee0: 00000033 0000000a 3ffec070 4020b6e1 3ffebef0: 3ffebf2e 40243cbc 3fff1e58 0000000a 3ffebf00: 000000ff 00000000 0000000d 4020335e 3ffebf10: 40217e00 3ffead34 3ffe9390 3ffe93a4 3ffebf20: 00000065 3ffea940 3ffebf65 40203379 3ffebf30: 00000000 3ffea940 3ffea94a 0000000a 3ffebf40: 000000ff 00000000 3ffea8a8 40203f38 3ffebf50: 0000001d 3ffea8af 3ffea940 402053bc 3ffebf60: 3ffe92f8 a8e1fc0a 3ffea940 00000001 3ffebf70: 00000001 00000000 3ffea8a8 402040b0 3ffebf80: 00000001 0000000a 3ffea8a8 4020422b 3ffebf90: 00000000 0000000a 3ffea8a8 40204381 3ffebfa0: 0000007f 3ffec03c 40201cac 3ffeaff0 3ffebfb0: 40202320 00000001 0000000a 40201d4f 3ffebfc0: 1f00a8c0 00ffffff 0100a8c0 3ffec03c 3ffebfd0: 3ffe9328 3ffead34 3ffec070 402026ef 3ffebfe0: 3ffe98a8 1f00a8c0 00000000 00000000 3ffebff0: 3fffdc20 00000000 3ffec034 40201d1f 3ffec000: 00000000 00000000 3ffeaff0 40100398 <<<stack<<< ets Jan 8 2013,rst cause:1, boot mode:(3,7) load 0x4010f000, len 1264, room 16 tail 0 chksum 0x42 csum 0x42 ~ldMay someone help me?
-
Yesterday I installed 1.5.1 Development.
Today I installed 1.5.1 masterStill having the same crash when a sensor connects to the gateway.
To rule out if the problem is on the controller side, I installed a different controller (MajorDomo) to see how the gateway reacts.
Unfortunately the gateway still crashes.
-
Sorry to hear about your troubles. Very strange. My ESP gateway seems very stable here, shuffling messages back and forth. I just feed in from my mac (but with vanilla NRF-radio on it).
Yesterday I installed 1.5.1 Development.
Guess you mean 1.6.0-beta? That is what I mainly run here now...
What happens if you simply use netcat to send messages to the ESP?
> nc 192.168.1.xx 5003 (then send the serial messages..) 42;1;1;47;0;Hello -
-
When no controller is connected and a message is received it doesn't crash.
It only crashes when a controller is connected and the gateway receives a radio message.
(I used the tempsensor sketch and the binaryswitch sketch to test)
(But the testmessage : 42;1;1;47;0;Hello didn't crash the gateway)Right now I just uploaded the SerialGateway sketch to 1 of my sensors and that is working correctly with my Domoticz Controller. But I still prefer a wifi gateway.
-
When no controller is connected and a message is received it doesn't crash.
It only crashes when a controller is connected and the gateway receives a radio message.
(I used the tempsensor sketch and the binaryswitch sketch to test)
(But the testmessage : 42;1;1;47;0;Hello didn't crash the gateway)Right now I just uploaded the SerialGateway sketch to 1 of my sensors and that is working correctly with my Domoticz Controller. But I still prefer a wifi gateway.
-
Nope, I never resolved it. So I've build a USB gateway, thats is working great for 4 months now.
-
I also experience a crash... I've tried using master and dev, I see the crash when Domoticz tries to connect to the gateway (Using the MySensors LAN option)... When running without Domoticz, it seems to run fine without issue (watching debug all appears a-okay).
Spent almost the last day trying to work it out, no luck so far!
-
Could this be related to your problems?
http://forum.mysensors.org/topic/3141/big-wish-a-working-system-including-up-to-date-reference/22@hek I'm not sure as I'm using a nodemcu

