is it possible to set the time manually

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
GravityRZ
Normal user
Posts: 206
Joined: 23 Dec 2019, 21:24

is it possible to set the time manually

#1 Post by GravityRZ » 01 Apr 2020, 11:12

i need to test something on the esp and like to set the time manually to a certain time (23:59)

is this possible?

seb82
Normal user
Posts: 62
Joined: 05 Sep 2018, 10:56

Re: is it possible to set the time manually

#2 Post by seb82 » 01 Apr 2020, 15:04

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.
Sébastien - espRFLinkMQTT gateway RFLink MQTT on esp

seb82
Normal user
Posts: 62
Joined: 05 Sep 2018, 10:56

Re: is it possible to set the time manually

#3 Post by seb82 » 01 Apr 2020, 15:05

Easier: use the Timezone Offset option in advanced configuration
Sébastien - espRFLinkMQTT gateway RFLink MQTT on esp

GravityRZ
Normal user
Posts: 206
Joined: 23 Dec 2019, 21:24

Re: is it possible to set the time manually

#4 Post by GravityRZ » 01 Apr 2020, 15:46

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

TD-er
Core team member
Posts: 8739
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: is it possible to set the time manually

#5 Post by TD-er » 01 Apr 2020, 20:56

Can you open an issue for it as feature request on Github?

TD-er
Core team member
Posts: 8739
Joined: 01 Sep 2017, 22:13
Location: the Netherlands
Contact:

Re: is it possible to set the time manually

#6 Post by TD-er » 01 Apr 2020, 22:55

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 :)

GravityRZ
Normal user
Posts: 206
Joined: 23 Dec 2019, 21:24

Re: is it possible to set the time manually

#7 Post by GravityRZ » 02 Apr 2020, 08:40

thanks.

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

classic RTFM HaHa.

User avatar
uxhamby
Normal user
Posts: 132
Joined: 29 Dec 2016, 18:13
Location: Toronto Canada

Re: is it possible to set the time manually

#8 Post by uxhamby » 06 Jul 2021, 16:17

Hi,

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

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

Brian H.

Post Reply

Who is online

Users browsing this forum: No registered users and 34 guests