WIFI Gateway NodeMCU 0.9 always reset
-
hello,
i made a wifi Gateway with NodeMCu 0.9 (ESP12)
I used the 2.0.0 ESP8266 version but the Gateway always reset:ESP8266 MySensors Gateway
Connecting to jimwifi_ext
......Connected!
IP: 192.168.0.22ets Jan 8 2013,rst cause:4, boot mode:(3,4)
wdt reset
load 0x4010f000, len 1264, room 16
tail 0
chksum 0x42
csum 0x42
~ld
does someone has an ide to solve this ?
(in my config.h i have :#define RF24_PA_LEVEL_GW RF24_PA_LOW)
-
Late reply (new forum user).
If not solved already then please downgrade your Esp8266 boards manager from 2.1.0 to 2.0.0.
(Preferences -> Additional board managers: http://arduino.esp8266.com/versions/2.0.0/package_esp8266com_index.json)
-
lae reply too;
i have 2.0.0 board version as i wrote in my first post....
for the moment i change for a w5100 gateway but it is not a good solution for me...
thanks for help
-
@bigjimjeedom did you already solve the issue?
I'm running into the same now.
Gateway ESP8266 Wifi resets after connecting to routerCan you please respond in the thread mentioned?
-
Did you check this page ? There are some suggestions to solve a similar problem, didn't work for the guy who posted but it might work for you ?
https://github.com/esp8266/Arduino/issues/2261
-
@Nca78 I did not find a solution in taht thread.
Maybe it is just hardware failing: the MCU itself.
-
The esp is very sensitive to long delays in software. An internal watchdog will throw a wdt error (like you experience) when your program, or e.g. the mysensors library spends too much time in a function, without allowing the internal esp code to run.
In the mysensors library a number of these issues have been solved, which is one of the reasons we advise to use the 2.0.0 library when running on esp, instead of 1.5.
If it's a fragile cooperation between the installed esp core, mysensors or any other libraries and your sketch to make sure the watchdog will not trip and reset the esp.
-
@Yveaux thanks for your reply.
I will update MySensors to v2.0.0 when I believe my Control software Pimatic can handle all (there are some issues with sensors I have built with v2.0.0 and are running well on v1.5.4).
So I will give it some time to evolve for now.
-
The mysensors 2.0 code works fine with pimatic, no matter whether you use the 2.0 MQTT Esp gateway via mosquitto (or another) as service in combination with the MQTT plugin, or via my mysensors 2.0 gateway with rest-api (also thanks to @Yveaux a.o.), mentioned in the other topic.