Android allows to set a progress for notifications. I suggest to add this to the notify service to allow the visualization of progress. For example I have several smart household appliances (dishwasher, washing machine, dryer) and I update myself on the status using notifications. It could also be used for countdowns or to show remaining inventory (e.g. printers).
I love that idea. Would be great for washers, too.
Nice idea, and already possible!
For future reference, please be so kind and do a search and/or ask, before you open a feature request. And please, if you link to documents or such, use english documents. It won’t help your case, if people click the link and find a documentation that is not in the agreed on language. EDIT: that was Google
translating automatically, sorry.
Anyway, for “timer” cases, there is the chronometer
setting, that you can use in the companion app.
See here:
Thanks for the suggestion. I will look into this.
To be fair though: The documentation lacks any of the keywords I was looking for. I am also not sure if this would be applicable to tasks where there is only a progress (0% to 100% - e.g. file transfer) and not a fixed duration. Maybe this could be hacked into functioning for these cases. So I still think there are some improvements to be desired.
But these are not the same things?? OP is asking about the native progress bar option available for android notifications, not the chronometer, which is a totally different thing.
What you’re referring to is a chronometer, which is useful for things like “Countdown until next class” or “Estimated time of trip arrival” whereas what @EarMaster is requesting (as shown in their link) is a progress tracker for the notification. In the analogues this could be something like “Amount of homework done for upcomming class” or “% Completion of current journey leg”. Besides that, they measure two different things. One is time based and the other is percentage/ratio based. It’s an extra data point that can be added to a notification for easy, graphical understanding. It’s a good thing to add.
Also, while I know you’re quite active on the ha community forum, it might be worth making sure you understand what is being asked before you tell people to “go do a search”. There isn’t anything in the documentation about progress bars (which are quite common in android) and chronometer - while similar - solves a different problem. Notably, the specific usecase that @EarMaster mentioned with an inventory count… not dooable with a chronometer at all… Just… I guess make sure you’ve had a proper read before you tell other people to have a proper read?? ikd, sorry, rubbed me the wrong way.
In any case @EarMaster, I’m looking for the same thing and it doesn’t seem like it’s been implemented as of yet. You could try building something with tasker on android where you send the data from HA to Tasker via webhook/notification/however-you-want and then create your notifications in Tasker as it has support for a lot more notification functionality, but that’s a lot of work for adding a progress bar so I’m not likely to do it I don’t think.
I added the feature to the Android companion app (Added support for progress notifcations by EarMaster · Pull Request #4799 · home-assistant/android · GitHub). So with some future release we will hopefully be able to use progress bars in notification on Android.