Help with push notfications (html5)
After upgrading to 0.56.1 it seems I can't activate push notifications anymore. Previously when I set up push notifications it worked perfectly, but I have since upgraded HA and flashed a new rom on my phone (which required my to re-enable push notifications on it) I can't turn them back on.
The Push Notifications toggle is grayed out and I can't turn it on. This happens on every phone/browser I've tried with the exception of one, which I'll get to in a second.
I know the html module is loaded because I get no errors and it [shows up in my services component as exactly what I named it (push)] (https://i.imgur.com/PS3p1Kv.png)
Now the weird exception is my desktop PC. Going to the public url on with the browser sized down to the mobile interface I can set the toggle just fine. After setting the toggle it asks to enable push notifications and adds the entry to the html5_push_registrations.conf, just like it should. Then when I try to send a notification it works perfectly.
I've been frustrated spending hours trying to figure out what's wrong, especially since my configuration has been unchanged since I upgraded HA. I even tried redoing the entire chrome project as per these intructions with a new key and project id and it still doesn't work.
Any ideas?
also, here's the relavant part of my configuration.yaml
notify:
- name: push
platform: html5
gcm_api_key: !secret gcm_key
gcm_sender_id: !secret gcm_id
Posted Oct 24, 2017, 5:38 AM UTC · edited
Not really sure but are all the ones it's broken on Android? Maybe you need to go into the Chrome settings and remove the allowed notifications. Just a guess though.
Other than that maybe just clear or backup your registrations conf file and start fresh.
I double checked my notification settings, both in chrome, Firefox, and the general settings. Though it doesn't work on other devices either.
As for my registration.conf, I've already tried deleting it with no luck. Is there another file that the html5 module creates?