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. Problem connecting Arduino Uno (Distance Sensor) with ESP8266 Gateway

Problem connecting Arduino Uno (Distance Sensor) with ESP8266 Gateway

Scheduled Pinned Locked Moved Troubleshooting
gateway not responding
9 Posts 3 Posters 1.6k 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.
  • W Offline
    W Offline
    wulfmain
    wrote on last edited by
    #1

    Habe Probleme, meinen Node ans Gateway zu connecten.
    MySensors 2.2.0
    Controller FHEM (neueste Version)
    Gateway ist ein ESP8266 mit nRF24L01+
    Gateway ist mit meinem WLan verbunden.
    Gateway ist mit meinem FHEM verbunden (connected und opened).
    inclusion-mode in FHEM habe ich an
    autocreate ist an

    Jetzt habe ich einen Arduino Uno mit Distance Sensor angeschlossen, sketch upgeloaded (aus den beispielen von mysensors), allerdings sehe ich am SerialMonitor, dass sich der Arduino scheinbar nicht mit dem Gateway verbindet:

    527918 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    529926 !TSM:FPAR:NO REPLY
    529928 TSM:FPAR
    531527 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
    533535 !TSM:FPAR:FAIL
    533537 TSM:FAIL:CNT=7
    533539 TSM:FAIL:DIS
    533541 TSF:TDI:TSL

    Habe schon alles mögliche erfolglos versucht.

    Bin für jeden Tipp dankbar!

    mfalkviddM 1 Reply Last reply
    0
    • W wulfmain

      Habe Probleme, meinen Node ans Gateway zu connecten.
      MySensors 2.2.0
      Controller FHEM (neueste Version)
      Gateway ist ein ESP8266 mit nRF24L01+
      Gateway ist mit meinem WLan verbunden.
      Gateway ist mit meinem FHEM verbunden (connected und opened).
      inclusion-mode in FHEM habe ich an
      autocreate ist an

      Jetzt habe ich einen Arduino Uno mit Distance Sensor angeschlossen, sketch upgeloaded (aus den beispielen von mysensors), allerdings sehe ich am SerialMonitor, dass sich der Arduino scheinbar nicht mit dem Gateway verbindet:

      527918 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      529926 !TSM:FPAR:NO REPLY
      529928 TSM:FPAR
      531527 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
      533535 !TSM:FPAR:FAIL
      533537 TSM:FAIL:CNT=7
      533539 TSM:FAIL:DIS
      533541 TSF:TDI:TSL

      Habe schon alles mögliche erfolglos versucht.

      Bin für jeden Tipp dankbar!

      mfalkviddM Offline
      mfalkviddM Offline
      mfalkvidd
      Mod
      wrote on last edited by mfalkvidd
      #2

      Hi @wulfmain, welcome to the MySensors community!

      As this is an English-speaking community, we require that posted content be in the English language, so that it can be well received and properly monitored. The majority of the community members is none natively english speaking. And we understand that it might be hard for some of you to express yourself in english. But there's no need to excuse yourself for this fact in your posts! We don't care if you've misspelled a word or don't have perfect sentences. Everybody is welcome but we need a common language that most of us understand. Google translate is a perfect tool to help you on the way.

      The log parser can be useful.

      Can you post the debug log from the gateway? (preferably from the same time as the corresponding log from the node)

      1 Reply Last reply
      0
      • W Offline
        W Offline
        wulfmain
        wrote on last edited by
        #3

        Ok, sorry - here the translation of my first post:
        I have some problems connection my node to the gateway

        The situation:

        • Mysensors (2.2.0)
        • controller ist FHEM (latest version)
        • gateway is a esp8266 with nRF24L01 connected
        • gateway is successfull connected to my wlan
        • gateway is successfull connected to FHEM ()status connected and opened, inclusion-mode is on, autocreate is on)

        I uploaded a sketch to an arduino uno, connected the distance sensor (coming directly from mysensors.org).

        In the Serial Monitor I see that the arduino seems to have problems connecting to the gateway:
        527918 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
        529926 !TSM:FPAR:NO REPLY
        529928 TSM:FPAR
        531527 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
        533535 !TSM:FPAR:FAIL
        533537 TSM:FAIL:CNT=7
        533539 TSM:FAIL:DIS
        533541 TSF:TDI:TSL

        Would be great if you could help me!

        mfalkviddM 1 Reply Last reply
        1
        • W wulfmain

          Ok, sorry - here the translation of my first post:
          I have some problems connection my node to the gateway

          The situation:

          • Mysensors (2.2.0)
          • controller ist FHEM (latest version)
          • gateway is a esp8266 with nRF24L01 connected
          • gateway is successfull connected to my wlan
          • gateway is successfull connected to FHEM ()status connected and opened, inclusion-mode is on, autocreate is on)

          I uploaded a sketch to an arduino uno, connected the distance sensor (coming directly from mysensors.org).

          In the Serial Monitor I see that the arduino seems to have problems connecting to the gateway:
          527918 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
          529926 !TSM:FPAR:NO REPLY
          529928 TSM:FPAR
          531527 TSF:MSG:SEND,2-2-255-255,s=255,c=3,t=7,pt=0,l=0,sg=0,ft=0,st=OK:
          533535 !TSM:FPAR:FAIL
          533537 TSM:FAIL:CNT=7
          533539 TSM:FAIL:DIS
          533541 TSF:TDI:TSL

          Would be great if you could help me!

          mfalkviddM Offline
          mfalkviddM Offline
          mfalkvidd
          Mod
          wrote on last edited by
          #4

          @wulfmain thanks for translating :)
          The log shows that the node is not hearing a response from the gateway. This could either be because the node's message doesn't reach the gateway, or because the gateway's reply message doesn't reach the node. By checking the gateway log, you'll be able to see which.

          If you haven't seen it already, the most common causes, and a troubleshooting flowchart is available at https://forum.mysensors.org/topic/666/debug-faq-and-how-ask-for-help/

          1 Reply Last reply
          0
          • W Offline
            W Offline
            wulfmain
            wrote on last edited by
            #5

            Die Logfile of the gateway in FHEM says:
            2018.07.05 23:43:13 3: Opening MySensorGateway device 192.168.178.62:5003
            2018.07.05 23:43:13 5: MYSENSORS send: Rx: fr=000 ci=000 c=003(C_INTERNAL ) st=002(I_VERSION ) ack=0 ''

            2018.07.05 23:43:13 5: SW: 303b303b333b303b323b0a
            2018.07.05 23:43:13 3: MySensorGateway device opened
            2018.07.05 23:43:13 5: MYSENSORS/RAW: /0;255;3;0;14;Gateway startup complete.

            2018.07.05 23:43:13 5: MYSENSORS Read: Rx: fr=000 ci=255 c=003(C_INTERNAL ) st=014(I_GATEWAY_READY ) ack=0 'Gateway startup complete.'

            2018.07.05 23:43:13 5: MYSENSORS/RAW: /0;255;0;0;18;2.3.0

            2018.07.05 23:43:13 5: MYSENSORS Read: Rx: fr=000 ci=255 c=000(C_PRESENTATION) st=018(S_ARDUINO_REPEATER_NODE) ack=0 '2.3.0'

            2018.07.05 23:43:13 5: MYSENSORS/RAW: /0;255;3;0;2;2.3.0

            2018.07.05 23:43:13 5: MYSENSORS Read: Rx: fr=000 ci=255 c=003(C_INTERNAL ) st=002(I_VERSION ) ack=0 '2.3.0'

            The Serialmonitor of the node says:
            0_1530827375549_node.jpg

            I am not yet an expert in mysensors and would be glad if someone could help me.

            1 Reply Last reply
            0
            • gohanG Offline
              gohanG Offline
              gohan
              Mod
              wrote on last edited by
              #6

              Look on gw debug if you see any message coming from the node

              1 Reply Last reply
              0
              • W Offline
                W Offline
                wulfmain
                wrote on last edited by
                #7

                The Gateway Log just says:
                0_1530967278388_gateway.jpg

                Seems to be no messages from the nodes coming

                Has someone an idea?

                1 Reply Last reply
                0
                • gohanG Offline
                  gohanG Offline
                  gohan
                  Mod
                  wrote on last edited by
                  #8

                  Could be a lot of things, start with capacitors on the radio modules, try using other modules, etc etc

                  1 Reply Last reply
                  0
                  • W Offline
                    W Offline
                    wulfmain
                    wrote on last edited by
                    #9

                    Just wanted to answer the question myself:
                    I had to solder a decoupling-capacitor to the radios and everything worked:
                    https://www.mysensors.org/build/connect_radio#connecting-a-decoupling-capacitor

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


                    11

                    Online

                    11.7k

                    Users

                    11.2k

                    Topics

                    113.0k

                    Posts


                    Copyright 2019 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