Mesh network and gateway?
-
@njbuch Use latest SNAPSHOT version and configure gateway as shown here, For complete details refer this location
-
@jkandasa Upgrade to the latest SNAPSHOT release. And it seems to work.
But the MyControllerDevice...
But it seems there is an incompatibility with some ESP8266 boards. Its working on the LoLin board NodeMCU v3, but not on the Wemos D1 mini 2.1.0.
The Wemos keeps restarting and outputs:
ets Jan 8 2013,rst cause:2, boot mode:(3,6) load 0x4010f000, len 1384, room 16 tail 8 chksum 0x2d csum 0x2d v00000000 ~ld
-
@njbuch Did you select correct version of ESP board when you compile?
-
I am pretty sure, other examples are working with that configuration. I just pulled the most recent version of the code, and got a glimpse of the error message:
MC[I]: Booting ESP8266 device... Exception (28): epc1=0x4020e012 epc2=0x00000000 epc3=0x00000000 excvaddr=0x00000000 depc=0x00000000 ctx: cont sp: 3fff1e70 end: 3fff2070 offset: 01a0 >>>stack>>> 3fff2010: 3fffdad0 3fff0108 3fff0f80 4020497b 3fff2020: 00000000 00000000 00000000 feefeffe 3fff2030: 3fffdad0 00000000 3fff0108 402049e9 3fff2040: feefeffe 00000000 3fff1034 402023a4 3fff2050: feefeffe feefeffe feefeffe 4020c19c 3fff2060: feefeffe feefeffe 3fff1050 40100718 <<<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
-
@njbuch Can you give your source code? for this error?
-
Yep, its the unedited source and the board-defs is the newest downloaded from https://github.com/esp8266/Arduino.git esp8266
The board is the https://www.wemos.cc/product/d1-mini.html
The relay actuater code is working fine with my other LoLon esp8266 board, and I get the node and sensors up fine in the mycontroller server.
-
I am pretty sure, other examples are working with that configuration. I just pulled the most recent version of the code, and got a glimpse of the error message:
You are facing this issue with all ESP8266 boards? Or only with https://www.wemos.cc/product/d1-mini.html
that too only with recent version? old version works good with https://www.wemos.cc/product/d1-mini.html ? -
@jkandasa Thanks for getting back to me on this. You are a star!
I am only facing the issue on the Wemos D1 mini boards. I have not tried other versions of them, but they suit me really well on their form factor and specs for my project.
Everything is working on my other ESP8266 boards, so far I have only tested the example code from the library though. Will dive into a termometer tonight.
-
@njbuch said:
I do not have anyWemos D1 mini
with me. I am testing only with ESP12E and ESP01. Both works great for me.looks like inside
Wemos D1 mini
has ESP12E module only. Can you give a try with the following board on Arduino IDE for yourWemos D1 mini
-
I have now tried fiddling with different boards, including the NodeMCU 1.0 module. The error is the same, and the board keeps rebooting.
-
Hi again, tried looking for other solutions, and checked this one: https://github.com/esp8266/Arduino/issues/2414
This guy is having the same problem, but solved it with using a powered HUB, I tried the MycontrollerDevice with some extra juice, and it did not change a thing.
My conclusion is that it writes: "MC[I]: Booting ESP8266 device..." before the exception, there is an illegal pointer operation somewhere in the library....
-
@njbuch Can you try some simple sketch without MyControllerDevice and what is the status?
No clue yet -
@njbuch Are you using
Enable auto discovery
? If yes, can you disable it and try again? when configuring your device? -
@njbuch said:
My conclusion is that it writes: "MC[I]: Booting ESP8266 device..." before the exception, there is an illegal pointer operation somewhere in the library....
Does this issue resolved on https://github.com/mycontroller-org/MyControllerDevice/issues/5#event-951107065?
-
Yes it does. Thanks