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
939 stars 29 forks source link

Triggers HTTP and MQTT ignoring SIMPLEBODY configuration #316

Open jacarpint opened 10 months ago

jacarpint commented 10 months ago

Hi,

I'm stuck trying to lauch an Home Assistant Automation based on what container has an update.

I was trying with HTTP trigger as webhook trigger in Home Assistant. Working fine, but the payload seems to be fixed, and doesn't include all the fields I need. The main field I missed is ${link}. I configured a _SIMPLETITLE for the trigger, but seems to be ignored.

I'm receiving all the information I need in a Telegram bot via Telegram trigger.

I'm trying now with MQTT integration, but I didn't find any easy way to detect inside the automation what is the container that has the pending update that fires the automation.

For my use case, including ${link} inside the default HTTP trigger payload will be the easy solution, but I think should be customizable, or push all availabe attributes in the request.

PD: As a walkaround, I'm now including an extra step calling WUD API to recover the link, or any other information I would need.