From e704a856c6ba912881b4aeb92a116e752be44886 Mon Sep 17 00:00:00 2001 From: adrianmihalko Date: Fri, 15 May 2020 22:45:12 +0200 Subject: [PATCH 01/28] Remove logo ref from emoncms_history int. (#13456) --- source/_integrations/emoncms_history.markdown | 1 - 1 file changed, 1 deletion(-) diff --git a/source/_integrations/emoncms_history.markdown b/source/_integrations/emoncms_history.markdown index 124383acba9..6f8c626bae3 100644 --- a/source/_integrations/emoncms_history.markdown +++ b/source/_integrations/emoncms_history.markdown @@ -1,7 +1,6 @@ --- title: Emoncms History description: Instructions on how to integrate Emoncms history into Home Assistant. -logo: emoncms.png ha_category: - History ha_release: 0.31 From 3fb53a37758d96a116e0066ac90ffea1d938f32f Mon Sep 17 00:00:00 2001 From: brode Date: Sat, 16 May 2020 13:36:36 +0200 Subject: [PATCH 02/28] Fixed wrong PWM frequency variable name (#13460) --- source/_integrations/rpi_gpio_pwm.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/rpi_gpio_pwm.markdown b/source/_integrations/rpi_gpio_pwm.markdown index 5ee45f9c42b..bac05f9635e 100644 --- a/source/_integrations/rpi_gpio_pwm.markdown +++ b/source/_integrations/rpi_gpio_pwm.markdown @@ -49,7 +49,7 @@ leds: description: The type of LED. Choose either `rgb`, `rgbw` or `simple`. required: true type: string - freq: + frequency: description: The PWM frequency. required: false default: 200 From fa13593be2df4ea01fea8fa54c297c19d8f4ceef Mon Sep 17 00:00:00 2001 From: Martin Weber <7472943+martinweu@users.noreply.github.com> Date: Sat, 16 May 2020 17:56:45 +0200 Subject: [PATCH 03/28] remove duplicates state on line (#13462) --- source/_integrations/scene.markdown | 1 - 1 file changed, 1 deletion(-) diff --git a/source/_integrations/scene.markdown b/source/_integrations/scene.markdown index 961303fd429..8ff73965c80 100644 --- a/source/_integrations/scene.markdown +++ b/source/_integrations/scene.markdown @@ -32,7 +32,6 @@ scene: media_player.sony_bravia_tv: state: on source: HDMI 1 - state: on ``` {% configuration %} From 8383bfd6e21e43a1747fb19ed4b4fe62583ff584 Mon Sep 17 00:00:00 2001 From: SamyGarib <32929567+SamyGarib@users.noreply.github.com> Date: Sat, 16 May 2020 12:23:12 -0400 Subject: [PATCH 04/28] Update manual.markdown (#13463) --- source/_integrations/manual.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/manual.markdown b/source/_integrations/manual.markdown index a4dff737634..2ee05cfe7d4 100644 --- a/source/_integrations/manual.markdown +++ b/source/_integrations/manual.markdown @@ -135,7 +135,7 @@ In the configuration example below: alarm_control_panel: - platform: manual name: Home Alarm - code: 1234 + code: '1234' pending_time: 30 delay_time: 20 trigger_time: 4 From 2b3a9b15917a7b7b3b20fdf6dda20e54c370f7ca Mon Sep 17 00:00:00 2001 From: JRK Date: Sat, 16 May 2020 18:30:41 +0200 Subject: [PATCH 05/28] Tested on TX-40DX600 successfully (#13464) --- source/_integrations/panasonic_viera.markdown | 1 + 1 file changed, 1 insertion(+) diff --git a/source/_integrations/panasonic_viera.markdown b/source/_integrations/panasonic_viera.markdown index 399ab3f8624..22f62fe6c96 100644 --- a/source/_integrations/panasonic_viera.markdown +++ b/source/_integrations/panasonic_viera.markdown @@ -102,6 +102,7 @@ script: - TC-P65VT30 - TX-32AS520E - TX-32DSX609 +- TX-40DX600 - TX-40DX700B - TX-49DX650B - TX-50DX700B From b82d971f2c80d386a51a043d6694ebeaf5577eff Mon Sep 17 00:00:00 2001 From: adrianmihalko Date: Sun, 17 May 2020 15:16:41 +0200 Subject: [PATCH 06/28] Remove log. ref. from Foursquare int. (#13473) --- source/_integrations/foursquare.markdown | 1 - 1 file changed, 1 deletion(-) diff --git a/source/_integrations/foursquare.markdown b/source/_integrations/foursquare.markdown index 1e4c50b2bc9..df6f2ab0fb9 100644 --- a/source/_integrations/foursquare.markdown +++ b/source/_integrations/foursquare.markdown @@ -1,7 +1,6 @@ --- title: Foursquare description: Instructions on how to the Foursquare API into Home Assistant. -logo: foursquare.png ha_category: - Social ha_release: 0.26 From b2b3dbc4f17787679088cbea3bfbedda6c65549f Mon Sep 17 00:00:00 2001 From: Maurice Kok Date: Sun, 17 May 2020 17:53:12 +0200 Subject: [PATCH 07/28] Update sensor.buienradar.markdown (#13472) --- .../_integrations/sensor.buienradar.markdown | 60 +++++++++---------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/source/_integrations/sensor.buienradar.markdown b/source/_integrations/sensor.buienradar.markdown index 6546f29fa36..31d39e52037 100644 --- a/source/_integrations/sensor.buienradar.markdown +++ b/source/_integrations/sensor.buienradar.markdown @@ -158,36 +158,36 @@ Full configuration example (excluding forecasted conditions) where location is m ```yaml # Example configuration.yaml entry - platform: buienradar - name: 'volkel' - # Force 'Meetstation Volkel' to be used: - latitude: 51.65 - longitude: 5.70 - monitored_conditions: - - stationname - - barometerfc - - barometerfcname - - conditioncode - - condition - - conditiondetailed - - conditionexact - - symbol - - feeltemperature - - humidity - - temperature - - groundtemperature - - windspeed - - windforce - - winddirection - - windazimuth - - pressure - - visibility - - windgust - - precipitation - - irradiance - - precipitation_forecast_average - - precipitation_forecast_total - - rainlast24hour - - rainlasthour + name: 'volkel' + # Force 'Meetstation Volkel' to be used: + latitude: 51.65 + longitude: 5.70 + monitored_conditions: + - stationname + - barometerfc + - barometerfcname + - conditioncode + - condition + - conditiondetailed + - conditionexact + - symbol + - feeltemperature + - humidity + - temperature + - groundtemperature + - windspeed + - windforce + - winddirection + - windazimuth + - pressure + - visibility + - windgust + - precipitation + - irradiance + - precipitation_forecast_average + - precipitation_forecast_total + - rainlast24hour + - rainlasthour ``` Configuration example with current condition and (some) forecasted values: From 963df1e159e46877b88f59ff4a4183b90c997bf7 Mon Sep 17 00:00:00 2001 From: Jeff Rescignano Date: Sun, 17 May 2020 13:50:32 -0400 Subject: [PATCH 08/28] Update REST API URL (#13469) --- source/_redirects | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_redirects b/source/_redirects index 0462167d36d..95164251eb4 100644 --- a/source/_redirects +++ b/source/_redirects @@ -72,7 +72,7 @@ /developers/platform_example_sensor https://github.com/home-assistant/example-custom-config/tree/master/custom_components/example_sensor /developers/python_api https://developers.home-assistant.io/docs/en/external_api_rest_python.html /developers/releasing https://developers.home-assistant.io/docs/en/releasing.html -/developers/rest_api https://developers.home-assistant.io/docs/en/external_api_rest.html +/developers/rest_api https://developers.home-assistant.io/docs/api/rest.html /developers/server_sent_events https://developers.home-assistant.io/docs/en/external_api_server_sent_events.html /developers/websocket_api https://developers.home-assistant.io/docs/en/external_api_websocket.html From bd9fc8b5c936e990720725fc96612e90dd9a8859 Mon Sep 17 00:00:00 2001 From: Jeff Rescignano Date: Mon, 18 May 2020 03:59:30 -0400 Subject: [PATCH 09/28] Add alt text to "Deploys by Netlify" badge in footer (#13491) --- source/_includes/site/footer.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_includes/site/footer.html b/source/_includes/site/footer.html index 748f6b58340..cb84f4726e7 100644 --- a/source/_includes/site/footer.html +++ b/source/_includes/site/footer.html @@ -30,7 +30,7 @@ Oscalite theme.

- + Deploys by Netlify Badge From f09f984ec2611d8af41649f93af73a892a3da5b1 Mon Sep 17 00:00:00 2001 From: Jeff Rescignano Date: Mon, 18 May 2020 03:59:59 -0400 Subject: [PATCH 10/28] Update debugging URL on Security of Home Assistant page (#13490) --- source/_docs/security.markdown | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/source/_docs/security.markdown b/source/_docs/security.markdown index 1a2c72ec3a2..da8ea14bd4e 100644 --- a/source/_docs/security.markdown +++ b/source/_docs/security.markdown @@ -11,7 +11,7 @@ Home Assistant is NOT able to change the configuration of your router or firewal ## Server banner -Further [details about the fingerprint/server banner](/docs/security/webserver/) of a Home Assistant instance are available. +Further [details about the fingerprint/server banner](/docs/security/webserver/) of a Home Assistant instance are available. ## Porosity @@ -23,11 +23,10 @@ Home Assistant is following the [Mozilla's Operations Security team recommendati ## SSH -The SSH connection for [debugging](https://developers.home-assistant.io/docs/en/hassio_debugging.html) on port 22222 is not enabled by default and can only be used with keys. +The SSH connection for [debugging](https://developers.home-assistant.io/docs/operating-system/debugging.html) on port 22222 is not enabled by default and can only be used with keys. If SSH is used with the [SSH server add-on](/addons/ssh/) then the user is responsible for the configuration and security. ## Source code Due to the lack of resources we are not able to review all of our dependencies and inspect them for malicious behavior, leakage of information or compliance with GDPR. But we have a keen interest in the development of our dependencies and try to work closely with the upstream developer. - From 1fc54e05142c467415e101b6e2e3af2e395a7565 Mon Sep 17 00:00:00 2001 From: Salvatore Cordiano Date: Mon, 18 May 2020 10:04:31 +0200 Subject: [PATCH 11/28] Adding italian Alexa web-based app (#13474) (#13477) --- source/_integrations/alexa.smart_home.markdown | 1 + 1 file changed, 1 insertion(+) diff --git a/source/_integrations/alexa.smart_home.markdown b/source/_integrations/alexa.smart_home.markdown index c2f04a236f5..92c8cfda99b 100644 --- a/source/_integrations/alexa.smart_home.markdown +++ b/source/_integrations/alexa.smart_home.markdown @@ -958,6 +958,7 @@ The following is a list of regions and the corresponding URL for the web-based A - India: `https://alexa.amazon.in` - Spain: `https://alexa.amazon.es` - France: `https://alexa.amazon.fr` +- Italy: `https://alexa.amazon.it` ## Troubleshooting From 5bc87cb6753d52c314d27ff59d5ce15b6318fca9 Mon Sep 17 00:00:00 2001 From: Jeff Rescignano Date: Mon, 18 May 2020 04:06:24 -0400 Subject: [PATCH 12/28] Update developer documentation URL on Mobile App Integraion page (#13488) --- source/_integrations/mobile_app.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/mobile_app.markdown b/source/_integrations/mobile_app.markdown index 7b75d5293e6..a9f4783230d 100644 --- a/source/_integrations/mobile_app.markdown +++ b/source/_integrations/mobile_app.markdown @@ -15,7 +15,7 @@ The Mobile App integration allows Home Assistant mobile apps to easily integrate If you are planning to use a mobile application that integrates with Home Assistant, we recommend that you keep this integration enabled. -If you are a mobile app developer, see the [developer documentation](https://developers.home-assistant.io/docs/en/app_integration_index.html) for instructions on how to build your app on top of the mobile app component. +If you are a mobile app developer, see the [developer documentation](https://developers.home-assistant.io/docs/api/native-app-integration.html) for instructions on how to build your app on top of the mobile app component. ## Configuration From ad321969c8d036f9e44ae3f070a316442fc12ecc Mon Sep 17 00:00:00 2001 From: Jeff Rescignano Date: Mon, 18 May 2020 04:19:51 -0400 Subject: [PATCH 13/28] Update debugging URL on the OneWire integration page (#13486) --- source/_integrations/onewire.markdown | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/_integrations/onewire.markdown b/source/_integrations/onewire.markdown index 2e73d9fb71b..6cf96c86b93 100644 --- a/source/_integrations/onewire.markdown +++ b/source/_integrations/onewire.markdown @@ -24,7 +24,7 @@ Different families have different functionality and can measure different quanti | 12 | [DS2406(TAI-8570)](https://datasheets.maximintegrated.com/en/ds/DS2406.pdf) | Temperature (pressure when using TAI-8570) | | 1D | [DS2423](https://datasheets.maximintegrated.com/en/ds/DS2423.pdf) | Counter | | 22 | [DS1822](https://datasheets.maximintegrated.com/en/ds/DS1822.pdf) | | -| 26 | [DS2438/B1-R1-A/S2-R1-A](https://datasheets.maximintegrated.com/en/ds/DS2438.pdf)| Temperature, Voltage, Current, (pressure and humidity when using TAI-8570) | +| 26 | [DS2438/B1-R1-A/S2-R1-A](https://datasheets.maximintegrated.com/en/ds/DS2438.pdf)| Temperature, Voltage, Current, (pressure and humidity when using TAI-8570) | | 28 | [DS18B20](https://datasheets.maximintegrated.com/en/ds/DS18B20.pdf) | Temperature | | 3B | [DS1825](https://datasheets.maximintegrated.com/en/ds/DS1825.pdf) | Temperature | | 42 | [DS28EA00](https://datasheets.maximintegrated.com/en/ds/DS28EA00.pdf) | Temperature | @@ -41,7 +41,7 @@ Notes: ## Interfacing with the 1-wire bus -The 1-Wire bus can be connected directly to the IO pins of Raspberry Pi or by using a dedicated interface adapter, for example +The 1-Wire bus can be connected directly to the IO pins of Raspberry Pi or by using a dedicated interface adapter, for example [DS9490R](https://datasheets.maximintegrated.com/en/ds/DS9490-DS9490R.pdf) or adapters based on [DS2482-100](https://datasheets.maximintegrated.com/en/ds/DS2482-100.pdf) that can be directly attached to the IO pins on the Raspberry Pi. It is also possible for this platform to interface with a remote 1-wire host over a network connection using ofws and owserver. @@ -49,9 +49,9 @@ It is also possible for this platform to interface with a remote 1-wire host ove ## Raspberry Pi set up In order to setup 1-Wire support on Raspberry Pi, you'll need to edit `/boot/config.txt` following [this documentation](https://www.waveshare.com/wiki/Raspberry_Pi_Tutorial_Series:_1-Wire_DS18B20_Sensor#Enable_1-Wire). -To edit `/boot/config.txt` on the Home Assistant Operating System, use [this documentation](https://developers.home-assistant.io/docs/en/hassio_debugging.html) to enable SSH and edit `/mnt/boot/config.txt` via `vi`. +To edit `/boot/config.txt` on the Home Assistant Operating System, use [this documentation](https://developers.home-assistant.io/docs/operating-system/debugging.html) to enable SSH and edit `/mnt/boot/config.txt` via `vi`. -When using the GPIO pins on Raspberry Pi directly as a 1-wire bus, the description above uses two kernel modules. `1w_gpio`, that implements the 1-wire protocol, and `1w_therm`, that understands the DS18B20 (family 28) components inner structure and reports temperature. +When using the GPIO pins on Raspberry Pi directly as a 1-wire bus, the description above uses two kernel modules. `1w_gpio`, that implements the 1-wire protocol, and `1w_therm`, that understands the DS18B20 (family 28) components inner structure and reports temperature. There is no support for other device types (families) and hence this onewire platform only supports temperature measurements from family 28 devices. ## Interface adapter setup @@ -108,7 +108,7 @@ sensor: ### Entities and attributes -Upon startup of the platform, the 1-wire bus is searched for available 1-wire devices. For each device that this platform handles (see list of supported devices above), the platform adds one sensor for each physical quantity it measures. The name of the sensor is the device ID with the physical quantity it measures appended. +Upon startup of the platform, the 1-wire bus is searched for available 1-wire devices. For each device that this platform handles (see list of supported devices above), the platform adds one sensor for each physical quantity it measures. The name of the sensor is the device ID with the physical quantity it measures appended. `sensor.28.FF5C68521604_temperature` From 00c6369904cc50433a95d6d386d20889e2d54b93 Mon Sep 17 00:00:00 2001 From: Jeff Rescignano Date: Mon, 18 May 2020 04:20:16 -0400 Subject: [PATCH 14/28] Update History Graph URL on FIlter Integration page (#13487) --- source/_integrations/filter.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/filter.markdown b/source/_integrations/filter.markdown index 5838deeecef..dd4b21821fb 100644 --- a/source/_integrations/filter.markdown +++ b/source/_integrations/filter.markdown @@ -13,7 +13,7 @@ ha_domain: filter The `filter` platform enables sensors that process the states of other entities. -`filter` applies a signal processing algorithm to a sensor, previous and current states, and generates a `new state` given the chosen algorithm. The next image depicts an original sensor and the filter sensor of that same sensor using the [History Graph]({{site_roor}}/integrations/history_graph/) component. +`filter` applies a signal processing algorithm to a sensor, previous and current states, and generates a `new state` given the chosen algorithm. The next image depicts an original sensor and the filter sensor of that same sensor using the [History Graph](/lovelace/history-graph/) component.

From 8e688de72961f8d2e41efe9fd483599d80294e8e Mon Sep 17 00:00:00 2001 From: Jeff Rescignano Date: Mon, 18 May 2020 04:23:07 -0400 Subject: [PATCH 15/28] Update lovelace-custom-cards URL (#13479) --- source/_includes/asides/lovelace_navigation.html | 2 +- source/_lovelace/picture-elements.markdown | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_includes/asides/lovelace_navigation.html b/source/_includes/asides/lovelace_navigation.html index cbf144fd6e1..a5cf6c478bb 100644 --- a/source/_includes/asides/lovelace_navigation.html +++ b/source/_includes/asides/lovelace_navigation.html @@ -18,7 +18,7 @@

  • {% active_link /lovelace/yaml-mode/ YAML mode %}
  • {% active_link /lovelace/dashboards-and-views/ Dashboards & Views %}
  • {% active_link /lovelace/actions/ Actions %}
  • -
  • Developing Custom Cards
  • +
  • Developing Custom Cards
  • diff --git a/source/_lovelace/picture-elements.markdown b/source/_lovelace/picture-elements.markdown index 0a94663af4f..adf282fc497 100644 --- a/source/_lovelace/picture-elements.markdown +++ b/source/_lovelace/picture-elements.markdown @@ -385,7 +385,7 @@ style: {% endconfiguration %} The process for creating and referencing custom elements is the same as for custom cards. -Please see the [developer documentation](https://developers.home-assistant.io/docs/en/lovelace_custom_card.html) +Please see the [developer documentation](https://developers.home-assistant.io/docs/frontend/custom-ui/lovelace-custom-card.html) for more information. ## How to use the style object From 8570eaf6cdc61e9d2ef7e38a80be69ee9d40c091 Mon Sep 17 00:00:00 2001 From: Jeff Rescignano Date: Mon, 18 May 2020 04:41:23 -0400 Subject: [PATCH 16/28] Update custom panel instructions URL on Custom Panel Integration page (#13489) --- source/_integrations/panel_custom.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/panel_custom.markdown b/source/_integrations/panel_custom.markdown index f2e9a24093d..590c13851cc 100644 --- a/source/_integrations/panel_custom.markdown +++ b/source/_integrations/panel_custom.markdown @@ -10,7 +10,7 @@ ha_codeowners: ha_domain: panel_custom --- -The `panel_custom` support allows you to add additional panels to your Home Assistant frontend. The panels are listed in the sidebar if wished and can be highly customized. See the developer documentation on [instructions how to build your own panels](https://developers.home-assistant.io/docs/en/frontend_creating_custom_panels.html). +The `panel_custom` support allows you to add additional panels to your Home Assistant frontend. The panels are listed in the sidebar if wished and can be highly customized. See the developer documentation on [instructions how to build your own panels](https://developers.home-assistant.io/docs/frontend/custom-ui/creating-custom-panels/). To enable customized panels in your installation, add the following to your `configuration.yaml` file: From 2461f68fde15f110624dc496fae8e2363e975d43 Mon Sep 17 00:00:00 2001 From: Jeff Rescignano Date: Mon, 18 May 2020 04:43:07 -0400 Subject: [PATCH 17/28] Update REST API URL to use the redirect on MQTT Notifications Cookbook page (#13482) --- source/_cookbook/notify.mqtt.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_cookbook/notify.mqtt.markdown b/source/_cookbook/notify.mqtt.markdown index 79ec2ab83f9..29a6d97a311 100644 --- a/source/_cookbook/notify.mqtt.markdown +++ b/source/_cookbook/notify.mqtt.markdown @@ -31,7 +31,7 @@ The same will work for automations. ### REST API -Using the [REST API](https://developers.home-assistant.io/docs/en/external_api_rest.html) to send a message to a given topic. +Using the [REST API](https://developers.home-assistant.io/docs/api/rest/ to send a message to a given topic. ```bash $ curl -X POST \ From 31af901a4899efb951fdde50f94b1299e50e92e0 Mon Sep 17 00:00:00 2001 From: keeperofdakeys Date: Mon, 18 May 2020 18:52:42 +1000 Subject: [PATCH 18/28] Mention mDNS behaviour change in cast docs (#13380) Explicitly mention that mDNS discovery is now mandatory as of version 109 of Home Assistant. This ensures users who are upgrading with an unsupported configuration are aware that this behaviour has changed, so they must make the appropriate changes to their infrastructure. --- source/_integrations/cast.markdown | 2 ++ 1 file changed, 2 insertions(+) diff --git a/source/_integrations/cast.markdown b/source/_integrations/cast.markdown index b29197893dc..725fdfee5ce 100644 --- a/source/_integrations/cast.markdown +++ b/source/_integrations/cast.markdown @@ -76,3 +76,5 @@ If this is not possible, it's necessary to: - Enable mDNS forwarding between the subnets. - Enable source NAT to make requests from Home Assistant to the Chromecast appear to come from the same subnet as the Chromecast. + +Note that this functionality was changed in [release 109](https://www.home-assistant.io/blog/2020/04/29/release-109/) of Home Assistant, making mDNS discovery mandatory. From 1b64e2fab76cdc92effea0ec94008e1350e4299e Mon Sep 17 00:00:00 2001 From: glynaunac <36795150+glynaunac@users.noreply.github.com> Date: Mon, 18 May 2020 10:53:14 +0200 Subject: [PATCH 19/28] Edited label for bootable partition (#13381) Changed label of bootable partition from 'hassio-boot' to 'hassos-boot' --- source/hassio/installation.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/hassio/installation.markdown b/source/hassio/installation.markdown index 17a3b5cfdef..a7c872c5b5f 100644 --- a/source/hassio/installation.markdown +++ b/source/hassio/installation.markdown @@ -40,7 +40,7 @@ The following will take you through the steps required to install Home Assistant 3. Optional - set up the Wi-Fi or static IP. There are two possible places for that: - on a blank USB stick with a FAT32 partition having partition label `CONFIG`, while in its root directory, create the `network/my-network` file, or - - on the Home Assistant SD card's first, bootable partition (labeled `hassio-boot`, might not be auto mounted in Linux) create the `CONFIG/network/my-network` file. + - on the Home Assistant SD card's first, bootable partition (labeled `hassos-boot`, might not be auto mounted in Linux) create the `CONFIG/network/my-network` file. For the content of this file, follow the [Home Assistant Operating System howto][hassos-network]. From e688e955b8afaf21828d0b1d8d82d3ad12e361a3 Mon Sep 17 00:00:00 2001 From: Thomas Augustinus Date: Mon, 18 May 2020 10:57:42 +0200 Subject: [PATCH 20/28] description of the dashboard path (#13370) the description was missing - and it made it quite a guesswork to make it work. --- source/_integrations/cast.markdown | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/_integrations/cast.markdown b/source/_integrations/cast.markdown index 725fdfee5ce..ef67f9489bd 100644 --- a/source/_integrations/cast.markdown +++ b/source/_integrations/cast.markdown @@ -16,14 +16,14 @@ You can enable the Cast integration by going to the Integrations page inside the ## Home Assistant Cast -Home Assistant has its own Cast application to show the Home Assistant UI on any Chromecast device. You can use it by adding the [Cast entity row](/lovelace/entities/#cast) to your Lovelace UI, or by calling the `cast.show_lovelace_view` service. The service takes the path of a Lovelace view and an entity ID of a Cast device to show the view on. A `path` has to be defined in your Lovelace YAML for each view, as outlined in the [views documentation](/lovelace/views/#path). The following is a full configuration for a script that starts casting the `downstairs` tab of the `lovelace-cast` path (note that `entity_id` is specified under `data` and not for the service call): +Home Assistant has its own Cast application to show the Home Assistant UI on any Chromecast device. You can use it by adding the [Cast entity row](/lovelace/entities/#cast) to your Lovelace UI, or by calling the `cast.show_lovelace_view` service. The service takes the path of a Lovelace view and an entity ID of a Cast device to show the view on. A `path` has to be defined in your Lovelace YAML for each view, as outlined in the [views documentation](/lovelace/views/#path). The `dashboard_path` is the part of the Lovelace UI URL that follows the defined `base_url` Typically "lovelace". The following is a full configuration for a script that starts casting the `downstairs` tab of the `lovelace-cast` path (note that `entity_id` is specified under `data` and not for the service call): ```yaml 'cast_downstairs_on_kitchen': alias: Show Downstairs on kitchen sequence: - data: - dashboard_path: lovelace-cast- + dashboard_path: lovelace entity_id: media_player.kitchen view_path: downstairs service: cast.show_lovelace_view From 680d492ccc856c5ce8b00e59f686625b13035cec Mon Sep 17 00:00:00 2001 From: Phil Freo Date: Mon, 18 May 2020 05:00:02 -0400 Subject: [PATCH 21/28] Adding GoControl HUSBZB-1 stick to Z-Wave docs (#13481) Closes #13376 --- source/_docs/z-wave/controllers.markdown | 1 + 1 file changed, 1 insertion(+) diff --git a/source/_docs/z-wave/controllers.markdown b/source/_docs/z-wave/controllers.markdown index 067fa2a8d74..ad1fee37690 100644 --- a/source/_docs/z-wave/controllers.markdown +++ b/source/_docs/z-wave/controllers.markdown @@ -15,6 +15,7 @@ There have [been reports](https://www.raspberrypi.org/forums/viewtopic.php?f=28& - Aeotec Z-Stick Series 5 - Everspring USB stick - Gen 5 +- GoControl HUSBZB-1 stick - Sigma Designs UZB stick - Vision USB stick - Gen5 - Zooz Z-Wave Plus S2 stick ZST10 From 87e53fbc264784410a3f19da19d3598c8d57aeb2 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 18 May 2020 11:01:50 +0200 Subject: [PATCH 22/28] Add Arch and UEFI hint (#13423) --- source/hassio/installation.markdown | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/source/hassio/installation.markdown b/source/hassio/installation.markdown index a7c872c5b5f..b6127b8db0b 100644 --- a/source/hassio/installation.markdown +++ b/source/hassio/installation.markdown @@ -19,7 +19,7 @@ The following will take you through the steps required to install Home Assistant - [Odroid-XU4][odroid-xu4] - [Intel-Nuc][intel-nuc] - - As a virtual appliance: + - As a virtual appliance (x86_64/UEFI): - [VMDK][vmdk] (VMWare Workstation) - [VHDX][vhdx] @@ -35,10 +35,10 @@ The following will take you through the steps required to install Home Assistant 2. Install Home Assistant: - - Flash the downloaded image to an SD card using [balenaEtcher][balenaEtcher]. If using a Pi, we recommend at least a 32 GB SD card to avoid running out of space. On Virtual machine platforms, provide at least 32 GB of disk space for the VM. - - Load the appliance image into your virtual machine software. Choose 64-bit Linux and UEFI boot. + - Flash the downloaded image to an SD card using [balenaEtcher][balenaEtcher]. If using a Pi, we recommend at least a 32 GB SD card to avoid running out of space. + - Load the appliance image into your virtual machine software. Allow at least 32 GB of disk space for the virtual machine. Choose 64-bit Linux and UEFI boot. For a KVM-based setup with `virt-manager`, set **Firmware** to `UEFI x86_64: /usr/share/ovmf/x64/OVMF_CODE.fd`. -3. Optional - set up the Wi-Fi or static IP. There are two possible places for that: +3. Optional - set up the Wi-Fi or a static IP address. There are two possible places for that: - on a blank USB stick with a FAT32 partition having partition label `CONFIG`, while in its root directory, create the `network/my-network` file, or - on the Home Assistant SD card's first, bootable partition (labeled `hassos-boot`, might not be auto mounted in Linux) create the `CONFIG/network/my-network` file. From 14f5dfe43daeb7595b54a092e8f8b9ca8e1ce9d1 Mon Sep 17 00:00:00 2001 From: Ariel Voskov Date: Mon, 18 May 2020 12:03:06 +0300 Subject: [PATCH 23/28] Update vacuum.xiaomi_miio.markdown (#13436) Add a step to `Android (not rooted)` settings --- source/_integrations/vacuum.xiaomi_miio.markdown | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/source/_integrations/vacuum.xiaomi_miio.markdown b/source/_integrations/vacuum.xiaomi_miio.markdown index 7548fcbf3c5..257e5b4ef32 100644 --- a/source/_integrations/vacuum.xiaomi_miio.markdown +++ b/source/_integrations/vacuum.xiaomi_miio.markdown @@ -248,8 +248,9 @@ This token (32 hexadecimal characters) is required for the Xiaomi Mi Robot Vacuu > If using an Android device to retrieve the Access Token only `v5.4.49` of Mi Home is confirmed working (December 2019). 1. To begin, set up your Robovac with the latest version of Mi Home on your primary Android device as you normally would. -2. Using `v5.4.49` of Mi Home locate a text file under the `Smarthome/logs` folder where the 32 character token is stored. -3. There will likely be several text files in this directory, search all of them for the word 'token' and you should find it there. Be advised that the latest version of Mi Home does not store the token in clear text. +2. If your Robovac is already set up, you must reset its WiFi settings for it to get a new token. +3. Using `v5.4.49` of Mi Home locate a text file under the `Smarthome/logs` folder where the 32 character token is stored. +4. There will likely be several text files in this directory, search all of them for the word 'token' and you should find it there. Be advised that the latest version of Mi Home does not store the token in clear text. ### Linux and Rooted Android From be86e486839b1b2ed945aae23c8f728466f91149 Mon Sep 17 00:00:00 2001 From: Alexei Chetroi Date: Mon, 18 May 2020 05:03:47 -0400 Subject: [PATCH 24/28] Add line for zhaquirks debug logging (#13457) --- source/_integrations/zha.markdown | 1 + 1 file changed, 1 insertion(+) diff --git a/source/_integrations/zha.markdown b/source/_integrations/zha.markdown index a3b8bf50483..f744ddc34e5 100644 --- a/source/_integrations/zha.markdown +++ b/source/_integrations/zha.markdown @@ -188,6 +188,7 @@ logger: zigpy_xbee.zigbee.application: debug zigpy_xbee.api: debug zigpy_zigate: debug + zhaquirks: debug ``` ### Add Philips Hue bulbs that have previously been added to another bridge From 62b57a13e950961ce85246f97a1162e2813698eb Mon Sep 17 00:00:00 2001 From: Jeff Rescignano Date: Mon, 18 May 2020 05:36:38 -0400 Subject: [PATCH 25/28] Update URL fragment in Generic IP Camera Integration documentation (#13470) --- source/_integrations/generic_ip_camera.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/generic_ip_camera.markdown b/source/_integrations/generic_ip_camera.markdown index 7491b90b5dd..8fc80053b46 100644 --- a/source/_integrations/generic_ip_camera.markdown +++ b/source/_integrations/generic_ip_camera.markdown @@ -106,7 +106,7 @@ camera: ### Sharing a camera feed from one Home Assistant instance to another -If you are running more than one Home Assistant instance (let's call them the 'host' and 'receiver' instances) you may wish to display the camera feed from the host instance on the receiver instance. You can use the [REST API](/developers/rest_api/#get-apicamera_proxycameraltentity_id) to access the camera feed on the host (IP address 127.0.0.5) and display it on the receiver instance by configuring the receiver with the following: +If you are running more than one Home Assistant instance (let's call them the 'host' and 'receiver' instances) you may wish to display the camera feed from the host instance on the receiver instance. You can use the [REST API](https://developers.home-assistant.io/docs/api/rest/#get-apicamera_proxycameraentity_id) to access the camera feed on the host (IP address 127.0.0.5) and display it on the receiver instance by configuring the receiver with the following: ```yaml camera: From bc0635cdc69a6d45fae4598657e3c9378e06ab1b Mon Sep 17 00:00:00 2001 From: Diego Ambrosanio <7205371+snakuzzo@users.noreply.github.com> Date: Mon, 18 May 2020 11:37:25 +0200 Subject: [PATCH 26/28] added "data" in service call example (#13467) --- source/_integrations/counter.markdown | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/_integrations/counter.markdown b/source/_integrations/counter.markdown index 026151eaed4..f2f89aba230 100644 --- a/source/_integrations/counter.markdown +++ b/source/_integrations/counter.markdown @@ -150,7 +150,8 @@ automation: level: ERROR action: service: counter.increment - entity_id: counter.error_counter + data: + entity_id: counter.error_counter counter: error_counter: From 503c3e71f625f0784d33c760e3b372abe71782b6 Mon Sep 17 00:00:00 2001 From: ericvb Date: Mon, 18 May 2020 11:38:46 +0200 Subject: [PATCH 27/28] Updating and correction example to avoid warnings in HA log (#13461) --- .../_integrations/climate.mysensors.markdown | 125 +++++++++++++++--- 1 file changed, 105 insertions(+), 20 deletions(-) diff --git a/source/_integrations/climate.mysensors.markdown b/source/_integrations/climate.mysensors.markdown index 587c0f06491..f497322ce5d 100644 --- a/source/_integrations/climate.mysensors.markdown +++ b/source/_integrations/climate.mysensors.markdown @@ -39,17 +39,79 @@ You can use V_TEMP to send the current temperature from the node to Home Assista For more information, visit the [serial API](https://www.mysensors.org/download) of MySensors. ## Example sketch for MySensors 2.x - +{% raw %} ```cpp -/* -* Documentation: https://www.mysensors.org -* Support Forum: https://forum.mysensors.org -*/ +/** + * The MySensors Arduino library handles the wireless radio link and protocol + * between your home built sensors/actuators and HA controller of choice. + * The sensors forms a self healing radio network with optional repeaters. Each + * repeater and gateway builds a routing tables in EEPROM which keeps track of the + * network topology allowing messages to be routed to nodes. + * + * Created by Henrik Ekblad + * Copyright (C) 2013-2015 Sensnology AB + * Full contributor list: https://github.com/mysensors/Arduino/graphs/contributors + * + * Documentation: http://www.mysensors.org + * Support Forum: http://forum.mysensors.org + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * version 2 as published by the Free Software Foundation. + * + ******************************* + * + * REVISION HISTORY + * Version 1.0 - Toni A - https://github.com/ToniA/arduino-heatpumpir + * Version 2.1 - Author unknown - example script from the Home Assistant website : https://www.home-assistant.io/integrations/climate.mysensors + * Version 2.2 - Eric Van Bocxlaer - based on the example script from the Home Assistant website : https://www.home-assistant.io/integrations/climate.mysensors + * - https://community.home-assistant.io/t/mysensors-hvac-not-showing-up/22540 + * Version 2.3 - Eric Van Bocxlaer - correction states send back to home assistant, is expecting text values and not numeric values + * + * DESCRIPTION + * Heatpump controller + */ -#define MY_RADIO_NRF24 -#define CHILD_ID_HVAC 0 +// Enable debug prints to serial monitor +//#define MY_DEBUG +// Enable specific RFM69 debug prints to serial monitor +//#define MY_DEBUG_VERBOSE_RFM69 + +#define MY_NODE_ID 3 // set the node ID manually because a MQTT gateway will not assign automatically a node Id - this must be set before the mysensors.h call + +// Enable and select radio type attached. Replace the defines if you use other radio type hardware. +#define MY_RADIO_RFM69 +#define MY_RFM69_FREQUENCY RFM69_868MHZ // Set your frequency here +#define MY_IS_RFM69HW // Omit if your RFM is not "H" +#define MY_RFM69_NEW_DRIVER // soft spi for rfm69 radio works only with new driver + +//enable radio communication encryption +// more information can be found on https://forum.mysensors.org/topic/10382/security-signing-messages-and-encryption-of-messages-a-guide-or-more-a-summary-of-my-tests?_=1588348189475 +//#define MY_ENCRYPTION_SIMPLE_PASSWD "your16bitpassword" +//enable simple signing +//#define MY_SIGNING_SIMPLE_PASSWD "your32bitpassword" +//#define MY_SIGNING_SIMPLE_PASSWD "your16bitpassword" +//enable simple signing and encryption +//#define MY_SECURITY_SIMPLE_PASSWORD "your16bitpassword" +//enable simple signing and encryption +#define MY_SECURITY_SIMPLE_PASSWORD "your32bitpassword" +//enable soft signing +//#define MY_SIGNING_SOFT +//#define MY_SIGNING_REQUEST_SIGNATURES +//#define MY_SIGNING_SOFT_RANDOMSEED_PIN A0 +// following hex codes are dummy hex codes, replace by your hexcodes (see the link above how to generate) +//#define MY_SIGNING_NODE_WHITELISTING {{.nodeId = 0,.serial = {0x99,0x88,0x77,0x66,0x55,0x44,0x33,0x22,0x11}},{.nodeId = 1,.serial = {0x11,0x22,0x33,0x44,0x55,0x66,0x77,0x88,0x99}}} + +#include // sketch tested with version 2.3.2, see http://librarymanager/all#MySensors + +#define SENSOR_NAME "Heatpump Sensor" +#define SENSOR_VERSION "2.3" + +#define CHILD_ID_HVAC 0 // Each radio node can report data for up to 254 different child sensors. You are free to choose the child id yourself. + // You should avoid using child-id 255 because it is used for things like sending in battery level and other (protocol internal) node specific information. + +#define IR_PIN 3 // Arduino pin tied to the IR led using Arduino PWM -#include // Uncomment your heatpump model //#include @@ -58,11 +120,11 @@ For more information, visit the [serial API](https://www.mysensors.org/download) //#include //#include //#include -//#include +//#include // sketch tested with version 1.0.15, see http://librarymanager#HeatpumpIR by Toni Arte //#include //#include -//Some global variables to hold the states +//Some global variables to hold the numeric states sent to the airco unit int POWER_STATE; int TEMP_STATE; int FAN_STATE; @@ -70,11 +132,15 @@ int MODE_STATE; int VDIR_STATE; int HDIR_STATE; -IRSenderPWM irSender(3); // IR led on Arduino digital pin 3, using Arduino PWM +//Some global variables to hold the text states sent to the home assistant controller +String FAN_STATE_TXT; // possible values ("Min", "Normal", "Max", "Auto") +String MODE_STATE_TXT; // possible values ("Off", "HeatOn", "CoolOn", or "AutoChangeOver") -//Change to your Heatpump -HeatpumpIR *heatpumpIR = new PanasonicNKEHeatpumpIR(); +IRSenderPWM irSender(IR_PIN); + +//Change to your own Heatpump +//HeatpumpIR *heatpumpIR = new SamsungAQV12MSANHeatpumpIR(); /* new PanasonicDKEHeatpumpIR() new PanasonicJKEHeatpumpIR() @@ -84,7 +150,9 @@ new MideaHeatpumpIR() new FujitsuHeatpumpIR() new MitsubishiFDHeatpumpIR() new MitsubishiFEHeatpumpIR() -new SamsungHeatpumpIR() +new SamsungAQVHeatpumpIR() +new SamsungFJMHeatpumpIR() +// new SamsungHeatpumpIR() is a protected generic method, cannot be created directly new SharpHeatpumpIR() new DaikinHeatpumpIR() */ @@ -96,7 +164,10 @@ MyMessage msgHVACFlowState(CHILD_ID_HVAC, V_HVAC_FLOW_STATE); bool initialValueSent = false; void presentation() { - sendSketchInfo("Heatpump", "2.1"); + // Send the sketch version information to the gateway and Controller + sendSketchInfo(SENSOR_NAME, SENSOR_VERSION); + + // Register all sensors to gw (they will be created as child devices) by their ID and S_TYPE present(CHILD_ID_HVAC, S_HVAC, "Thermostat"); } @@ -106,9 +177,13 @@ void setup() { void loop() { // put your main code here, to run repeatedly: if (!initialValueSent) { - send(msgHVACSetPointC.set(20)); - send(msgHVACSpeed.set("Auto")); - send(msgHVACFlowState.set("Off")); + FAN_STATE_TXT = "Auto"; // default fan start state + TEMP_STATE = 20; // default start temperature + MODE_STATE_TXT = "Off"; // default mode state + + send(msgHVACSetPointC.set(TEMP_STATE)); + send(msgHVACSpeed.set(FAN_STATE_TXT.c_str())); + send(msgHVACFlowState.set(MODE_STATE_TXT.c_str())); initialValueSent = true; } @@ -136,6 +211,7 @@ void receive(const MyMessage &message) { else if(recvData.equalsIgnoreCase("min")) FAN_STATE = 1; else if(recvData.equalsIgnoreCase("normal")) FAN_STATE = 2; else if(recvData.equalsIgnoreCase("max")) FAN_STATE = 3; + FAN_STATE_TXT = recvData; break; case V_HVAC_SETPOINT_COOL: @@ -161,6 +237,7 @@ void receive(const MyMessage &message) { else if (recvData.equalsIgnoreCase("off")){ POWER_STATE = 0; } + MODE_STATE_TXT = recvData; break; } sendHeatpumpCommand(); @@ -168,12 +245,19 @@ void receive(const MyMessage &message) { } void sendNewStateToGateway() { + Serial.println("Status update send to HA:"); + Serial.println("*************************"); + Serial.println("Mode = " + MODE_STATE_TXT + "(" + (String)MODE_STATE + ")"); + Serial.println("Fan = " + FAN_STATE_TXT + "(" + (String)FAN_STATE + ")"); + Serial.println("Temp = " + (String)TEMP_STATE); + send(msgHVACFlowState.set(MODE_STATE_TXT.c_str())); + send(msgHVACSpeed.set(FAN_STATE_TXT.c_str())); send(msgHVACSetPointC.set(TEMP_STATE)); - send(msgHVACSpeed.set(FAN_STATE)); - send(msgHVACFlowState.set(MODE_STATE)); } void sendHeatpumpCommand() { + Serial.println("Heatpump commands send to airco:"); + Serial.println("********************************"); Serial.println("Power = " + (String)POWER_STATE); Serial.println("Mode = " + (String)MODE_STATE); Serial.println("Fan = " + (String)FAN_STATE); @@ -182,6 +266,7 @@ void sendHeatpumpCommand() { heatpumpIR->send(irSender, POWER_STATE, MODE_STATE, FAN_STATE, TEMP_STATE, VDIR_AUTO, HDIR_AUTO); } ``` +{% endraw %} ## Example sketch for MySensors 1.x From ce83d9a3668c5812b41f4035179a4f0bc59da63b Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 18 May 2020 12:11:47 +0200 Subject: [PATCH 28/28] Add setup section (#13500) --- source/_integrations/cast.markdown | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/source/_integrations/cast.markdown b/source/_integrations/cast.markdown index ef67f9489bd..d921c575447 100644 --- a/source/_integrations/cast.markdown +++ b/source/_integrations/cast.markdown @@ -14,6 +14,10 @@ ha_codeowners: You can enable the Cast integration by going to the Integrations page inside the configuration panel. +## Setup + +Support for mDNS discovery in your local network is mandatory. Make sure that your router has this feature enabled. This is even required if you entered the IP addresses of the Cast devices are manually in the configuration as mentioned below. + ## Home Assistant Cast Home Assistant has its own Cast application to show the Home Assistant UI on any Chromecast device. You can use it by adding the [Cast entity row](/lovelace/entities/#cast) to your Lovelace UI, or by calling the `cast.show_lovelace_view` service. The service takes the path of a Lovelace view and an entity ID of a Cast device to show the view on. A `path` has to be defined in your Lovelace YAML for each view, as outlined in the [views documentation](/lovelace/views/#path). The `dashboard_path` is the part of the Lovelace UI URL that follows the defined `base_url` Typically "lovelace". The following is a full configuration for a script that starts casting the `downstairs` tab of the `lovelace-cast` path (note that `entity_id` is specified under `data` and not for the service call): @@ -37,6 +41,7 @@ Home Assistant Cast requires your Home Assistant installation to be accessible v ## Advanced use ### Manual configuration + By default, any discovered Cast device is added to Home Assistant. This can be restricted by supplying a white list of wanted chrome casts. ```yaml @@ -53,7 +58,7 @@ media_player: type: list keys: host: - description: IP-address of a Cast device to add to Home Assistant. Use only if you don't want to add all available devices. The device won't be added until discovered through mDNS. + description: IP address of a Cast device to add to Home Assistant. Use only if you don't want to add all available devices. The device won't be added until discovered through mDNS. required: false type: string ignore_cec: @@ -77,4 +82,3 @@ If this is not possible, it's necessary to: - Enable mDNS forwarding between the subnets. - Enable source NAT to make requests from Home Assistant to the Chromecast appear to come from the same subnet as the Chromecast. -Note that this functionality was changed in [release 109](https://www.home-assistant.io/blog/2020/04/29/release-109/) of Home Assistant, making mDNS discovery mandatory.