You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: source/_components/notify.html5.markdown
+11-11Lines changed: 11 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -32,23 +32,23 @@ Configuration variables:
32
32
- **gcm_sender_id** (*Required if pushing to Chrome*): The sender ID provided to you by Google for Google Cloud Messaging (GCM). Required to push to Chrome.
33
33
34
34
### {% linkable_title Getting ready for Chrome %}
35
-
Create new project at [https://console.cloud.google.com/home/dashboard](https://console.cloud.google.com/home/dashboard)
36
-
Go to [https://console.cloud.google.com/apis/credentials/domainverification](https://console.cloud.google.com/apis/credentials/domainverification) and verify your domain
37
-
After that, go to [https://console.firebase.google.com](https://console.firebase.google.com) and select import Google project, select the project you created
38
-
Then, click the clogwheel on top left and select Project settings
39
-
Select Cloud messaging tab
40
-
if under server key is button Regenerate key, click that
35
+
36
+
- Create new project at [https://console.cloud.google.com/home/dashboard](https://console.cloud.google.com/home/dashboard).
37
+
- Go to [https://console.cloud.google.com/apis/credentials/domainverification](https://console.cloud.google.com/apis/credentials/domainverification) and verify your domain.
38
+
- After that, go to [https://console.firebase.google.com](https://console.firebase.google.com) and select import Google project, select the project you created.
39
+
- Then, click the clogwheel on top left and select "Project settings".
40
+
- Select Cloud messaging tab if under server key is button Regenerate key, click that.
41
41
42
42
43
43
### {% linkable_title Requirements %}
44
44
45
45
The `html5` platform can only function if all of the following requirements are met:
46
46
47
-
* You are using Chrome and/or Firefox on any desktop platform, ChromeOS or Android.
47
+
* You are using Chrome and/or Firefox on any desktop platform, ChromeOS, or Android.
48
48
* Your Home Assistant instance is exposed to the world.
49
-
* If using a proxy, basic auth must be off for registering or unregistering for push notifications. It can be re-enabled afterwards.
50
-
* pywebpush must be installed. libffi-dev, libpython-dev, and libssl-dev must be installed prior to pywebpush (i.e. pywebpush probably won't automatically install).
51
-
* You have configured SSL for your Home Assistant. It doesn't need to be configured in Home Assistant though, i.e. you can be running nginx in front of Home Assistant and this will still work. The certificate must be trustworthy (i.e. not self signed)
49
+
* If using a proxy, HTTP basic authentication must be off for registering or unregistering for push notifications. It can be re-enabled afterwards.
50
+
* `pywebpush` must be installed. `libffi-dev`, `libpython-dev`, and `libssl-dev` must be installed prior to `pywebpush` (i.e. `pywebpush` probably won't automatically install).
51
+
* You have configured SSL for your Home Assistant. It doesn't need to be configured in Home Assistant though, i.e. you can be running [NGINX](/ecosystem/nginx/) in front of Home Assistant and this will still work. The certificate must be trustworthy (i.e. not self signed).
52
52
* You are willing to accept the notification permission in your browser.
53
53
54
54
### {% linkable_title Setting up %}
@@ -66,7 +66,7 @@ Assuming you have already added the platform to your configuration:
66
66
67
67
The `html5` platform accepts a standard notify payload. However, there are also some special features built in which you can control in the payload.
68
68
69
-
Any json examples below can be [converted to YAML](https://www.json2yaml.com/) for automations.
69
+
Any JSON examples below can be [converted to YAML](https://www.json2yaml.com/) for automations.
0 commit comments