I use many webhook to trigger HA automation.
For example I have this automation:
automation:
- alias: dss_dahua_doorbell_webhook_video_ready
initial_state: true
trigger:
platform: webhook
webhook_id: 'webhook_unique_id'
This automation will be triggered with a HTTP POST Call to /api/webhook/webhook_unique_id
EG:
curl -X POST -H "Content-Type: application/json" -d '' https://xxxxxx.duckdns.org/api/webhook/webhook_unique_id
After upgrading HA from 0.109.6 to 0.112.0, I start getting 404: Not found errors and webhooks cannot be triggered
configuration.yaml
I was having this same issue with automation webhook triggers. I added these entries to my configuration.yaml
api:
webhook:
It's worth noting I hadn't setup any webhooks before 0.112, so this was my first experience setting up webhooks via yaml.
automation documentation
automation source
(message by IssueLinks)
webhook documentation
webhook source
(message by IssueLinks)
I wasted 2 hours of trial and error till I found this issue. Adding webhook: to the configuration made my webhook finally working.
Either there is a bug or the documentation has to be updated. Running version 0.113.0.
With 0.113.0 problem seems to be resolved also for me adding
webhook:
Now everything works for me