• Categories
  • Recent
  • Tags
  • Popular
  • Register
  • Login
  • Categories
  • Recent
  • Tags
  • Popular
  • Register
  • Login

Many Hearbeat request at the same time

Scheduled Pinned Locked Moved General Discussion
3 Posts 2 Posters 1.8k Views 1 Watching
Loading More Posts
  • 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.
  • T Offline
    Tetnobic
    last edited by 7 Mar 2017, 08:50

    Hi,
    My nodes are only Smart sleep enabled with sleep duration of 60 minutes
    When they wake up, nodes do job and send heartbeat response before sleep.
    At this moment, MyController ask many Heartbeat request (I think they are queud during 60 minutes).
    Sample log :

    mysgw: TSF:MSG:READ,4-4-0,s=255,c=3,t=22,pt=5,l=4,sg=0:206897
    mysgw: TSF:MSG:SEND,0-0-4-4,s=255,c=3,t=18,pt=0,l=0,sg=0,ft=0,st=OK:
    mysgw: TSF:MSG:READ,4-4-0,s=255,c=3,t=22,pt=5,l=4,sg=0:207241
    mysgw: TSF:MSG:SEND,0-0-4-4,s=255,c=3,t=18,pt=0,l=0,sg=0,ft=0,st=OK:
    mysgw: TSF:MSG:READ,4-4-0,s=255,c=3,t=22,pt=5,l=4,sg=0:207291
    mysgw: TSF:MSG:SEND,0-0-4-4,s=255,c=3,t=18,pt=0,l=0,sg=0,ft=0,st=OK:
    mysgw: TSF:MSG:READ,4-4-0,s=255,c=3,t=22,pt=5,l=4,sg=0:207438
    mysgw: TSF:MSG:SEND,0-0-4-4,s=255,c=3,t=18,pt=0,l=0,sg=0,ft=0,st=OK:
    mysgw: TSF:MSG:READ,4-4-0,s=255,c=3,t=22,pt=5,l=4,sg=0:207471
    

    Here they a way to remove duplicate call in queue ?
    Thanks

    J 1 Reply Last reply 7 Mar 2017, 11:37 Reply Quote 0
    • J Offline
      jkandasa @Tetnobic
      last edited by 7 Mar 2017, 11:37

      @Tetnobic

      We can address this in two ways.

      1. Change global Node alive check interval to 60 minutes. If you do not have any active node.
        0_1488886507834_upload-f48253df-4fd2-4292-a163-ec27b9f07056

      2. Suppose you have active node(repeater node) and want to change this interval for particular node. Edit the node and on properties add "aliveCheckInterval":60 which means check alive status 60 minutes once.
        0_1488886636090_upload-917523e4-cb6e-4ad9-b18d-87f9c35ef7c6

      T 1 Reply Last reply 7 Mar 2017, 12:01 Reply Quote 0
      • T Offline
        Tetnobic @jkandasa
        last edited by 7 Mar 2017, 12:01

        @jkandasa Thanks for your response
        I already use "aliveCheckInterval" propreties with value 7 (minutes)
        (you have create this after my request : http://forum.mycontroller.org/topic/109/best-way-to-check-status-of-mysensors-sleeping-node/3 , many thanks for this)
        But my Smart Sleep nodes have a particular way of doing his jobs 🙂 :
        They sleep during X seconds for an number of loop without Smart Sleep (so no heartbeat sended, no wait for response) and after T (threshold) loops , do a smart sleep, then restart his cycle...
        For example :
        My Node do normal sleep during 300 seconds (X) with threshold 10, so after 10 loop of normal sleep, it makes a smart sleep (heartbeat send + wait 2 seconds).

        I do this for battery saving (less wait time).
        Maybe I'm wrong and I should always do smart sleep....
        Or set aliveCheckInterval to 50 minutes (300*10)

        1 Reply Last reply Reply Quote 0
        2 out of 3
        • First post
          2/3
          Last post

        0

        Online

        628

        Users

        532

        Topics

        3.4k

        Posts
        Copyright © 2015-2025 MyController.org | Contributors | Localization