[solved] requestTime() does not work with serial gateway and Pimatic controller



  • My Sketch uses mySensors 2.0. In loop() I issue about every minute a requestTime();
    Pimatic got this request and responds the time. The node receives the message, but didn't call the receiveTime function.
    I do not fully understand the protocol but in my opinion a wrong value fro the subtype is the reason.
    her my logs:

    Pimatic:

    debug [pimatic-mysensors]: -> Sending  42;255;3;0;1;1482091727
    

    Node:

    60236 TSF:MSG:READ,0-0-42,s=255,c=3,t=1,pt=0,l=10,sg=0:1482091727
    


  • Sorry, my fault. The receiveTime function is called. The problem was that I had an error in the Serial.println() statement so it doesn't appear in the log.


Log in to reply
 

Suggested Topics

  • 3
  • 2
  • 6
  • 6
  • 8

0
Online

11.4k
Users

11.1k
Topics

112.7k
Posts