• Categories
    • Recent
    • Tags
    • Popular
    • Register
    • Login

    Mesh network and gateway?

    Scheduled Pinned Locked Moved General Discussion
    23 Posts 2 Posters 15.8k Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N Offline
      njbuch
      last edited by njbuch

      @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
      
      jkandasaJ 1 Reply Last reply Reply Quote 0
      • jkandasaJ Offline
        jkandasa @njbuch
        last edited by

        @njbuch Did you select correct version of ESP board when you compile?

        1 Reply Last reply Reply Quote 0
        • N Offline
          njbuch
          last edited by

          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
          
          jkandasaJ 1 Reply Last reply Reply Quote 0
          • jkandasaJ Offline
            jkandasa @njbuch
            last edited by

            @njbuch Can you give your source code? for this error?

            1 Reply Last reply Reply Quote 0
            • N Offline
              njbuch
              last edited by

              Yep, its the unedited source and the board-defs is the newest downloaded from https://github.com/esp8266/Arduino.git esp8266

              https://github.com/mycontroller-org/MyControllerDevice/blob/master/examples/RelayActuator/RelayActuator.ino

              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.

              jkandasaJ 1 Reply Last reply Reply Quote 0
              • jkandasaJ Offline
                jkandasa @njbuch
                last edited by

                @njbuch

                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 ?

                N 1 Reply Last reply Reply Quote 0
                • N Offline
                  njbuch @jkandasa
                  last edited by

                  @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. 🙂

                  jkandasaJ 1 Reply Last reply Reply Quote 0
                  • jkandasaJ Offline
                    jkandasa @njbuch
                    last edited by

                    @njbuch said:
                    I do not have any Wemos 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 your Wemos D1 mini

                    0_1486230335064_upload-0131943d-ae09-4022-bc0b-c046ca48a012

                    1 Reply Last reply Reply Quote 0
                    • N Offline
                      njbuch
                      last edited by

                      I have now tried fiddling with different boards, including the NodeMCU 1.0 module. The error is the same, and the board keeps rebooting.

                      1 Reply Last reply Reply Quote 0
                      • N Offline
                        njbuch
                        last edited by

                        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....

                        jkandasaJ 3 Replies Last reply Reply Quote 0
                        • jkandasaJ Offline
                          jkandasa @njbuch
                          last edited by

                          @njbuch Can you try some simple sketch without MyControllerDevice and what is the status?
                          No clue yet 😞

                          1 Reply Last reply Reply Quote 0
                          • jkandasaJ Offline
                            jkandasa @njbuch
                            last edited by

                            @njbuch Are you using Enable auto discovery? If yes, can you disable it and try again? when configuring your device?

                            1 Reply Last reply Reply Quote 0
                            • jkandasaJ Offline
                              jkandasa @njbuch
                              last edited by

                              @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?

                              1 Reply Last reply Reply Quote 0
                              • N Offline
                                njbuch
                                last edited by

                                Yes it does. Thanks

                                1 Reply Last reply Reply Quote 1
                                • First post
                                  Last post

                                0

                                Online

                                587

                                Users

                                529

                                Topics

                                3.4k

                                Posts
                                Copyright © 2015-2025 MyController.org | Contributors | Localization