Skip to content
  • MySensors
  • OpenHardware.io
  • Categories
  • Recent
  • Tags
  • Popular
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Troubleshooting
  3. ESP8266 WIFI do not re-connect to raspberry after supply interrupt

ESP8266 WIFI do not re-connect to raspberry after supply interrupt

Scheduled Pinned Locked Moved Troubleshooting
7 Posts 3 Posters 1.1k Views 3 Watching
  • 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.
  • M Offline
    M Offline
    marsault6
    wrote on last edited by
    #1

    Hello,
    I use my project of watermeter with NodeMCU, raspberry Pi3 and Domoticz :
    https://forum.mysensors.org/topic/9414/double-watermeter-on-nodemcu

    That work well during long time, it's reliable and and connect quickly to the RPi3 when the RPi3 is running normally.

    BUT if after a power outage for the whole house, the RPi3 reboots and at the same time the NodeMCU also, then WiFi communication is not done. I have to restart the NodeMCU separately when RPi3 is in normal operation again.
    It's necessary to change setup in my sketch but where ...?

    NodeMCU ESP 12E
    Mysensors v2.2
    Domoticz 4.97

    Philippe ... newbie (!)

    YveauxY 1 Reply Last reply
    0
    • M marsault6

      Hello,
      I use my project of watermeter with NodeMCU, raspberry Pi3 and Domoticz :
      https://forum.mysensors.org/topic/9414/double-watermeter-on-nodemcu

      That work well during long time, it's reliable and and connect quickly to the RPi3 when the RPi3 is running normally.

      BUT if after a power outage for the whole house, the RPi3 reboots and at the same time the NodeMCU also, then WiFi communication is not done. I have to restart the NodeMCU separately when RPi3 is in normal operation again.
      It's necessary to change setup in my sketch but where ...?

      NodeMCU ESP 12E
      Mysensors v2.2
      Domoticz 4.97

      Philippe ... newbie (!)

      YveauxY Offline
      YveauxY Offline
      Yveaux
      Mod
      wrote on last edited by
      #2

      @marsault6 you are running an old mySensors installation.
      You could try upgrading to the latest 2.3.1 and see if things improve.

      http://yveaux.blogspot.nl

      M 1 Reply Last reply
      0
      • mfalkviddM Offline
        mfalkviddM Offline
        mfalkvidd
        Mod
        wrote on last edited by
        #3

        Could be related to https://github.com/mysensors/MySensors/issues/788

        YveauxY 1 Reply Last reply
        0
        • mfalkviddM mfalkvidd

          Could be related to https://github.com/mysensors/MySensors/issues/788

          YveauxY Offline
          YveauxY Offline
          Yveaux
          Mod
          wrote on last edited by
          #4

          @mfalkvidd @marsault6 I managed to reproduce the issue (see notes attached to the issue) but the ESP8266 resets and recovers automatically.

          http://yveaux.blogspot.nl

          1 Reply Last reply
          1
          • YveauxY Yveaux

            @marsault6 you are running an old mySensors installation.
            You could try upgrading to the latest 2.3.1 and see if things improve.

            M Offline
            M Offline
            marsault6
            wrote on last edited by
            #5
            This post is deleted!
            M 1 Reply Last reply
            0
            • M marsault6

              This post is deleted!

              M Offline
              M Offline
              marsault6
              wrote on last edited by
              #6

              @marsault6 OK, in fact I re-install Arduino IDE 1.8.8 (latest) with Mysensors 2.3.1 and that compile now without errors ....:!
              Next step, I will test to see if ESP8266 recovers after AP shutdown ...

              YveauxY 1 Reply Last reply
              1
              • M marsault6

                @marsault6 OK, in fact I re-install Arduino IDE 1.8.8 (latest) with Mysensors 2.3.1 and that compile now without errors ....:!
                Next step, I will test to see if ESP8266 recovers after AP shutdown ...

                YveauxY Offline
                YveauxY Offline
                Yveaux
                Mod
                wrote on last edited by Yveaux
                #7

                @marsault6 I prepared a pr, referenced from the issue, that fixes the crash at my setup. It's not the optimal solution, but seems to do the trick.
                If you're handy with installing your own libraries you could give that a try.

                Update: the fix has now been merged into development: https://github.com/mysensors/MySensors/tree/development

                http://yveaux.blogspot.nl

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                19

                Online

                11.7k

                Users

                11.2k

                Topics

                113.1k

                Posts


                Copyright 2025 TBD   |   Forum Guidelines   |   Privacy Policy   |   Terms of Service
                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • MySensors
                • OpenHardware.io
                • Categories
                • Recent
                • Tags
                • Popular