Hi there,
I have successfully setup a sensor network with MyController, Wemos D1 mini (Mqtt GW) , Arduino and RFM69, and it normally works fine, but sometimes I start Wemos D1 mini, then it immediately crashes, It happens only when a node sends data while Wemos GW is starting up.
I suspect it's happening because gateway tries to send the message to the controller while not connected to the WiFi yet.
Is there a way to not process messages from nodes while gateway is starting up, so gateway would ignore node messages until it's initialised.
Posts made by Abdu Sahin
-
ESP8266 crashes while starting up and receiving a message from node
-
RE: ESP8266 gateway crashes while the node is in FOTA progress.
After upgrading Wemos from 2.3.0 to 2.4.0-RC2 version, OTA works well know
-
RE: ESP8266 gateway crashes while the node is in FOTA progress.
@gohan I've added
ESP.wdtFeed()
and tried with another memos d1 mini + rfm69, but it didn't help, still gettingets Jan 8 2013,rst cause:4, boot mode:(3,6)
message.
@yury / @Koresh do you have any idea about it ? -
RE: ESP8266 gateway crashes while the node is in FOTA progress.
@gohan thanks for the suggestion. Would you mind giving a code example please. I don't; know much about the esp8266
-
ESP8266 gateway crashes while the node is in FOTA progress.
Hi there,
I recently started using the library and i wanted to use firmware OTA feature. However I'm getting error at gateway whenever the node requests firmware OTA update. I can see from gateway logs firmware OTA is initiated and data is exchanged between the gateway and node, but unfortunatelly the gateway crashes every time and resets. I appreciate any help as I have spent many hours but couldn't find a solution yet.Setup:
Gateway : Wemos D1 Mini + RFM69
Node : ButtonSize Node (a custom Arduino Pro mini + RFM69 + Flash + Dualboot)
Controller: MyController
Transport: MQTT
Power : Through USB port from the computer for both gateway and nodeets Jan 8 2013,rst cause:4, boot mode:(3,6)
wdt reset4_1511569006091_stacktrace.txt
3_1511569006091_gw-log.txt
2_1511569006090_node-log.txt
1_1511569006090_gw.ino
0_1511569006090_node.ino
0_1511567682094_dump.txt -
RE: 💬 Button size radionode with sensors swarm extension
@yury
You can email me if you like.
My email is uk.asahin at gmail com -
RE: 💬 Button size radionode with sensors swarm extension
@yury
I think I can start with CW version as start. Battery life is important for me. -
RE: 💬 Button size radionode with sensors swarm extension
@yury
I like to try both 865 HW/W versions. I need sensors with long battery life and good RF distance coverage for my project. I've noticed some people suggested using only 'W' version for battery powered nodes, but from my initial experience I didn't have good distance with 'W' version. -
RE: 💬 Button size radionode with sensors swarm extension
@Koresh,
I tried to buy some of these on the link you provided, but couldn't do it. Do you still have this component in your stock ? I like to buy 865mhz HW/W versions.