Hi All,
I’m completely new to Home Assistant - and can’t say I yet “get it” … but I’ve followed the “idiot” guides and believe I’m up and running (on a Pi4)
I’ve installed the iOS app on my phone and initially “all” I’m looking to do is cover a use-case where Home Assistant can receive a webhook request or REST API request (from my internal network) and have this trigger fire a Push notification to my phone. After this, I then intend to almost do the opposite - in that I want to use my phone’s geo-location to trigger a REST API call to another service I’ve got running.
I can see iOS Push’s land on my phone when I call the notify.mobile_app_ service via the developer tools - but I’m stuck beyond this.
If I go to “Configuration > Automations” and save a new automation that has;
- a “webhook” trigger which I’ve just called “testnotify”
- an action of action type “Call Service”
- the service as “notify.mobile_app_”, with service data as “title: A push Title message: A push message” and hit the “Save” button
… this appears to save as follows to confg\automations.yaml;
- id: ‘1601295328362’
alias: 2909TestWH
description: ‘’
trigger:- platform: webhook
webhook_id: testnotify
condition: []
action: - service: notify.mobile_app_
data:
title: A push Title
message: A push message
mode: single
- platform: webhook
but nothing is showing in the “Automations” tab in the HA UI.
Likewise, if I call the webhook via http://{{my_pi_ip}}:8123/api/webhook/, I get a 200 response, but nothing happens, but I do see the following in the Core System logs;
“2020-09-27 20:22:28 WARNING (MainThread) [homeassistant.components.webhook] Received message for unregistered webhook testnotify from <my_pi_IP>”
Can anyone advise me please?
a) Why doesn’t the automation I save show in the HA UI?
b) Sounds from the log entry like I need to “register” a webhook. What does this mean and how do I do it? Maybe I’m just missing something that may be obvious to someone not new about “setting up webhooks” …?
Appreciate any help
Cliff