mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 15:26:59 +00:00
Update formatting
This commit is contained in:
parent
607d9427af
commit
2f67b76ae0
@ -32,23 +32,23 @@ Configuration variables:
|
||||
- **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.
|
||||
|
||||
### {% linkable_title Getting ready for Chrome %}
|
||||
Create new project at [https://console.cloud.google.com/home/dashboard](https://console.cloud.google.com/home/dashboard)
|
||||
Go to [https://console.cloud.google.com/apis/credentials/domainverification](https://console.cloud.google.com/apis/credentials/domainverification) and verify your domain
|
||||
After that, go to [https://console.firebase.google.com](https://console.firebase.google.com) and select import Google project, select the project you created
|
||||
Then, click the clogwheel on top left and select Project settings
|
||||
Select Cloud messaging tab
|
||||
if under server key is button Regenerate key, click that
|
||||
|
||||
- Create new project at [https://console.cloud.google.com/home/dashboard](https://console.cloud.google.com/home/dashboard).
|
||||
- Go to [https://console.cloud.google.com/apis/credentials/domainverification](https://console.cloud.google.com/apis/credentials/domainverification) and verify your domain.
|
||||
- After that, go to [https://console.firebase.google.com](https://console.firebase.google.com) and select import Google project, select the project you created.
|
||||
- Then, click the clogwheel on top left and select "Project settings".
|
||||
- Select Cloud messaging tab if under server key is button Regenerate key, click that.
|
||||
|
||||
|
||||
### {% linkable_title Requirements %}
|
||||
|
||||
The `html5` platform can only function if all of the following requirements are met:
|
||||
|
||||
* You are using Chrome and/or Firefox on any desktop platform, ChromeOS or Android.
|
||||
* You are using Chrome and/or Firefox on any desktop platform, ChromeOS, or Android.
|
||||
* Your Home Assistant instance is exposed to the world.
|
||||
* If using a proxy, basic auth must be off for registering or unregistering for push notifications. It can be re-enabled afterwards.
|
||||
* 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).
|
||||
* 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)
|
||||
* If using a proxy, HTTP basic authentication must be off for registering or unregistering for push notifications. It can be re-enabled afterwards.
|
||||
* `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).
|
||||
* 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).
|
||||
* You are willing to accept the notification permission in your browser.
|
||||
|
||||
### {% linkable_title Setting up %}
|
||||
@ -66,7 +66,7 @@ Assuming you have already added the platform to your configuration:
|
||||
|
||||
The `html5` platform accepts a standard notify payload. However, there are also some special features built in which you can control in the payload.
|
||||
|
||||
Any json examples below can be [converted to YAML](https://www.json2yaml.com/) for automations.
|
||||
Any JSON examples below can be [converted to YAML](https://www.json2yaml.com/) for automations.
|
||||
|
||||
#### {% linkable_title Actions %}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user