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. Only first transmission comes through.

Only first transmission comes through.

Scheduled Pinned Locked Moved Troubleshooting
10 Posts 5 Posters 2.3k Views 1 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
    Mrlynx
    Hardware Contributor
    wrote on last edited by
    #1

    Hi

    I have a problem with a temp sensor that only sends in values after first boot and all subsequent transmissions fails.
    if I press reset then I get a all values first time but it fails after that first transmission.
    Has anyone had the same problem and have a solution?
    I have a feeling that the radio dosent wake up after sleep.

    sensor started, id 15
    send: 15-15-0-0 s=255,c=0,t=17,pt=0,l=5,st=ok:1.4.1
    send: 15-15-0-0 s=255,c=3,t=6,pt=1,l=1,st=ok:0
    send: 15-15-0-0 s=255,c=3,t=11,pt=0,l=25,st=ok:Dallas Temperature Sensor
    send: 15-15-0-0 s=255,c=3,t=12,pt=0,l=3,st=ok:1.0
    send: 15-15-0-0 s=0,c=0,t=6,pt=0,l=5,st=ok:1.4.1
    send: 15-15-0-0 s=1,c=0,t=6,pt=0,l=5,st=ok:1.4.1
    send: 15-15-0-0 s=2,c=0,t=6,pt=0,l=5,st=ok:1.4.1
    send: 15-15-0-0 s=3,c=0,t=6,pt=0,l=5,st=ok:1.4.1
    send: 15-15-0-0 s=4,c=0,t=6,pt=0,l=5,st=ok:1.4.1
    send: 15-15-0-0 s=5,c=0,t=6,pt=0,l=5,st=ok:1.4.1
    send: 15-15-0-0 s=6,c=0,t=6,pt=0,l=5,st=ok:1.4.1
    requesting temps from bus
    sensor035.69
    sending in value
    send: 15-15-0-0 s=0,c=1,t=0,pt=7,l=5,st=ok:35.7
    sensor126.19
    sending in value
    send: 15-15-0-0 s=1,c=1,t=0,pt=7,l=5,st=ok:26.2
    sensor229.25
    sending in value
    send: 15-15-0-0 s=2,c=1,t=0,pt=7,l=5,st=ok:29.3
    sensor325.75
    sending in value
    send: 15-15-0-0 s=3,c=1,t=0,pt=7,l=5,st=ok:25.8
    sensor465.69
    sending in value
    send: 15-15-0-0 s=4,c=1,t=0,pt=7,l=5,st=ok:65.7
    sensor529.69
    sending in value
    send: 15-15-0-0 s=5,c=1,t=0,pt=7,l=5,st=ok:29.7
    sensor668.25
    sending in value
    send: 15-15-0-0 s=6,c=1,t=0,pt=7,l=5,st=ok:68.3

    requesting temps from bus
    sensor035.25
    sending in value
    send: 15-15-0-0 s=0,c=1,t=0,pt=7,l=5,st=fail:35.3
    sensor126.19
    sending in value
    send: 15-15-0-0 s=1,c=1,t=0,pt=7,l=5,st=fail:26.2
    sensor229.19
    sending in value
    send: 15-15-0-0 s=2,c=1,t=0,pt=7,l=5,st=fail:29.2
    sensor325.81
    sending in value
    send: 15-15-0-0 s=3,c=1,t=0,pt=7,l=5,st=fail:25.8
    sensor465.62
    sending in value
    send: 15-15-0-0 s=4,c=1,t=0,pt=7,l=5,st=fail:65.6
    sensor529.62
    sending in value
    send: 15-15-0-0 s=5,c=1,t=0,pt=7,l=5,st=fail:29.6
    sensor668.25
    sending in value
    send: 15-15-0-0 s=6,c=1,t=0,pt=7,l=5,st=fail:68.3
    send: 15-15-255-255 s=255,c=3,t=7,pt=0,l=0,st=fail:

    requesting temps from bus
    sensor034.94
    sending in value
    send: 15-15-0-0 s=0,c=1,t=0,pt=7,l=5,st=fail:34.9
    sensor126.12
    sending in value
    send: 15-15-0-0 s=1,c=1,t=0,pt=7,l=5,st=fail:26.1
    sensor229.19
    sending in value
    send: 15-15-0-0 s=2,c=1,t=0,pt=7,l=5,st=fail:29.2
    sensor325.75
    sending in value
    send: 15-15-0-0 s=3,c=1,t=0,pt=7,l=5,st=fail:25.8
    sensor465.62
    sending in value
    send: 15-15-0-0 s=4,c=1,t=0,pt=7,l=5,st=fail:65.6
    sensor529.62

    http://www.sa2avr.se

    M 1 Reply Last reply
    0
    • M Mrlynx

      Hi

      I have a problem with a temp sensor that only sends in values after first boot and all subsequent transmissions fails.
      if I press reset then I get a all values first time but it fails after that first transmission.
      Has anyone had the same problem and have a solution?
      I have a feeling that the radio dosent wake up after sleep.

      sensor started, id 15
      send: 15-15-0-0 s=255,c=0,t=17,pt=0,l=5,st=ok:1.4.1
      send: 15-15-0-0 s=255,c=3,t=6,pt=1,l=1,st=ok:0
      send: 15-15-0-0 s=255,c=3,t=11,pt=0,l=25,st=ok:Dallas Temperature Sensor
      send: 15-15-0-0 s=255,c=3,t=12,pt=0,l=3,st=ok:1.0
      send: 15-15-0-0 s=0,c=0,t=6,pt=0,l=5,st=ok:1.4.1
      send: 15-15-0-0 s=1,c=0,t=6,pt=0,l=5,st=ok:1.4.1
      send: 15-15-0-0 s=2,c=0,t=6,pt=0,l=5,st=ok:1.4.1
      send: 15-15-0-0 s=3,c=0,t=6,pt=0,l=5,st=ok:1.4.1
      send: 15-15-0-0 s=4,c=0,t=6,pt=0,l=5,st=ok:1.4.1
      send: 15-15-0-0 s=5,c=0,t=6,pt=0,l=5,st=ok:1.4.1
      send: 15-15-0-0 s=6,c=0,t=6,pt=0,l=5,st=ok:1.4.1
      requesting temps from bus
      sensor035.69
      sending in value
      send: 15-15-0-0 s=0,c=1,t=0,pt=7,l=5,st=ok:35.7
      sensor126.19
      sending in value
      send: 15-15-0-0 s=1,c=1,t=0,pt=7,l=5,st=ok:26.2
      sensor229.25
      sending in value
      send: 15-15-0-0 s=2,c=1,t=0,pt=7,l=5,st=ok:29.3
      sensor325.75
      sending in value
      send: 15-15-0-0 s=3,c=1,t=0,pt=7,l=5,st=ok:25.8
      sensor465.69
      sending in value
      send: 15-15-0-0 s=4,c=1,t=0,pt=7,l=5,st=ok:65.7
      sensor529.69
      sending in value
      send: 15-15-0-0 s=5,c=1,t=0,pt=7,l=5,st=ok:29.7
      sensor668.25
      sending in value
      send: 15-15-0-0 s=6,c=1,t=0,pt=7,l=5,st=ok:68.3

      requesting temps from bus
      sensor035.25
      sending in value
      send: 15-15-0-0 s=0,c=1,t=0,pt=7,l=5,st=fail:35.3
      sensor126.19
      sending in value
      send: 15-15-0-0 s=1,c=1,t=0,pt=7,l=5,st=fail:26.2
      sensor229.19
      sending in value
      send: 15-15-0-0 s=2,c=1,t=0,pt=7,l=5,st=fail:29.2
      sensor325.81
      sending in value
      send: 15-15-0-0 s=3,c=1,t=0,pt=7,l=5,st=fail:25.8
      sensor465.62
      sending in value
      send: 15-15-0-0 s=4,c=1,t=0,pt=7,l=5,st=fail:65.6
      sensor529.62
      sending in value
      send: 15-15-0-0 s=5,c=1,t=0,pt=7,l=5,st=fail:29.6
      sensor668.25
      sending in value
      send: 15-15-0-0 s=6,c=1,t=0,pt=7,l=5,st=fail:68.3
      send: 15-15-255-255 s=255,c=3,t=7,pt=0,l=0,st=fail:

      requesting temps from bus
      sensor034.94
      sending in value
      send: 15-15-0-0 s=0,c=1,t=0,pt=7,l=5,st=fail:34.9
      sensor126.12
      sending in value
      send: 15-15-0-0 s=1,c=1,t=0,pt=7,l=5,st=fail:26.1
      sensor229.19
      sending in value
      send: 15-15-0-0 s=2,c=1,t=0,pt=7,l=5,st=fail:29.2
      sensor325.75
      sending in value
      send: 15-15-0-0 s=3,c=1,t=0,pt=7,l=5,st=fail:25.8
      sensor465.62
      sending in value
      send: 15-15-0-0 s=4,c=1,t=0,pt=7,l=5,st=fail:65.6
      sensor529.62

      M Offline
      M Offline
      mbj
      wrote on last edited by
      #2

      @Mrlynx If you describe what unit is sending and what controller/gateway is receiving then it might be easier for someone to assist you.

      1 Reply Last reply
      0
      • M Offline
        M Offline
        Mrlynx
        Hardware Contributor
        wrote on last edited by
        #3

        see log in previous post from sensor.
        messages logged OK get through and messages logged fail doesnt reach gateway.

        http://www.sa2avr.se

        M 1 Reply Last reply
        0
        • M Mrlynx

          see log in previous post from sensor.
          messages logged OK get through and messages logged fail doesnt reach gateway.

          M Offline
          M Offline
          mbj
          wrote on last edited by
          #4

          Yes, that is obvious. My question was actually what type of sensor/controller/gateway you are using. I have the Dallas temperature sensor sending via MQTT (both nano) to OpenHab and it works quite well. But if the radio communication has a weak reception there might be quite a lot of failures too. I have seen several posts describing that 3,3 V from a nano can be a problem so the radio comm might be a good starting point for your further investigation.

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

            Tried switching cap on radio?

            1 Reply Last reply
            0
            • S Offline
              S Offline
              samppa
              wrote on last edited by
              #6

              I have a similar problem but the connection is lost after a few days. With Dallas temp and DHT22 in Arduino nano node connecting wirelessly to Serial USB Gateway in Vera3. Both sensor and gateway have capacitors. The "solution" for my situation seems to be reboot after it works well.. for awhile. I was wondering if the restart could be automated by the node if it would see the transmission failures and reboot itself.

              @hek So 2 questions; how can I get the comm failure status in the code (send returns void instead of state) and is there a function to reboot the Arduino nano?

              S 1 Reply Last reply
              0
              • korttomaK Offline
                korttomaK Offline
                korttoma
                Hero Member
                wrote on last edited by
                #7

                I had a node that would communicate for a while and then stop. I found that I accidentally powered the radio with 5V.

                • Tomas
                S 1 Reply Last reply
                0
                • M Offline
                  M Offline
                  Mrlynx
                  Hardware Contributor
                  wrote on last edited by
                  #8

                  My problem seems to be the distance between node and gateway.
                  I have now built a repeater node and it seems to cure the problem.
                  Node and gateway is in different buildings and about 20m apart with near line of sight.
                  I have also ordered a ethernet shield and a PA+LNA 24L01+ module as I already have optofiber between the buildings.

                  http://www.sa2avr.se

                  1 Reply Last reply
                  0
                  • S samppa

                    I have a similar problem but the connection is lost after a few days. With Dallas temp and DHT22 in Arduino nano node connecting wirelessly to Serial USB Gateway in Vera3. Both sensor and gateway have capacitors. The "solution" for my situation seems to be reboot after it works well.. for awhile. I was wondering if the restart could be automated by the node if it would see the transmission failures and reboot itself.

                    @hek So 2 questions; how can I get the comm failure status in the code (send returns void instead of state) and is there a function to reboot the Arduino nano?

                    S Offline
                    S Offline
                    samppa
                    wrote on last edited by
                    #9

                    @hek So 2 questions; how can I get the comm failure status in the code (send returns void instead of state) and is there a function to reboot the Arduino nano?

                    Actually I now noticed that send should return bool, but is that working only if ack is requested?

                    1 Reply Last reply
                    0
                    • korttomaK korttoma

                      I had a node that would communicate for a while and then stop. I found that I accidentally powered the radio with 5V.

                      S Offline
                      S Offline
                      samppa
                      wrote on last edited by
                      #10

                      @korttoma
                      Thanks for the tip. I will check the wiring (once again).
                      Still it would be interesting to know if arduino can restart itself since for increased reliability (if any?) that could be done every night.

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


                      16

                      Online

                      11.7k

                      Users

                      11.2k

                      Topics

                      113.0k

                      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