Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Issue using GET:TIME (or DATE)
Good evening,
For many months, I try to run the command "$CLOUD GET:TIME" without any success.
I use an RTC module witch "slips" of several minutes after one month, and it is a pitty not being able to get Internet time as mentionned in the "$CLOUD commands.
I try this with a very simple sketch like this :

void setup() {
  Serial2.println("$CLOUD GET:TIME");
  delay(800); } 
void loop() {
      while ((c = > '\n') Msg += (char) c; 
        if (c == '\n')
      { Serial.println(Msg);
        Msg = "";}              }

As response, I only get this :


and no String containing the expected time in Java coding...

Any idea ?
Nobody for a quick support ?
Hello jackjean,
I tried and everything works. Seems you send CLOUD commands without before waiting for the module is connected to the cloud !?

The module, after switching on, connects to the cloud after a few seconds (of course, if it was also enabled to connect to your WLAN).

As soon as you connect to the cloud, the form returns the following message:


So, just intercept this message to know for sure when it is connected to the cloud. After that, your micro can send all the cloud commands you want (PUSH, TIME etc ...)
Hi Technomaker,
Thanks for having reacted to my post.
I find something strange... I send the $CLOUD:GET TIME request within a switch / case which evolutes by one of the buttons of a Panel ... So I must be connected to the CLOUD several minutres ago for my test !
But I must say that I never intercepted the "$CLOUD JOINED" string, only the "$OK-CLOUD".
It happens to me too.
There is no "$ CLOUD-JOINED" message


Forum Jump:

Users browsing this thread: 1 Guest(s)