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

Mesh network and gateway?

Scheduled Pinned Locked Moved General Discussion
23 Posts 2 Posters 18.2k 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 2 Mar 2017, 18:01 3 Feb 2017, 12:30

    @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
    
    J 1 Reply Last reply 3 Feb 2017, 16:24 Reply Quote 0
    • J Offline
      jkandasa @njbuch
      last edited by 3 Feb 2017, 16:24

      @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 3 Feb 2017, 18:19

        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
        
        J 1 Reply Last reply 4 Feb 2017, 05:50 Reply Quote 0
        • J Offline
          jkandasa @njbuch
          last edited by 4 Feb 2017, 05:50

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

          1 Reply Last reply Reply Quote 0
          • N Offline
            njbuch
            last edited by 4 Feb 2017, 09:15

            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.

            J 1 Reply Last reply 4 Feb 2017, 17:13 Reply Quote 0
            • J Offline
              jkandasa @njbuch
              last edited by 4 Feb 2017, 17:13

              @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 4 Feb 2017, 17:19 Reply Quote 0
              • N Offline
                njbuch @jkandasa
                last edited by 4 Feb 2017, 17:19

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

                J 1 Reply Last reply 4 Feb 2017, 17:45 Reply Quote 0
                • J Offline
                  jkandasa @njbuch
                  last edited by 4 Feb 2017, 17:45

                  @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 6 Feb 2017, 07:50

                    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 6 Feb 2017, 14:21

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

                      J 3 Replies Last reply 6 Feb 2017, 17:00 Reply Quote 0
                      • J Offline
                        jkandasa @njbuch
                        last edited by 6 Feb 2017, 17:00

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

                        1 Reply Last reply Reply Quote 0
                        • J Offline
                          jkandasa @njbuch
                          last edited by 7 Feb 2017, 01:16

                          @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
                          • J Offline
                            jkandasa @njbuch
                            last edited by 7 Feb 2017, 01:28

                            @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 7 Feb 2017, 05:33

                              Yes it does. Thanks

                              1 Reply Last reply Reply Quote 1
                              19 out of 23
                              • First post
                                19/23
                                Last post

                              0

                              Online

                              628

                              Users

                              532

                              Topics

                              3.4k

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