Page 1 of 1

is it possible to set the time manually

Posted: 01 Apr 2020, 11:12
by GravityRZ
i need to test something on the esp and like to set the time manually to a certain time (23:59)

is this possible?

Re: is it possible to set the time manually

Posted: 01 Apr 2020, 15:04
by seb82
Directly I do not know.

What you could do is to use a local NTP server, declare it in advanced configuration on the ESP Easy device and change the NTP server time.

Re: is it possible to set the time manually

Posted: 01 Apr 2020, 15:05
by seb82
Easier: use the Timezone Offset option in advanced configuration

Re: is it possible to set the time manually

Posted: 01 Apr 2020, 15:46
by GravityRZ
seb82 wrote: 01 Apr 2020, 15:05 Easier: use the Timezone Offset option in advanced configuration
thanks tried it at the beginning but is was not working (offset to big)
tried it again and this is a workable solution when it is 15:00 and want to test 00:00 functionality

Re: is it possible to set the time manually

Posted: 01 Apr 2020, 20:56
by TD-er
Can you open an issue for it as feature request on Github?

Re: is it possible to set the time manually

Posted: 01 Apr 2020, 22:55
by TD-er
I did look into the code, as I was convinced I had looked into it not so long ago.

See: https://espeasy.readthedocs.io/en/lates ... nds-listed
The command DateTime

Based on the documentation examples, it seems like it is already present for over a month :)

Re: is it possible to set the time manually

Posted: 02 Apr 2020, 08:40
by GravityRZ
thanks.

i found a lot of threads but none stated that it was implemented

classic RTFM HaHa.

Re: is it possible to set the time manually

Posted: 06 Jul 2021, 16:17
by uxhamby
Hi,

Datetime,2021-07-06,10:00:00

This worked for me and saved me some work. Thanks!

Brian H.