Ubidots Community

[SOLVED] Arduino get time and date from ubidots

Dear all,
I am connecting an arduino to ubidots cloud using ethernet.
is it possible to recover the timestamp from ubidots when getting a variable. it would be nice to receive the date and time on the arduino side, since there is no internal clock. the time could then be used in a control strategy for home automation for example.
Regards,
Nico

Hi @NicoCloud,

At the moment is not possible, because our library doesn’t support it. But we’re going to work on this.
If you desire you can take a look of our library and create a new function following the structure of the function getValue.

Regards.

Hello @NicoCloud,

Alternatively you can use a NTP server request, take a look to this official example from Arduino:

http://playground.arduino.cc/Code/NTPclient

Regards