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 MySensors Gateway Crashes when Node Connects

ESP8266 MySensors Gateway Crashes when Node Connects

Scheduled Pinned Locked Moved Troubleshooting
22 Posts 8 Posters 9.7k Views 6 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.
  • L Offline
    L Offline
    Luppie
    wrote on last edited by
    #9

    When I use a telnet session from Putty, the crash does occur.
    result.JPG

    When i connect from linux with nc, the crash doesn't occur.
    result2.JPG

    What could be the problem ? I exactly followed the build instructions. I even bought the hardware from the ebay-links provided.

    1 Reply Last reply
    0
    • hekH Offline
      hekH Offline
      hek
      Admin
      wrote on last edited by
      #10

      Looks like you're sending some trash characters when connecting with telnet (just after "Client 0"-print).

      I have no idea what that crap is.

      But as it works with nc you must be doing something strange...

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

        telnet is more than just a TCP connection. Not much more, but it will always send some extra characters. Netcat is a pure TCP connection.

        1 Reply Last reply
        0
        • L Offline
          L Offline
          Luppie
          wrote on last edited by
          #12

          Thanks hek & mfalkvidd.
          Reading your replies made me think that maybe the problem isn't the gateway, but the sensor sending some crap.
          I will build a new sensor toninght and test it.

          1 Reply Last reply
          0
          • L Offline
            L Offline
            Luppie
            wrote on last edited by
            #13

            Hmmm, I've build the most basic actuator "BinarySwitchSensor" and again when it connects, the gateway crashes. I'm totaly lost here.

            1 Reply Last reply
            0
            • hekH Offline
              hekH Offline
              hek
              Admin
              wrote on last edited by
              #14

              So it crashes both when controller connects to gateway or when it receives a radio message?

              1 Reply Last reply
              0
              • L Offline
                L Offline
                Luppie
                wrote on last edited by Luppie
                #15

                When no controller is connected and a message is received it doesn't crash.

                It only crashes when a controller is connected and the gateway receives a radio message.
                (I used the tempsensor sketch and the binaryswitch sketch to test)
                (But the testmessage : 42;1;1;47;0;Hello didn't crash the gateway)

                Right now I just uploaded the SerialGateway sketch to 1 of my sensors and that is working correctly with my Domoticz Controller. But I still prefer a wifi gateway.

                T 1 Reply Last reply
                0
                • L Luppie

                  When no controller is connected and a message is received it doesn't crash.

                  It only crashes when a controller is connected and the gateway receives a radio message.
                  (I used the tempsensor sketch and the binaryswitch sketch to test)
                  (But the testmessage : 42;1;1;47;0;Hello didn't crash the gateway)

                  Right now I just uploaded the SerialGateway sketch to 1 of my sensors and that is working correctly with my Domoticz Controller. But I still prefer a wifi gateway.

                  T Offline
                  T Offline
                  Tronix
                  wrote on last edited by
                  #16

                  @Luppie Hi. Have you ever been able to solve this issue? I have the same here.

                  Tronix

                  1 Reply Last reply
                  0
                  • L Offline
                    L Offline
                    Luppie
                    wrote on last edited by
                    #17

                    Nope, I never resolved it. So I've build a USB gateway, thats is working great for 4 months now.

                    T 1 Reply Last reply
                    1
                    • L Luppie

                      Nope, I never resolved it. So I've build a USB gateway, thats is working great for 4 months now.

                      T Offline
                      T Offline
                      Tronix
                      wrote on last edited by
                      #18

                      @Luppie Ok, thanks. I also have the USB and LAN gateway running. But it would be very helpful having the WIFI version on other locations in the house. Thanks anyway.

                      1 Reply Last reply
                      0
                      • Mark SwiftM Offline
                        Mark SwiftM Offline
                        Mark Swift
                        wrote on last edited by Mark Swift
                        #19

                        I also experience a crash... I've tried using master and dev, I see the crash when Domoticz tries to connect to the gateway (Using the MySensors LAN option)... When running without Domoticz, it seems to run fine without issue (watching debug all appears a-okay).

                        Spent almost the last day trying to work it out, no luck so far!

                        1 Reply Last reply
                        0
                        • hekH Offline
                          hekH Offline
                          hek
                          Admin
                          wrote on last edited by
                          #20

                          Could this be related to your problems?
                          http://forum.mysensors.org/topic/3141/big-wish-a-working-system-including-up-to-date-reference/22

                          Mark SwiftM 2 Replies Last reply
                          0
                          • hekH hek

                            Could this be related to your problems?
                            http://forum.mysensors.org/topic/3141/big-wish-a-working-system-including-up-to-date-reference/22

                            Mark SwiftM Offline
                            Mark SwiftM Offline
                            Mark Swift
                            wrote on last edited by
                            #21

                            @hek I'm not sure as I'm using a nodemcu

                            1 Reply Last reply
                            0
                            • hekH hek

                              Could this be related to your problems?
                              http://forum.mysensors.org/topic/3141/big-wish-a-working-system-including-up-to-date-reference/22

                              Mark SwiftM Offline
                              Mark SwiftM Offline
                              Mark Swift
                              wrote on last edited by
                              #22

                              @hek Grrrrr, figured it out after a whole day wasted! My board manager had updated the ESP8266 version to 2.1, rolled back to 2.0

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


                              26

                              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