HTML5 Push Notifications

I followed the doc. Debug messages show that its sent but nothing shows up. Any ideas?

2020-07-22 11:15:21 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.1635799344] Received {'type': 'call_service', 'domain': 'notify', 'service': 'homeassistant', 'service_data': {'message': 'hello world'}, 'id': 27}
2020-07-22 11:15:21 DEBUG (MainThread) [homeassistant.core] Bus:Handling <Event call_service[L]: domain=notify, service=homeassistant, service_data=message=hello world>
2020-07-22 11:15:21 DEBUG (MainThread) [homeassistant.components.websocket_api.http.connection.1635799344] Sending {'id': 27, 'type': 'result', 'success': True, 'result': {'context': Context(user_id='***********', parent_id=None, id='**************')}}

Need to post automation you using to send.
From what I see there looking like you using wrong service “homeassistant” but can’t tell since you post no config or other info

I am using the services tab in developer tools to send the test message. No automation yet.

{"message":"hello world"}

notify:
  - platform: html5
    name: HomeAssistant
    vapid_pub_key: #######
    vapid_prv_key: ######
    vapid_email: [email protected]

In developer tools, what are you using?

notify.homeassistant

{"message":"hello world"}

Look at how to get your email: https://www.home-assistant.io/integrations/html5#configuring-the-platform Also don’t use JSON, use:

message: hello world

And usually homeassistant is a reserved keyword, try naming it html5 instead.

Thank you. I have done everything you said and no change.

Service
notify.html5

Service Data (YAML, optional)
message: hello world

Hmm… Have you turned on the HTML5 notifications under profile config? Also make sure your email has two @s in it.

In automations the service data is not message
Not sure format for dev tools

service_data:
  data:
    message: hello world

I checked and json worked but I could not get to work without json
Service
notify.html5

Service Data:
{ message: hello world}

I also test the message you send above and it success so maybe look at link and use some troubleshooting steps in chrome browser to verify if devices are event connecting to service.

Also check in config folder to verify html5_push_regristrations.conf exist and shows devices registered

https://community.home-assistant.io/t/html5-notification-vapid-migration-not-working

Devtools auto-inserts the message, just use

message: hello world

Still no luck. I have moved on at this point to send tts notifications to my google home mini and its working. HTML5 push would be nice though for when I am on the go.