diff --git a/atom.xml b/atom.xml index 61c425f678..47a7dbffc6 100644 --- a/atom.xml +++ b/atom.xml @@ -4,7 +4,7 @@
By design, the alert
component only handles very simple criteria for firing. That is, is only checks if a single entity’s state is equal to a value. At some point, it may be desireable to have an alert with a more complex criteria. Possibly, when a battery percentage falls below a threshold. Maybe you want to disable the alert on certain days. Maybe the alert firing should depend on more than one input. For all of these situations, it is best to use the alert in conjunction with a Template Binary Sensor
. The following example does that.
By design, the alert
component only handles very simple criteria for firing. That is, it only checks if a single entity’s state is equal to a value. At some point, it may be desireable to have an alert with a more complex criteria. Possibly, when a battery percentage falls below a threshold. Maybe you want to disable the alert on certain days. Maybe the alert firing should depend on more than one input. For all of these situations, it is best to use the alert in conjunction with a Template Binary Sensor
. The following example does that.
binary_sensor:
- platform: template
sensors:
diff --git a/docs/ecosystem/certificates/tls_self_signed_certificate/index.html b/docs/ecosystem/certificates/tls_self_signed_certificate/index.html
index 99f7368e12..03258970b6 100644
--- a/docs/ecosystem/certificates/tls_self_signed_certificate/index.html
+++ b/docs/ecosystem/certificates/tls_self_signed_certificate/index.html
@@ -75,20 +75,23 @@
- If your Home Assistant instance is only accessible from your local network you can still protect the communication between your browsers and the frontend with SSL/TLS. Let’s encrypt will only work if you have a DNS entry and remote access is allowed. The solution is to use a self-signed certificate. As you most likely don’t have a certification authority (CA) your browser will conplain about the security. If you have a CA then this will not be an issue.
-To create locally a certificate you need the OpenSSL command-line tool.
+ If your Home Assistant instance is only accessible from your local network you can still protect the communication between your browsers and the frontend with SSL/TLS.
+Let’s encrypt will only work if you have a DNS entry and remote access is allowed.
+The solution is to use a self-signed certificate. As you most likely don’t have a certification authority (CA) your browser will conplain about the security. If you have a CA then this will not be an issue.
+To create a certificate locally, you need the OpenSSL command-line tool.
Change to your Home Assistant configuration directory like ~/.homeassistant
. This will make it easier to backup your certificate and the key. Run the command shown below.
The certificate must be .pem
extension.
If you are going to use this certificate with the iOS app, you need to ensure you complete all fields during the cetificate creation process, then:
- - Send only
certificate.pem
file to the iOS device using airdrop or other transfer method.
+ - Send only the
certificate.pem
file to the iOS device, using airdrop or other transfer method.
- Open the
.pem
file on the iOS device, follow the prompts to trust and install it.
- - If you are using iOS 10.3 or newer then additioal steps are needed.
+ - If you are using iOS 10.3 or newer then additional steps are needed.
-$ openssl req -sha256 -newkey rsa:4096 -nodes -keyout key.pem -x509 -days 730 -out certificate.pem
+$ openssl req -sha256 -newkey rsa:4096 -nodes -keyout privkey.pem -x509 -days 730 -out certificate.pem
-For details about the parameters, please check the OpenSSL documentation. Provide the requested information during the generation process. At the end you will have two files called privkey.pem
and certificate.pem
. The key and the certificate.
+For details about the parameters, please check the OpenSSL documentation. Provide the requested information during the generation process.
+At the end you will have two files called privkey.pem
and certificate.pem
. The key and the certificate.
Update the http:
entry in your configuration.yaml
file and let it point to your created files.
http:
api_password: YOUR_SECRET_PASSWORD
@@ -96,6 +99,7 @@
ssl_key: /home/your_user/.homeassistant/privkey.pem
+A restart of Home Assistant is required for the changes to take effect.
A tutorial “Working with SSL Certificates, Private Keys and CSRs” could give you some insight about special cases.
diff --git a/sitemap.xml b/sitemap.xml
index 7b2a43f3e2..c15212f01d 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -3306,7 +3306,7 @@
https://home-assistant.io/components/switch.hook/
-2017-09-18T19:38:32+00:00
+2017-09-18T19:58:18+00:00
https://home-assistant.io/cookbook/automation_for_rainy_days/
@@ -3938,99 +3938,99 @@
https://home-assistant.io/docs/autostart/init.d/
-2017-09-18T19:38:32+00:00
+2017-09-18T19:58:18+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/
-2017-09-18T19:38:32+00:00
+2017-09-18T19:58:18+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/api/
-2017-09-18T19:38:32+00:00
+2017-09-18T19:58:18+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/configuration/
-2017-09-18T19:38:32+00:00
+2017-09-18T19:58:18+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/example_apps/
-2017-09-18T19:38:32+00:00
+2017-09-18T19:58:18+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/installation/
-2017-09-18T19:38:32+00:00
+2017-09-18T19:58:18+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/operation/
-2017-09-18T19:38:32+00:00
+2017-09-18T19:58:18+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/reboot/
-2017-09-18T19:38:32+00:00
+2017-09-18T19:58:18+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/running/
-2017-09-18T19:38:32+00:00
+2017-09-18T19:58:18+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/tutorial/
-2017-09-18T19:38:32+00:00
+2017-09-18T19:58:18+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/updating/
-2017-09-18T19:38:32+00:00
+2017-09-18T19:58:18+00:00
https://home-assistant.io/docs/ecosystem/appdaemon/windows/
-2017-09-18T19:38:32+00:00
+2017-09-18T19:58:18+00:00
https://home-assistant.io/docs/ecosystem/certificates/
-2017-09-18T19:38:32+00:00
+2017-09-18T19:58:18+00:00
https://home-assistant.io/docs/ecosystem/hadashboard/
-2017-09-18T19:38:32+00:00
+2017-09-18T19:58:18+00:00
https://home-assistant.io/docs/ecosystem/hass-configurator/
-2017-09-18T19:38:32+00:00
+2017-09-18T19:58:18+00:00
https://home-assistant.io/docs/ecosystem/ios/
-2017-09-18T19:38:32+00:00
+2017-09-18T19:58:18+00:00
https://home-assistant.io/docs/ecosystem/nginx/
-2017-09-18T19:38:32+00:00
+2017-09-18T19:58:18+00:00
https://home-assistant.io/docs/ecosystem/notebooks/
-2017-09-18T19:38:32+00:00
+2017-09-18T19:58:18+00:00
https://home-assistant.io/docs/ecosystem/scenegen/
-2017-09-18T19:38:32+00:00
+2017-09-18T19:58:18+00:00
https://home-assistant.io/docs/ecosystem/synology/
-2017-09-18T19:38:32+00:00
+2017-09-18T19:58:18+00:00
https://home-assistant.io/docs/tools/
-2017-09-18T19:38:32+00:00
+2017-09-18T19:58:18+00:00
https://home-assistant.io/docs/tools/dev-tools/
-2017-09-18T19:38:32+00:00
+2017-09-18T19:58:18+00:00
https://home-assistant.io/docs/tools/hass/
-2017-09-18T19:38:32+00:00
+2017-09-18T19:58:18+00:00
https://home-assistant.io/docs/tools/scripts/
-2017-09-18T19:38:32+00:00
+2017-09-18T19:58:18+00:00
https://home-assistant.io/faq/after-upgrading/
@@ -5034,62 +5034,62 @@
https://home-assistant.io/demo/frontend.html
-2017-09-18T19:37:53+00:00
+2017-09-18T19:57:31+00:00
https://home-assistant.io/demo/index.html
-2017-09-18T19:37:53+00:00
+2017-09-18T19:57:31+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-event.html
-2017-09-18T19:37:53+00:00
+2017-09-18T19:57:31+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-info.html
-2017-09-18T19:37:53+00:00
+2017-09-18T19:57:31+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-service.html
-2017-09-18T19:37:53+00:00
+2017-09-18T19:57:31+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-state.html
-2017-09-18T19:37:53+00:00
+2017-09-18T19:57:31+00:00
https://home-assistant.io/demo/panels/ha-panel-dev-template.html
-2017-09-18T19:37:53+00:00
+2017-09-18T19:57:31+00:00
https://home-assistant.io/demo/panels/ha-panel-history.html
-2017-09-18T19:37:53+00:00
+2017-09-18T19:57:31+00:00
https://home-assistant.io/demo/panels/ha-panel-iframe.html
-2017-09-18T19:37:53+00:00
+2017-09-18T19:57:31+00:00
https://home-assistant.io/demo/panels/ha-panel-logbook.html
-2017-09-18T19:37:53+00:00
+2017-09-18T19:57:31+00:00
https://home-assistant.io/demo/panels/ha-panel-map.html
-2017-09-18T19:37:53+00:00
+2017-09-18T19:57:31+00:00
https://home-assistant.io/googlef4f3693c209fe788.html
-2017-09-18T19:37:53+00:00
+2017-09-18T19:57:31+00:00
https://home-assistant.io/static/fonts/roboto/DESCRIPTION.en_us.html
-2017-09-18T19:37:53+00:00
+2017-09-18T19:57:31+00:00
https://home-assistant.io/static/fonts/robotomono/DESCRIPTION.en_us.html
-2017-09-18T19:37:53+00:00
+2017-09-18T19:57:31+00:00
https://home-assistant.io/static/mdi-demo.html
-2017-09-18T19:37:53+00:00
+2017-09-18T19:57:31+00:00