fmartinou / whats-up-docker

What's up Docker ( aka WUD ) gets you notified when a new version of your Docker Container is available.
https://fmartinou.github.io/whats-up-docker
MIT License
1.02k stars 33 forks source link

[feature request] Overview sensors for Home Assistant #236

Closed devmills closed 1 year ago

devmills commented 1 year ago

Hi, first of all many thanks for this project, it's very helpful indeed. I unfortunately cannot find a way to see this easily, apologies if it already exists somewhere. I think it would be useful to have additional update sensors appear in Home Assistant for all containers monitored by WUD. E.g. a binary (or update) sensor that simply indicates "Updates Available" or not. Additionally a sensor of how many container updates are available as a number.

The information is clearly available in the WUD UI, but it would be nice to have this info in HA. My end goal is to feed this as a push notification periodically. image

I have many containers and would like a generic "updates are available" notification for me to review the more detailed list.

Many thanks!

fmartinou commented 1 year ago

Hi,

I understand the need; I'll try to add these 2 global sensors.

blackstardlb commented 1 year ago

Would also be awesome if we could have a sensor / api endpoint to see if wud is currently watching containers.

fmartinou commented 1 year ago

Hi,

I added sensors at 2 different levels:

image