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. st:fail sometimes and sometimes OK

st:fail sometimes and sometimes OK

Scheduled Pinned Locked Moved Troubleshooting
24 Posts 5 Posters 6.7k Views 2 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.
  • rvendrameR rvendrame

    @flopp said:

    @rvendrame
    Where did you put ge.wait, sensor code or gateway code?

    Sensor. And capacitors on both.

    F Offline
    F Offline
    flopp
    wrote on last edited by
    #14

    @rvendrame said:

    Sensor. And capacitors on both.

    sorry for asking so much :smile:
    after each gw.send?

    rvendrameR 1 Reply Last reply
    0
    • F flopp

      @rvendrame said:

      Sensor. And capacitors on both.

      sorry for asking so much :smile:
      after each gw.send?

      rvendrameR Offline
      rvendrameR Offline
      rvendrame
      Hero Member
      wrote on last edited by
      #15

      @flopp said:

      sorry for asking so much
      after each gw.send?

      Yes

      Home Assistant / Vera Plus UI7
      ESP8266 GW + mySensors 2.3.2
      Alexa / Google Home

      F 1 Reply Last reply
      0
      • rvendrameR rvendrame

        @flopp said:

        sorry for asking so much
        after each gw.send?

        Yes

        F Offline
        F Offline
        flopp
        wrote on last edited by
        #16

        @rvendrame said:

        @flopp said:

        sorry for asking so much
        after each gw.send?

        Yes

        Thanks

        1 Reply Last reply
        0
        • F Offline
          F Offline
          flopp
          wrote on last edited by
          #17

          It have now been running for 35 minutes without any error, 100uF on both NRF. Delay(100); after each gw.send. Will try later to remove that and see it the problem was the caps.

          Thanks everyone 👊

          1 Reply Last reply
          0
          • F Offline
            F Offline
            flopp
            wrote on last edited by
            #18

            During I wrote above reply it reported 3 fails!!!
            I hope that was just a glitch and will let it run without any changes

            1 Reply Last reply
            0
            • sundberg84S Offline
              sundberg84S Offline
              sundberg84
              Hardware Contributor
              wrote on last edited by
              #19

              What do you power the nodes with? Since it seems to work better with caps on, there might be something to your power or wiring you can do to make it better.

              Controller: Proxmox VM - Home Assistant
              MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
              MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
              RFLink GW - Arduino Mega + RFLink Shield, 433mhz

              F 1 Reply Last reply
              0
              • sundberg84S sundberg84

                What do you power the nodes with? Since it seems to work better with caps on, there might be something to your power or wiring you can do to make it better.

                F Offline
                F Offline
                flopp
                wrote on last edited by
                #20

                @sundberg84 said:

                What do you power the nodes with? Since it seems to work better with caps on, there might be something to your power or wiring you can do to make it better.

                I wrote it in first post, no hard feelings

                sensor, lipo batt
                gateway, usb from PC

                1 Reply Last reply
                0
                • sundberg84S Offline
                  sundberg84S Offline
                  sundberg84
                  Hardware Contributor
                  wrote on last edited by
                  #21

                  Sorry m8. My thought was that depending how you run power and ground in your ciriut it can disturb the radio. For example i had a 5v arduino with a 5v relay and if i didn run the ground through the arduino but instead direct to ground the radio got to many spikes and i got really much st:fails.

                  Controller: Proxmox VM - Home Assistant
                  MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                  MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                  RFLink GW - Arduino Mega + RFLink Shield, 433mhz

                  F 1 Reply Last reply
                  0
                  • sundberg84S sundberg84

                    Sorry m8. My thought was that depending how you run power and ground in your ciriut it can disturb the radio. For example i had a 5v arduino with a 5v relay and if i didn run the ground through the arduino but instead direct to ground the radio got to many spikes and i got really much st:fails.

                    F Offline
                    F Offline
                    flopp
                    wrote on last edited by
                    #22

                    @sundberg84

                    no worries, I done it my self my times.

                    Right now I think the problem was a loose cap or bad/small cap. Before I used a 4.7uF, no I have one 100uF on each NRF.

                    1 Reply Last reply
                    0
                    • sundberg84S Offline
                      sundberg84S Offline
                      sundberg84
                      Hardware Contributor
                      wrote on last edited by
                      #23

                      Yea, thats kind of interesting... i have 25+ nodes and everyone except the gateway runs on 4.7 only and it works great... but if that works for you im glad!

                      Controller: Proxmox VM - Home Assistant
                      MySensors GW: Arduino Uno - W5100 Ethernet, Gw Shield Nrf24l01+ 2,4Ghz
                      MySensors GW: Arduino Uno - Gw Shield RFM69, 433mhz
                      RFLink GW - Arduino Mega + RFLink Shield, 433mhz

                      1 Reply Last reply
                      1
                      • rvendrameR rvendrame

                        Once I had similar problems, a 4.7nF cap and gw.wait(100) after each transmit did the trick for me... Hope it helps somehow.

                        M Offline
                        M Offline
                        Marcell Kovacs
                        wrote on last edited by
                        #24

                        @rvendrame said:

                        Once I had similar problems, a 4.7nF cap and gw.wait(100) after each transmit did the trick for me... Hope it helps somehow.

                        I also got to this solution when experienced the same 'st:fail' issue. The arduino's delay wont help, because it wont receive anything from radio during the delay.

                        As i got mutch less or no error with ack = false, I thing its linked to receiving some ACK packets. I have no deeper information or debugging possibilities at the moment.

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


                        25

                        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