[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;1482091727Node:
60236 TSF:MSG:READ,0-0-42,s=255,c=3,t=1,pt=0,l=10,sg=0:1482091727 -
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;1482091727Node:
60236 TSF:MSG:READ,0-0-42,s=255,c=3,t=1,pt=0,l=10,sg=0:1482091727Sorry, 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.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login