Weird behaviour on time report



  • Hello,

    I have a time aware display built on an Aduino Mega running mysensors lib.

    this is what I get on the trace:

    10464 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=17,pt=6,l=25,sg=0,ft=0,st=OK:<NONCE>
    10696 TSF:MSG:READ,0-0-2,s=255,c=3,t=1,pt=0,l=10,sg=1:1588152090
    10725 TSF:MSG:ECHO REQ
    10729 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=1,pt=0,l=10,sg=0,ft=0,st=OK:1588152090
    10882 TSF:MSG:READ,0-0-2,s=255,c=3,t=1,pt=0,l=10,sg=1:1588152090
    10887 !TSF:MSG:SIGN VERIFY FAIL
    11022 TSF:MSG:READ,0-0-2,s=255,c=3,t=16,pt=0,l=0,sg=1:
    11035 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=17,pt=6,l=25,sg=1,ft=0,st=OK:<NONCE>
    11174 TSF:MSG:READ,0-0-2,s=255,c=3,t=16,pt=0,l=0,sg=0:
    11188 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=17,pt=6,l=25,sg=0,ft=0,st=OK:<NONCE>
    11420 TSF:MSG:READ,0-0-2,s=255,c=3,t=1,pt=0,l=10,sg=1:1588144891
    11507 TSF:MSG:READ,0-0-2,s=255,c=3,t=1,pt=0,l=10,sg=1:1588144891
    11512 !TSF:MSG:SIGN VERIFY FAIL
    16714 TSF:MSG:READ,0-0-2,s=40,c=3,t=16,pt=0,l=0,sg=1:
    16728 TSF:MSG:SEND,2-2-0-0,s=255,c=3,t=17,pt=6,l=25,sg=1,ft=0,st=OK:<NONCE>
    16955 TSF:MSG:READ,0-0-2,s=40,c=1,t=0,pt=0,l=2,sg=1:23

    so it looks like I get the time at the right time zone (GMT + 1 daylight saving), and right after I get GMT time.

    that signature failure is suspicious, so I will post this issue also on mysensors.org

    Any idea ?

    Cheers,
    Franco



  • @fsgrazzutti Are you getting two timestamp from MyController?



  • Hi,

    not really, I sent a request and got 3 replies.

    cause 1:
    I discovered that OpenHab was enabled at the same time even if I removed the gateway from its things (just wanted to give it a try), so I just unistalled it and the problem disappeared.
    For a while...

    cause 2:
    I was using MYSController for real time debugging of my sensors, but without enablig the "RX only" mode.
    Once enabled the RX only mode, the problem disappeared completely.

    So, there's nothing wrong with MyController, but rather a weird scenario caused by me.

    Enabling ACK on both sensors and Mycontroller I could figure out what was going on.

    So, false alarm, sorry !

    Franco.


Log in to reply
 

Suggested Topics

2
Online

584
Users

472
Topics

2.9k
Posts