HTML5 Notifcations dont work with notify.notify

Dear all,

I have set the html5 notification for my devices. It works if I fire a test message via notify.html5_devicename however, it does nothing if I fire though notify.notify.

nothing in logs! am I missing something? devices are registered in html5_push_registrations.conf

notify.yaml

- platform: html5
  vapid_pub_key: !secret firebase_pub_key
  vapid_prv_key: !secret firebase_priv_key
  vapid_email: !secret firebase_email

I do not have a service called notify.html5, however, have services for all registered devices
notify.html5_deviceA
notify.html5_deviceB

and

notify.html5_dismiss

The default service name if you don’t set the name: variable is notify.notify.

I can’t send any message via notify.notify, but can sent messages via notify.html5_devicename.

Weird. I see notify.notify in my setup, but I also have name: notify set. Maybe try setting the name: variable.

When I set the name: html5, service notify.html5 gets listed and it works.

But notify.notify does nothing (service exists). As per the docs notify.notify should send notifications to all enabled notification platforms.

Ah sorry, I thought you meant you didn’t see the service at all.

As per the docs notify.notify should send notifications to all enabled notification platforms

Where does it say that?

From my understanding notify.notify should broadcast the message to all configured services, if not what is the point of having notify.notify if you have to call each notification service individually

Also as per the docs
The notify integration makes it possible to send notifications to a wide variety of platforms.

If you do not set the target (optional), shouldn’t it sent to all notification services.

I’m confused!!!:confused:

target: is referring to a specific device, not a notification platform. For example, if I have two devices set up to receive notifications from Pushbullet, but I only want to send the notification to one device, I can specify the device name in target:.

ok
Maybe I’ll have to set up notification groups unless there is a more efficient way to send notifications to all at once.

Yep, that’s the way to go.

You’re not wrong!

Notify.notify used to send messages to everyone for me but it just stopped working a month ago!

Did you managed to fix this?

No…:frowning: