Search found 6 matches
- 20 Feb 2021, 12:21
- Forum: ESP Easy: General Discussion
- Topic: Maintain date and time in the absence of wifi
- Replies: 40
- Views: 37110
Re: Maintain date and time in the absence of wifi
because the unit does not have access to wifi unless it's a hassle and when I do, I couldn't figure out the daytime saving to work properly and time gets set 1h + or - also power loss can be very frequent(that's why I set dummys at the boot) and only way to remember was DS3231 as gps modules are big...
- 20 Feb 2021, 11:16
- Forum: ESP Easy: General Discussion
- Topic: Maintain date and time in the absence of wifi
- Replies: 40
- Views: 37110
Re: Maintain date and time in the absence of wifi
All done and working now, here is my code in case anyone has use of it //Rule: "When System Boot" on System#Boot do TaskValueSet,11,1,%syshour% //dummy for hour TaskValueSet,11,2,%sysmin% //dummy for min endon on Clock#Time do timerSet,8,10 endon on Rules#Timer=8 do if [clock#hour]>=23 Tas...
- 19 Feb 2021, 20:45
- Forum: ESP Easy: General Discussion
- Topic: Maintain date and time in the absence of wifi
- Replies: 40
- Views: 37110
Re: Maintain date and time in the absence of wifi
That build has plugin for DS1307 and DS3231, very cheap RTC. these plugins has the option to setdate and my only issue is to be able to store %syshour% and add 1. let command was very promising but it wasn't implemented yet. i was trying to create a "device" that has formula tab inside and...
- 19 Feb 2021, 17:37
- Forum: ESP Easy: General Discussion
- Topic: Maintain date and time in the absence of wifi
- Replies: 40
- Views: 37110
Re: Maintain date and time in the absence of wifi
Well, I've not used that kind of arithmetic, but possibly it should be like %syshour+1h%, like the %sunset-1h% and %sunrise+10m% examples on the System variables page. Nope, those computations are for sunrise/sunset only. %syshour% is returning an integer value, but I think you should do the comput...
- 19 Feb 2021, 09:25
- Forum: ESP Easy: General Discussion
- Topic: Maintain date and time in the absence of wifi
- Replies: 40
- Views: 37110
Re: Maintain date and time in the absence of wifi
Apologies for typo, event was ok. So my rule looks like your suggestion but output on the console is like a string eg:17+1 rather than 18
- 19 Feb 2021, 08:55
- Forum: ESP Easy: General Discussion
- Topic: Maintain date and time in the absence of wifi
- Replies: 40
- Views: 37110
Re: Maintain date and time in the absence of wifi
Hello, I was never able to include ds3231 and wifiman into a build so thanks for the.bin I need to adjust the clock with a button and I've created a rule but it doesn't work....can anybody help me please? On button#1 do setdate,%sysyear%,%sysmonth%,%sysday%,%syshour%+1,%sysmin%,%syssec% endon I've t...