Hi would like read sensor data (pulse) not every 5 minute but at 0,5,10,15,... minute of every hour. In other words I am looking syncronitation between NTP time and delay of sensor.
Thanks
How to read sensor data at 0, 5, 10, 15... of every hour?
Moderators: grovkillen, Stuntteam, TD-er
Re: How to read sensor data at 0, 5, 10, 15... of every hour?
Maybe you can use a Timer (300 s) for that http://www.esp8266.nu/index.php/Tutorial_Rules#Timer and start counting at 00
Re: How to read sensor data at 0, 5, 10, 15... of every hour?
This is not the solution. How can start read sensor data at midnight? And what happen when esp8266 restart?
Re: How to read sensor data at 0, 5, 10, 15... of every hour?
that raises the problem, how the esp knows when its midnight.
you must have working ntp-time. i guess. or working manual time.
than you could use rules with the time. (link to the wiki was given before).
may you touch the good idea, to have something like linux-"cron" scheduler within espeasy/rules..
you must have working ntp-time. i guess. or working manual time.
than you could use rules with the time. (link to the wiki was given before).
may you touch the good idea, to have something like linux-"cron" scheduler within espeasy/rules..

Who is online
Users browsing this forum: No registered users and 6 guests