­čĽ░Time Remaining

by Ricardo Fernández Serrata

Version 1 (December 20, 2020)

Download (18 downloads)

Shows a notification with the approximate time remaining for something to complete.

The delay block represents the task "item" that is being processed, so that all the times the delay block is executed (all items) represent the full task/process.

This uses a buffer because storing more than 2 samples has better accuracy at calculating time. And using a buffer instead of an "infinite" storage is more adaptive because a buffer only stores recent data while the infinite storage keeps old values.

Using 1 Variable Set Block with this expression {x ? (x + (Now - time_start)) / 2 : Now - time_start} would store the "average" time for an item to be processed and just calculate a weighted average that adds more weight to the newest sample and only storing a minimum of 1 sample (Now - time_start) and a max of 2 samples (x and Now - time_start)

4.0 average rating from 1 reviews

5 stars
0
4 stars
1
3 stars
0
2 stars
0
1 star
0
Reports
0

Rate and review within the app in the Community section.