Time Picker Time Error IoT Cloud

Hi All. I have tried to use the Scheduler of the IoT cloud dashboard. I made sure I select the correct time zone. The scheduler works fine. But my time picker is out by two hours in relation to my computer time and the scheduler works with my laptop time, Its just the time picker that is out by the 2 hours. In both the scheduler and time picker is the time zone at the bottom of the widgets. The time zones are the same.

What can be the cause that my time picker is out by 2 Hrs?

Hello @flowgrow, as mentioned in the other thread, we just released a couple of bug fixes on the Time Picker (and now it's available even on the Arduino IoT Cloud Remote mobile app). Can you check if you still have issues?

Dear eclipse1985,

Could you please post the one sample code using the time picker.

What is the use of the time picker?

I have a question for you how to get the date and time using the Arduino IoT cloud platform?
In software One variable stores the date and the second variable strode the time.

Thank you in advance.

Hello @vamshi43286,

A typical use of the time picker widget is viewing the board's local time or setting a specific time (ex. for an alarm).

For example, if you want to show your board time, you need to add a "CloudTime" variable, and fill it in the loop() doing

cloudTime = ArduinoCloud.getLocalTime();

then you can attach it to a time picker widget, to see values coming in real-time.

Dear @eclipse1985 ,

Thank you so much for your help.

Could you please tell me how to check the status of the Arduino IoT Cloud connection?

Sometimes the board connects to the wifi but not pushing the data into Arduino IoT Cloud.
I need to check whether the data is sent or not by indicating red and green LEDS.

Did you already check the output of the serial monitor?

Yes I have checked.

Do you mean checking the connection from the sketch?

if (ArduinoCloud.connected()) {
   // Do something
}

Dear eclipse1985,

Thanks a lot for your efforts, It's working good.

May I know how you know the ArduinoCloud methods?
Could you please provide any source or web link?

Thank you in advance.

For the time-related feature, you can check the scheduler widget documentation.

More in general, we have a comprehensive IoT Cloud documentation here

Thank you so much :slight_smile:

Hi eclipse1985,

May I know if any keyword or function is available to check the Arduino device thing ID?

Note:

  1. I want to check the device Thing connection status on the Arduino MKR wifi 1010 board.
  2. In Serial monitor after successful connection it generates a Device Thing ID: xxxxxxxxxxxxxxxxxxxxxxxxx

I want to blink the green LED after a successful connection and got the thing id if not blink a red LED.

Thank you in advance