Skip to content
  • 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. Troubleshooting
  3. [solved] requestTime() does not work with serial gateway and Pimatic controller
  • Getting Started
  • Controller
  • Build
  • Hardware
  • Download/API
  • Forum
  • Store

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

Scheduled Pinned Locked Moved Troubleshooting
2 Posts 1 Posters 1.1k Views 1 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.
  • H Offline
    H Offline
    Heizelmann
    wrote on last edited by hek
    #1

    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
    
    H 1 Reply Last reply
    0
    • H Heizelmann

      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
      
      H Offline
      H Offline
      Heizelmann
      wrote on last edited by Heizelmann
      #2

      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.

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


      11

      Online

      11.7k

      Users

      11.2k

      Topics

      113.0k

      Posts


      Copyright 2019 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
      • OpenHardware.io
      • Categories
      • Recent
      • Tags
      • Popular