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. Development
  3. Send retries statistics

Send retries statistics

Scheduled Pinned Locked Moved Development
5 Posts 2 Posters 823 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.
  • P Offline
    P Offline
    prelektr
    wrote on last edited by
    #1

    Hi

    Is there a way to pull send retries statistics and present in my controller of choice (openhab in my case)?

    I have several battery nodes (rfm69) with ATC enabled. I'm trying to fine tune target RSSI for ATC to optimize battery life. Is there a way to get to either total or average number of retries ?

    mfalkviddM 1 Reply Last reply
    0
    • P prelektr

      Hi

      Is there a way to pull send retries statistics and present in my controller of choice (openhab in my case)?

      I have several battery nodes (rfm69) with ATC enabled. I'm trying to fine tune target RSSI for ATC to optimize battery life. Is there a way to get to either total or average number of retries ?

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

      @prelektr There is currently no way to get the retry counter. You could modify the library to use RFM69_RETRIES=1 and handle retries yourself, or modify the library to make the last number of retries available hin the same manner rssi and snr is already available)
      Code reference: https://github.com/mysensors/MySensors/blob/36cdaf4a8ef1c60d37da4097a7681beed9099b69/hal/transport/RFM69/driver/new/RFM69_new.h#L135

      I guess you've already looked at rssi and snr levels? I would think they were sufficient, but I haven't tried.

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

        I guess you could activate MY_DEBUG, connect rx to tx and read the debug output. A slightly convoluted solution, but no need to modify the library.

        1 Reply Last reply
        0
        • P Offline
          P Offline
          prelektr
          wrote on last edited by
          #4

          @mfalkvidd thanks! I'll try with RFM69_RETRIES=1 and handle retris from sketch. The reason I'd like to see what is my retry count is that I'd like to see how the nodes perform in a longer period of time. for short time I see that the power is fluctuating so I wanted to see how many retries on average do I have for a given target_rssi (-70 is the default). I was wondering how much lower can I get to still have reliable link quality.

          mfalkviddM 1 Reply Last reply
          1
          • P prelektr

            @mfalkvidd thanks! I'll try with RFM69_RETRIES=1 and handle retris from sketch. The reason I'd like to see what is my retry count is that I'd like to see how the nodes perform in a longer period of time. for short time I see that the power is fluctuating so I wanted to see how many retries on average do I have for a given target_rssi (-70 is the default). I was wondering how much lower can I get to still have reliable link quality.

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

            @prelektr sounds interesting. Would be great if you can share the results later.

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


            18

            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