changedetection.io icon indicating copy to clipboard operation
changedetection.io copied to clipboard

Create home-assistant.io plugin

Open dgtlmoon opened this issue 2 years ago • 2 comments

Would be really nice to have a working home-assitant.io plugin from changedetection.io https://developers.home-assistant.io/docs/add-ons/publishing

apprise also supports home-assistant.io notifications, so it could be quite a nice situation

dgtlmoon avatar Mar 29 '22 10:03 dgtlmoon

Wanted to mention on this that home assistant supports webhooks so you can use the apprise url for json similar to the following:

jsons://homeassistant.address/api/webhook/notify-changeio-uniqueId

You create the webhook as an automation, as an example I use mine to alert me on phone apps, but you can perform whatever you like as an action

- id: '1654552273853'
  alias: Webhook changio
  description: ''
  trigger:
  - platform: webhook
    webhook_id: notify-changeio-uniqueId
  condition: []
  action:
  - service: notify.stephens_devices
    data:
      message: '{{ trigger.json.title }}'
      data:
        message: '{{ trigger.json.message }}'
  mode: single

stephenjamieson avatar Jul 29 '22 20:07 stephenjamieson

There's now support via apprise URLs for home-assistant.io too, which supports authentication and other important things

https://github.com/caronc/apprise/wiki/Notify_homeassistant

dgtlmoon avatar Aug 16 '22 11:08 dgtlmoon