Countdown as widget

Share and discuss your flows and ideas with other users.

Moderator: Martin

Post Reply
User avatar
Posts: 75
Joined: 09 Nov 2016 08:00

Countdown as widget

Post by yogi108 » 11 Sep 2017 11:05

Sometimes it is nice to have a datecounter - days/time left.
I kept it simple, there is only one trigger from the widget. You can have up to 5 counters, the widget shows only 1 at a time.
Import flow and widget, enable flow and put the widget on the homescreen.
The widget has 3 clickable areas, left middle right.
To begin with tap the middle, it is for new and editing.
Right is for deleting.
Left is for updating the widget and, if more than 1 counter, getting the next counter.
It gives no alarm, it doesn't update itself through a timer, so uses no additional resources.
Of course you can change the behaviour.
Just calling the flow updates the widget.
The flow creates a global_count variable and uses it to hold the dates/names and the counter as a map for showing the next counter.


Edit: updated the flow with time trigger, no awakening etc so if more than one timer is present it changes and updates every minute
(33.29 KiB) Downloaded 560 times
"You cannot know the meaning of your life until you are connected to the power that created you.”
Shri Mataji Nirmala Devi, founder of Sahaja Yoga

Post Reply