@afeno
I have not solved this problem. But I have put this project on ice the last 2 months, but I will soon continue by doing a complete reinstall of all libraries etc.
Kosika
@Kosika
Best posts made by Kosika
Latest posts made by Kosika
-
RE: [SOLVED] ESP8266 WDT reset
-
RE: [SOLVED] ESP8266 WDT reset
Had gotten my hopes up on this solution, but as it don't apply to 2.0 dev branch it was not the answer.
I'm no programmer so I can't really do any real bug searching. I only noticed that two types of messages makes it restart. What they mean or what they do it beyond my knowledge.
I'll just sit tight and hope some smart person comes up with a suggestion, meanwhile I'll continue to google the web -
RE: [SOLVED] ESP8266 WDT reset
Have had the GW running for a day now, as long as the client (Vera Edge) don't sent
0;255;3;0;9;Client 0: 2;1;1;0;24;
Or I start up an new sensor it's stable and works well.
Problem now to figure out is how to connect a new sensor, as it restarts as soon as it's powered on.
Any ideas?Note. Noticed that it only restarts upon new sensor startup if the client is connected.
connected with Skoda, channel 6 dhcp client start... .ip:192.168.1.5,mask:255.255.255.0,gw:192.168.1.1 .IP: 192.168.1.5 0;255;3;0;9;Init complete, id=0, parent=0, distance=0 0;255;3;0;9;read: 1-1-0 s=0,c=1,t=1,pt=7,l=5,sg=0:39.8 0;255;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0: 0;255;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0: 0;255;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0:
NO restart as the client is not connected
0;255;3;0;9;Client 0 connected 0;255;3;0;9;Client 0: 0;0;3;0;2;Get Version 0;255;3;0;9;Client 0: 0;255;3;0;9;Client 0: 0;0;3;0;5;1 0;255;3;0;9;Client 0: 0;255;3;0;9;read: 1-1-0 s=1,c=1,t=0,pt=7,l=5,sg=0:24.2 0;255;3;0;9;read: 1-1-0 s=0,c=1,t=1,pt=7,l=5,sg=0:39.7 0;255;3;0;9;read: 255-255-0 s=255,c=3,t=3,pt=0,l=0,sg=0: 0;255;3;0;9;Client 0: 255;255;3;0;4;3 Soft WDT reset
Here is restarted, inclusion mode or not does not matter
-
RE: [SOLVED] ESP8266 WDT reset
Okay, found the radio problem. I microscopit strand of copper wire had shorted the CS pin to the ESP 3.3v line. So now it recieves radio messages again.
But when powering on a sensor it restarts like before. And sometimes when reloading vera. But once it didn't restart on reload:
0;255;3;0;9;Client 0 connected 0;255;3;0;9;Client 0: 0;0;3;0;2;Get Version 0;255;3;0;9;Client 0: 0;255;3;0;9;read: 1-1-0 s=0,c=1,t=1,pt=7,l=5,sg=0:35.1 0;255;3;0;9;read: 1-1-0 s=1,c=1,t=0,pt=7,l=5,sg=0:26.9 0;255;3;0;9;read: 1-1-0 s=0,c=1,t=1,pt=7,l=5,sg=0:35.3 0;255;3;0;9;read: 2-2-00;255;3;0;9;Client 0: 2;1;1;0;24;
Notice the lack of
0;255;3;0;9;Client 0: 2;1;1;0;24;
That and
0;255;3;0;9;Client 0: 2;1;1;0;24;
Seams to make the GW restart
-
RE: [SOLVED] ESP8266 WDT reset
All sensors are connected to pro mini's thats powered by 2x AA batteries.
I've now installed separate 5v->3v regulator for the GW radio.
It looks like it starts up right, can reload vera etc but now it don't recieve any radiomessages at all. Something special when having separate regulator? It has the the GND, just VCC that's separated.0;255;3;0;9;Starting gateway (RNNGE-, 2.0.0-beta) 0;255;3;0;9;Radio init successful. scandone state: 0 -> 2 (b0) state: 2 -> 3 (0) state: 3 -> 5 (10) add 0 aid 4 pm open phy_2,type:2 0 0 cnt connected with Skoda, channel 6 dhcp client start... .ip:192.168.1.5,mask:255.255.255.0,gw:192.168.1.1 .IP: 192.168.1.5 0;255;3;0;9;Init complete, id=0, parent=0, distance=0
One step forward, and two steps back.
-
RE: [SOLVED] ESP8266 WDT reset
Hello and thanks for the tips.
I have now upgraded to 2.0.0 of mysensors library.
I reflashed the ESP module with the new libraries and open the serial monitor. It connects fine with the router etc.
But as soon as I start a sensor (not touched them, still 1.5 version) it recieves a message and then reboots.connected with Skoda, channel 6 dhcp client start... .ip:192.168.1.5,mask:255.255.255.0,gw:192.168.1.1 .IP: 192.168.1.5 0;255;3;0;9;Init complete, id=0, parent=0, distance=0 0;255;3;0;9;read: 1-1-0 s=255,c=3,t=15,pt=2,l=2,sg=0:0 Soft WDT reset ctx: cont sp: 3ffef920 end: 3ffefcb0 offset: 01b0 >>>stack>>> 3ffefad0: 00000000 3ffefff8 3ffefff8 40204083 3ffefae0: 402017b8 00000000 3ffefff8 40204083 3ffefaf0: 00000000 3ffefff8 00000000 40202152 3ffefb00: 001e8480 3ffe0001 3ffefd38 40202152 3ffefb10: 00000000 00000040 00000000 00000000 3ffefb20: 00000000 00000000 00000001 00000000 3ffefb30: 00000001 00000030 00000040 40202179 3ffefb40: 00000001 3ffefd30 00000001 402023a2 3ffefb50: 00000009 021139b4 00002200 3ffe9c40 3ffefb60: 3ffefff8 00000002 3ffefd30 40202ff8 3ffefb70: 3ffefff8 00000000 3ffefeef 00000027 3ffefb80: 3ffefbf0 3ffefff8 3ffefff8 40204083 3ffefb90: 402017b8 3ffefbf1 3ffefff8 00000061 3ffefba0: 3ffefbf0 3ffefff8 3ffefbf0 00000000 3ffefbb0: 3ffefd54 3ffefd30 00000001 402024b1 3ffefbc0: 00000001 00000000 3ffefd38 00000000 3ffefbd0: 3ffefd54 3ffefd30 00000001 402035d0 3ffefbe0: 3ffe88c0 00000004 00000009 3ffefd30 3ffefbf0: 00000003 00000001 3ffefd30 40203657 3ffefc00: 00000001 00000003 3ffefd30 40203690 3ffefc10: 00000003 00000001 3ffefd54 40203acf 3ffefc20: 0000000f 00000002 00000002 00000000 3ffefc30: 3ffefcd8 00000000 3ffefd54 3ffeec80 3ffefc40: 3fffdc00 00000000 3ffefd30 3ffefc70 3ffefc50: 0000000f 00000000 00000001 00000002 3ffefc60: 000000ff 00000012 00000000 3ffeec80 3ffefc70: 3fffdc20 00000000 3ffeec78 3ffeec80 3ffefc80: 3fffdc20 00000000 3ffeec78 40203388 3ffefc90: 00000000 00000000 3ffeec78 40203cb0 3ffefca0: 00000000 00000000 3ffeec90 40100114 <<<stack<<< c_rSöfê0;255;3;0;9;Starting gateway (RNNGE-, 2.0.0-beta) 0;255;3;0;9;Radio init successful. scandone state: 0 -> 2 (b0) state: 2 -> 3 (0) state: 3 -> 5 (10) add 0 aid 5 pm open phy_2,type:2 0 0 cnt connected with Skoda, channel 6 dhcp client start... .ip:192.168.1.5,mask:255.255.255.0,gw:192.168.1.1 .IP: 192.168.1.5 0;255;3;0;9;Init complete, id=0, parent=0, distance=0
After the restart it seams to be ok with accepting radiomesages
connected with Skoda, channel 6 dhcp client start... .ip:192.168.1.5,mask:255.255.255.0,gw:192.168.1.1 .IP: 192.168.1.5 0;255;3;0;9;Init complete, id=0, parent=0, distance=0 0;255;3;0;9;read: 1-1-0 s=1,c=1,t=0,pt=7,l=5,sg=0:26.4 0;255;3;0;9;read: 1-1-0 s=0,c=1,t=1,pt=7,l=5,sg=0:48.8 0;255;3;0;9;read: 1-1-0 s=0,c=1,t=1,pt=7,l=5,sg=0:44.8 0;255;3;0;9;read: 1-1-0 s=1,c=1,t=0,pt=7,l=5,sg=0:26.6 0;255;3;0;9;read: 1-1-0 s=0,c=1,t=1,pt=7,l=5,sg=0:44.7 0;255;3;0;9;read: 1-1-0 s=1,c=1,t=0,pt=7,l=5,sg=0:26.5 0;255;3;0;9;read: 1-1-0 s=0,c=1,t=1,pt=7,l=5,sg=0:44.6 0;255;3;0;9;read: 1-1-0 s=1,c=1,t=0,pt=7,l=5,sg=0:26.6 0;255;3;0;9;read: 1-1-0 s=1,c=1,t=0,pt=7,l=5,sg=0:26.7
It also good when I reloaded Vera. I got values into vera aswell.
But as soon as I power in a new sensor it restarts. is that normal? And sometimes when I restart Vera the ESP restarts aswell, so it's the same now. Works sometimes, sometimes not (mostly not)I notice that when the client connects to it fine, untill it sends "0;255;3;0;9;Client 0: 2;1;1;0;24"
Then there is a soft WDT reset0;255;3;0;9;Client 0 connected 0;255;3;0;9;Client 0: 0;0;3;0;2;Get Version 0;255;3;0;9;Client 0: 0;255;3;0;9;read: 2-2-0 s=1,c=2,t=24,pt=0,l=0,sg=0: 0;255;3;0;9;Client 0: 2;1;1;0;24;
So the problem seams to be when a sensor starts up or when a client connects.
Tested to telnet it and it works ok. No restart -
RE: [SOLVED] ESP8266 WDT reset
Using Mysensors 1.5 Library and followed the guide here: https://www.mysensors.org/build/esp8266_gateway
Using arduino version 1.6.8
*EDIT. Using ESP 2.0.0 -
[SOLVED] ESP8266 WDT reset
Hello!
I'm quite new to this and have successfully created an ESP8266 (Adafruit HUZZA) gateway with an NRF24L01+PA+LNA radio. All is powered by an 2,4A USB charger.I've had it up and running without problems for some days. But after tweaking and having problems I reverted back to original settings (only tweaked PA level and channel).
Now I get it working somewhat. Sometimes it's all fine, I can include and receive values. And then suddenly the chip reboots.I can replicate the reboot by restarting my Vera Edge (Reload Engine).
Client 0 connected 0;0;3;0;14;Gateway startup complete. Client 0: 0;0;3;0;2;Get Version 0;0;3;0;2;1.5.4 0;0;3;0;9;read: 2-2-0 s=1,c=2,t=24,pt=0,l=0,sg=0: 2;1;2;0;24; Client 0: 2;1;1;0;24; Soft WDT reset ctx: cont sp: 3ffefe70 end: 3fff01c0 offset: 01b0 >>>stack>>> 3fff0020: 3ffeee91 00000092 3ffeef88 40203f5e 3fff0030: 3ffeee8b 0000000e 3ffeef1c 402040d4 3fff0040: 3ffeee8b 00000030 3ffeef1c 40204120 3fff0050: a8e1fc02 000000a8 3ffeef1c 40204276 3fff0060: 3ffeee8b 00000007 3ffeef1c 40203d0b 3fff0070: 00000017 3ffeef1c 00000011 00000002 3fff0080: 000000ff 3ffeee84 3ffeee8b 402031a5 3fff0090: 00000019 00000001 00000000 3ffeebf3 3fff00a0: ffffffff 3fff0100 3ffeef1c 00000004 3fff00b0: 00000000 00000000 3ffeee8b 4020101c 3fff00c0: 3ffeebf2 00000000 00000001 3ffeee84 3fff00d0: 3ffeebf3 00000000 3fff00fe 4020102c 3fff00e0: 40217ee6 00000002 3ffeee8b 00000000 3fff00f0: 000000ff 00000000 3ffeee84 40202ba1 3fff0100: 3ffef002 0000000b 3ffeebf3 00000000 3fff0110: 000000ff 00000000 3ffeee84 40203460 3fff0120: 00000002 3ffeee8b 3ffef0d0 40205bbd 3fff0130: 3ffeebe8 3ffeebe8 3ffef0d0 3ffef0d0 3fff0140: 00000002 3ffeee84 3ffeee8b 40202439 3fff0150: 3ffeedec 3ffeebe8 00000000 402026b4 3fff0160: 3ffe8628 00000000 000003e8 40205302 3fff0170: 00000000 3fff12c0 0101a8c0 3ffef194 3fff0180: 00000000 0000000a 00000000 00000000 3fff0190: 40205d49 0501a8c0 00000000 3ffef194 3fff01a0: 3fffdc20 00000000 3ffef18d 40205d71 3fff01b0: 00000000 00000000 3ffef1a0 40100114 <<<stack<<< ets Jan 8 2013,rst cause:2, boot mode:(3,6)
The client connects, and after a few sec I see soft WDC reset.
Usualy the ESP just reboots and connect to my wifi and starts receiving values. But to get Vera to connect I need to reload the engine and then the ESP reboots.
And sometimes it's just hangs afterwards.ets Jan 8 2013,rst cause:4, boot mode:(3,6) wdt reset
The thing is that I had it going several days with PA level at HIGH with no big problem. Except when I wanted to include a new sensor . Then I started checking and everything then fell apart.
I have dual 100uf capacitor on the 3.3V and one on the input 5V. And can't measure any voltage drops with my multimeter. Only had one 100uf on the 3.3v at first, added the others now when I try to troubleshoot.Any ideas with how I shall troubleshoot this?
Re-flashed with original settings, and then restarted one sensor:
0;0;3;0;14;Gateway startup complete. Client 0 disconnected Client 0 connected 0;0;3;0;14;Gateway startup complete. Client 0: 0;0;3;0;2;Get Version 0;0;3;0;2;1.5.4 0;0;3;0;9;read: 2-2-0 s=255,c=3,t=15,pt=2,l=2,sg=0:544473088 2;255;3;0;15;536870912 0;0;3;0;9;read: 2-2-0 s=255,c=0,t=17,pt=0,l=5,sg=0:1.5.4 2;255;0;0;17;1.5.4 0;0;3;0;9;read: 2-2-0 s=255,c=3,t=6,pt=1,l=1,sg=0:0 2;255;3;0;6;0 Client 0: 2;255;3;0;6;M Soft WDT reset ctx: cont sp: 3ffefe70 end: 3fff01c0 offset: 01b0 >>>stack>>> 3fff0020: 3ffeee92 00000093 3ffeef88 40203f5e 3fff0030: 3ffeee8b 000000ff 3ffeef1c 402040cb 3fff0040: 3ffeee8b 00000030 3ffeef1c 40204120 3fff0050: a8e1fc02 000000a8 3ffeef1c 40204276 3fff0060: 3ffeee8b 00000008 3ffeef1c 40203d0b 3fff0070: 00000017 3ffeef1c 00000011 00000002 3fff0080: 000000ff 3ffeee84 3ffeee8b 402031a5 3fff0090: 00000019 00000001 00000000 3ffeebf4 3fff00a0: ffffffff 3fff0100 3ffeef1c 00000004 3fff00b0: 00000000 00000000 3ffeee8b 4020101c 3fff00c0: 3ffeebf3 00000000 3ffeee8b 3ffeee84 3fff00d0: 3ffeebf4 00000000 3fff00fe 4020102c 3fff00e0: 40217ee6 00000003 3ffeee8b 00000000 3fff00f0: 000000ff 00000000 3ffeee84 40202ba1 3fff0100: 3ffef002 0000000d 3ffeebf5 00000000 3fff0110: 000000ff 00000000 3ffeee84 40203460 3fff0120: 00000002 3ffeee8b 3ffef0d0 40205bbd 3fff0130: 3ffeebe8 3ffeebe8 3ffef0d0 3ffef0d0 3fff0140: 00000002 3ffeee84 3ffeee8b 40202439 3fff0150: 3ffeedec 3ffeebe8 00000000 402026b4 3fff0160: 3ffe8628 00000000 000003e8 40205302 3fff0170: 00000000 3fff12c0 0101a8c0 3ffef194 3fff0180: 00000000 0000000a 00000000 00000000 3fff0190: 40205d49 0501a8c0 00000000 3ffef194 3fff01a0: 3fffdc20 00000000 3ffef18d 40205d71 3fff01b0: 00000000 00000000 3ffef1a0 40100114 <<<stack<<< ets Jan 8 2013,rst cause:2, boot mode:(1,6) ets Jan 8 2013,rst cause:4, boot mode:(1,6) wdt reset
-
RE: lost serial port setting when unplug cable
Got the same problem. Got everything working but after unplugging the cable to the gateway I can't get it working again.
In devices it just says "Lua Startup Failure" on the my sensors plugin.
Had this problem also when just installing the plugin but after some tries I could enter the serial port details, but now I just can't get it working