Hi,
I would like to allow notifications only from certain flows during night time (important ones), while disallowing notifications from unimportant ones. I have already accomplished this by creating a boolean, indicating whether or not “unimportant” notifications shall be sent; this boolean is set to False when I go to bed, and True about the time I wake up, and then checked by all “unimportant” flows before sending notifications.
The downside of this approach is I miss out on all the “unimportant” notifications that were never sent during the night - ideally, I’d like to receive them in the morning (reflection: I guess this means they are not THAT unimportant after all…). I do already publish these messages on the timeline, but it would simply be more convenient to receive them as push notifications (as well).
Now, my question is, where/how would I most conveniently store the notifications (i.e. the message strings), and how would I go about looping over and “releasing” them when I want to receive them? I was thinking of utilizing a text variable and appending notifications to it (separated by e.g. semicolon, CSV style) and then parse that variable using a Homey script and sending the push notifications, but I have a feeling there may be more straightforward ways of accomplishing this. Any ideas?
Thank you!