Timeline for ESP8266 timer to trigger actions (logic issue)
Current License: CC BY-SA 4.0
13 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 8, 2019 at 15:02 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
| Dec 9, 2018 at 15:01 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
| Nov 9, 2018 at 14:01 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
| Oct 10, 2018 at 13:30 | answer | added | jose can u c | timeline score: 1 | |
| Oct 10, 2018 at 11:00 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
| Sep 10, 2018 at 10:00 | history | bumped | CommunityBot | This question has answers that may be good or bad; the system has marked it active so that they can be reviewed. | |
| Aug 11, 2018 at 9:24 | answer | added | Juraj♦ | timeline score: 0 | |
| Aug 10, 2018 at 18:06 | comment | added | SF1 | thanks, so: - I don't think I can catch the exact ms to trigger the event and I'm looking for suggestions on how to do this. - I tried NTP and there were issues with the timezone so the http request is a good substitute. - Ok for the tick variable but I'm still a bit confused on how to turn everything in 24hrs (since the original time). - I will check TimeLib (I assume is a Library?) | |
| Aug 10, 2018 at 16:39 | comment | added | jsotola |
set up a tick variable ... increment it inside the loop() every second or every minute (even every hour ... whatever works for you) .... then simply monitor the value of tick
|
|
| Aug 10, 2018 at 16:25 | comment | added | Majenko | Indeed. You can also use NTP to grab the current time off the internet and feed it to TimeLib. | |
| Aug 10, 2018 at 16:19 | comment | added | Juraj♦ | it would be better to set time to TimeLib and then test if it is 9AM or 6PM. | |
| Aug 10, 2018 at 16:18 | comment | added | Juraj♦ | you think that you catch the exact millisecond to trigger the event? | |
| Aug 10, 2018 at 15:08 | history | asked | SF1 | CC BY-SA 4.0 |