diff --git a/source/_components/alarm_control_panel.concord232.markdown b/source/_components/alarm_control_panel.concord232.markdown
new file mode 100644
index 00000000000..793da487edb
--- /dev/null
+++ b/source/_components/alarm_control_panel.concord232.markdown
@@ -0,0 +1,29 @@
+---
+layout: page
+title: "Concord232 Alarm Control Panel"
+description: "Instructions how to integrate Interlogix/GE Concord4 with RS-232 Automation Control Module into Home Assistant."
+date: 2016-10-11 10:00
+sidebar: true
+comments: false
+sharing: true
+footer: true
+logo: interlogix.png
+ha_category: Alarm
+ha_release: 0.31
+---
+
+The `concord232` platform provides integration with GE, Interlogix (and other brands) alarm panels that support the RS-232 Automation Control Panel interface module (or have it built in). Supported panels include Concord 4.
+
+To enable this, add the following lines to your `configuration.yaml`:
+
+```yaml
+# Example configuration.yaml entry
+alarm_control_panel:
+ - platform: concord232
+```
+
+Configuration variables:
+
+- **host** (*Optional*): The host where the concord232 server process is running. Defaults to localhost.
+- **port** (*Optional*): The port where the Alarm panel ist listening. Defaults to 5007.
+
diff --git a/source/_components/alexa.markdown b/source/_components/alexa.markdown
index 8a0b7b714e5..46c436b3e82 100644
--- a/source/_components/alexa.markdown
+++ b/source/_components/alexa.markdown
@@ -12,9 +12,13 @@ ha_category: Voice
featured: true
---
-There are two ways that you can use Amazon Echo and Home Assistant together.
+There are a few ways that you can use Amazon Echo and Home Assistant together.
-No matter which method(s) you decide to use, please remember that Amazon Echo requires an active Internet connection to function. If your Internet is down or experiencing issues (or Amazon's infrastructure is having issues), neither of these methods will work.
+- [Turning devices on and off](#i-just-want-to-turn-devices-on-and-off-using-echo)
+- [Build custom commands to use](#i-want-to-build-custom-commands-to-use-with-echo)
+- [Create a new Flash Briefing source](#flash-briefing-skills)
+
+No matter which method(s) you decide to use, please remember that Amazon Echo requires an active Internet connection to function. If your Internet is down or experiencing issues (or Amazon's infrastructure is having issues), none of these methods will work.
Amazon has released [Echosim], a website that simulates the Alexa service in your browser. That way it is easy to test your skills without having access to a physical Amazon Echo.
@@ -62,9 +66,10 @@ Amazon requires the endpoint of a skill to be hosted via SSL. Self-signed certif
To get started with Alexa skills:
- - Log in to [Amazon developer console](https://developer.amazon.com)
- - Go to Apps & Services => Alexa => Alexa Skill Kit - Get Started
- - Add a new skill
+ - Log in to [Amazon developer console][amazon-dev-console]
+ - Click the Alexa button at the top of the console
+ - Click the yellow "Add a new skill" button in the top right
+ - Skill Type: Custom Interaction Model (default)
- Name: Home Assistant
- Invocation name: home assistant (or be creative, up to you)
- Version: 1.0
@@ -72,6 +77,8 @@ To get started with Alexa skills:
- https
- https://YOUR_HOST/api/alexa?api_password=YOUR_API_PASSWORD
+You can use this [specially sized Home Assistant logo][large-icon] as the large icon and [this one][small-icon] as the small one.
+
### {% linkable_title Configuring your Amazon Alexa skill %}
Alexa works based on intents. Each intent has a name and variable slots. For example, a `LocateIntent` with a slot that contains a `User`. Example intent schema:
@@ -119,7 +126,6 @@ You can use [templates] for the values of `speech/text`, `card/title` and `card/
Actions are using the [Home Assistant Script Syntax] and also have access to the variables from the intent.
-[templates]: /topics/templating/
[Home Assistant Script Syntax]: /getting-started/scripts/
Configuring the Alexa component for the above intents would look like this:
@@ -256,7 +262,7 @@ Then add the intent to your Alexa Section in your HA config file:
Now say `Alexa ask homeassistant to run
+[Welcome tags](https://www.netatmo.com/product/security/welcome/tags) are not yet supported, but will be in a next update.
+
+Most users will need to set `valid_ssl` to false unless they have installed a valid SSL certificate in place of the built in self-signed certificate.
+
+Bbox is a generic name for different hardware routers. The platform has only been tested on a Sagem F@st 5330b because it's the only model the developer owns.
+
+For now and due to third party limitation, the Bbox must be on the same local network as the Home Assistant installation. And with the default IP configuration (IP of the router must be 192.168.1.254).
+
If you are configuring on a Raspberry Pi, there are excellent instructions with GPIO schematics and driver configurations [here](http://alexba.in/blog/2013/01/06/setting-up-lirc-on-the-raspberrypi/). Consider following these. diff --git a/source/_components/logbook.markdown b/source/_components/logbook.markdown index c8a48533908..bd3d2743755 100644 --- a/source/_components/logbook.markdown +++ b/source/_components/logbook.markdown @@ -22,13 +22,17 @@ logbook: Configuration variables: -- **exclude** (*Optional*): Configure which components should **not** create logbook enties. -- **entities** (*Optional*): The list of entity ids to be excluded from creating logbook entries. -- **domains** (*Optional*): The list of domains to be excluded from creating logbook entries. +- **exclude** (*Optional*): Configure which components should **not** create logbook entries. + - **entities** (*Optional*): The list of entity ids to be excluded from creating logbook entries. + - **domains** (*Optional*): The list of domains to be excluded from creating logbook entries. +- **include** (*Optional*): Configure which components should create logbook entries. + - **entities** (*Optional*): The list of entity ids to be included from creating logbook entries. + - **domains** (*Optional*): The list of domains to be included from creating logbook entries. If you want to exclude messages of some entities or domains from the logbook just add the `exclude` parameter like: ```yaml +# Example of excluding domains and entities from the logbook logbook: exclude: entities: @@ -39,6 +43,34 @@ logbook: - weblink ``` +In case you just want to see messages from some specific entities or domains use the `include` configuration: + +```yaml +# Example to show how to include only the listed domains and entities in the logbook +logbook: + include: + domains: + - sensor + - switch + - media_player +``` + +You can also use the `include` list and filter out some entities or domains with an `exclude` list. Usually this makes sense if you define domains on the include side and filter out some specific entities. + +```yaml +# Example of combining include and exclude configurations +logbook: + include: + domains: + - sensor + - switch + - media_player + exclude: + entities: + - sensor.last_boot + - sensor.date +``` + ### {% linkable_title Exclude Events %} Entities customized as hidden are excluded from the logbook by default, but sometimes you want to show the entity in the UI and not in the logbook. For instance you use the `sensor.date`to show the current date in the UI, but you do not want an logbook entry for that sensor every day. diff --git a/source/_components/media_player.panasonic_viera.markdown b/source/_components/media_player.panasonic_viera.markdown index 861668192a0..e85e935bc90 100644 --- a/source/_components/media_player.panasonic_viera.markdown +++ b/source/_components/media_player.panasonic_viera.markdown @@ -20,6 +20,7 @@ Currently known supported models: - TX-P42STW50 - TC-P65VT30 +- TX-55CX700E If your model is not on the list then give it a test, if everything works correctly then add it to the list on [GitHub](https://github.com/home-assistant/home-assistant.io). diff --git a/source/_components/media_player.pioneer.markdown b/source/_components/media_player.pioneer.markdown index 8a810bcaf30..720241193d9 100644 --- a/source/_components/media_player.pioneer.markdown +++ b/source/_components/media_player.pioneer.markdown @@ -29,4 +29,10 @@ Configuration variables: - **host** (*Required*): The IP of the Pioneer device, eg. `192.168.0.10` - **name** (*Optional*): The name you would like to give to the receiver. +- **port** (*Optional*): The port on which the Pioneer device listens, e.g. `23` (default) or `8102` +- **timeout** (*Optional*): Number of seconds (float) to wait for blocking operations like connect, write, and read. +Notes: + +- Some Pioneer AVRs use the port 23 default and some are reported to use 8102. +- `timeout` is a socket level option and should only be configured if you know what you are doing. diff --git a/source/_components/media_player.yamaha.markdown b/source/_components/media_player.yamaha.markdown index 8ee77c42dc7..142979ed880 100644 --- a/source/_components/media_player.yamaha.markdown +++ b/source/_components/media_player.yamaha.markdown @@ -39,7 +39,8 @@ Configuration variables: A few notes: -- Not specifying the host variable will result in automatically searching your network for Yamaha Receivers. It will add a media player device for each one. +- Not specifying the host variable will result in automatically searching your network for Yamaha Receivers. It will add a media player device for each one. +- For receivers that support more than one zone, Home Assistant will add one media player per zone supported by the player, named "$name Zone 2" and "$name Zone 3". - In some cases, autodiscovery fails due to a known bug in the receiver's firmware. It is possible to manually specify the reveiver's IP address or via it's hostname (if it is discoverably by your DNS) then. - Please note: If adding the IP address or hostname manually, you **must** enable network standby on your receiver, or else startup of Home Assistant will hang if you have your receiver switched off. - Currently, this component supports powering on/off, mute, volume control and source selection. diff --git a/source/_components/netatmo.markdown b/source/_components/netatmo.markdown index ff6ac53af1b..286f0b78fe7 100644 --- a/source/_components/netatmo.markdown +++ b/source/_components/netatmo.markdown @@ -13,7 +13,7 @@ ha_release: "0.20" --- -The `netatmo` component platform is the main component to integrate all Netatmo related platforms. Besides this component you will have to setup any connected sensors separately. +The `netatmo` component platform is the main component to integrate all Netatmo related platforms. To enable the Netatmo component, add the following lines to your `configuration.yaml`: @@ -32,6 +32,7 @@ Configuration variables: - **secret_key** (*Required*): Your netatmo secret key - **username** (*Required*): Username for the netatmo account. - **password** (*Required*): Password for the netatmo account. +- **discovery** (*Optional)*: Whether to discover Netatmo devices. Set it to False, if you want to choose which Netatmo device you want to add (default True). ### {% linkable_title Get API and Secret Key %} @@ -54,5 +55,5 @@ That's it. You can copy and paste your new API and secret keys in your Home Assi
-The Home Assistant NetAtmo platform has only be tested with the classic indoor, outdoor module and rainmeter. There is no support for the windmeter module at this time because developers does not own these modules. +The Home Assistant Netatmo platform has only be tested with the classic indoor, outdoor module and rainmeter. There is no support for the windmeter module at this time because developers does not own these modules.
diff --git a/source/_components/notify.apns.markdown b/source/_components/notify.apns.markdown new file mode 100644 index 00000000000..2bafb470826 --- /dev/null +++ b/source/_components/notify.apns.markdown @@ -0,0 +1,53 @@ +--- +layout: page +title: "APNS" +description: "Instructions how to add APNS notifications to Home Assistant." +date: 2016-09-05 23:00 +sidebar: true +comments: false +sharing: true +footer: true +ha_category: Notifications +ha_release: 0.31 +--- + + +The `apns` platform uses the Apple Push Notification service (APNS) to deliver notifications from Home Assistant. + +To use the APNS service you will need an Apple developer account and you will need to create an App to receive push notifications. For more information see the apple developer documentation. + +```yaml +# Example configuration.yaml entry +notify: + name: NOTIFIER_NAME + platform: apns + cert_file: cert_file.pem +``` + +Configuration variables: + +- **name** (*Required*): The name of the notifier. The notifier will bind to the service `notify.NOTIFIER_NAME`. +- **sandbox** (*Optional*): If true notifications will be sent to the sandbox (test) notification service. Default false. +- **cert_file** (*Required*): The certificate to use to authenticate with the APNS service. + +The APNS platform will register two services, `notify.NOTIFIER_NAME` and `apns.NOTIFIER_NAME`. + +### apns.NOTIFIER_NAME + +This service will register device id's with home assistant. In order to receive a notification a device must be registered. The app on the device can use this service to send an ID to Home Assistant during startup, the ID will be stored in `[NOTIFIER_NAME]_apns.yaml`. + +See didRegisterForRemoteNotificationsWithDeviceToken in the [Apple developer documentation](https://developer.apple.com/library/ios/documentation/UIKit/Reference/UIApplicationDelegate_Protocol/#//apple_ref/occ/intfm/UIApplicationDelegate/application:didRegisterForRemoteNotificationsWithDeviceToken:) for more information about how to obtain a device id. + +### notify.NOTIFIER_NAME + +This service will send messages to a registered device. The following parameters can be used: + +- **message**: The message to send + +- **target**: The desired state of the device, only devices that match the state will receive messages. To enable state tracking a registered device must have a `tracking_device_id` attribute added to the `[NOTIFIER_NAME]_apns.yaml` file. If this ID matches a device in `known_devices.yaml` the device state will be tracked. + +- **data**: + * **badge**: The number to display as the badge of the app ic. + * **sound**: The name of a sound file in the app bundle or in the Library/Sounds folder. + * **category**: Provide this key with a string value that represents the identifier property of the UIMutableUserNotificationCategory. + * **content_available**: Provide this key with a value of 1 to indicate that new content is available. diff --git a/source/_components/notify.matrix.markdown b/source/_components/notify.matrix.markdown new file mode 100644 index 00000000000..9cee32ce4b7 --- /dev/null +++ b/source/_components/notify.matrix.markdown @@ -0,0 +1,39 @@ +--- +layout: page +title: "Matrix" +description: "Instructions how to add Matrix notifications to Home Assistant." +date: 2016-10-11 23:51 +sidebar: true +comments: false +sharing: true +footer: true +logo: matrix.png +ha_category: Notifications +ha_release: 0.31 +--- + + +The `matrix` platform allows you to deliver notifications from Home Assistant to a Matrix room. Rooms can be both direct as well as group chats. + +```yaml +# Example configuration.yaml entry +notify: + - platform: matrix + homeserver: HOMESERVER + username: USERNAME + password: PASSWORD + default_room: ROOM_ID_OR_ALIAS +``` + +Configuration variables: + +- **name** (*Optional*): Setting the optional parameter `name` allows multiple notifiers to be created. The default value is `notify`. The notifier will bind to the service `notify.NOTIFIER_NAME`. +- **homeserver** (*Required*): The base URL of the homeserver, where the notifier account is registered (e.g. `https://matrix.org`). +- **username** (*Required*): The username of the notifying Matrix account. +- **password** (*Required*): The password for the given Matrix account. +- **default_room** (*Required*): The room all messages will be sent to, when no other target is given. +- **verify_ssl** (*Optional*): Verify the homeservers certificate. Defaults to `true`. + +The target room has to be precreated, the room id can be obtained from the rooms settings dialog. Rooms by default have a canonical id of the form `!+Due to third party limitation, the sensors will only be available if Home Assistant and the Bbox are on the same local area network. You can check this by going to 192.168.1.254 with your web browser. +
+ +To add Bbox sensors to your installation, add the following to your `configuration.yaml` file: + +```yaml +# Example configuration.yaml entry +sensor: + - platform: bbox + monitored_variables: + - down_max_bandwidth + - up_max_bandwidth + - current_down_bandwidth + - current_up_bandwidth +``` + +Configuration variables: + +- **monitored_variables** array (*Required*): Sensors to display in the frontend. + - **down_max_bandwidth**: Maximum bandwidth available for download. + - **up_max_bandwidth**: Maximum bandwidth available for upload. + - **current_down_bandwidth**: Instant measure of the current used bandwidth for download. + - **current_up_bandwidth**: Instant measure of the current used bandwidthfor upload. + diff --git a/source/_components/sensor.fitbit.markdown b/source/_components/sensor.fitbit.markdown index 368101a5442..1739c4fe3de 100644 --- a/source/_components/sensor.fitbit.markdown +++ b/source/_components/sensor.fitbit.markdown @@ -15,7 +15,7 @@ ha_release: 0.19 The Fitbit sensor allows you to expose data from [Fitbit](http://fitbit.com) to Home Assistant. -Enable the sensor by adding the following to your configuration: +Enable the sensor by adding the following to your `configuration.yaml` file: ```yaml # Example configuration.yaml entry @@ -33,7 +33,7 @@ The unit system that the sensor will use is based on the country you set in your Configuration variables: -- **monitored_resources** (*Required*): Resource to monitor. +- **monitored_resources** (*Optional*): Resource to monitor. Defaults to `activities/steps`. Below is the list of resources that you can add to `monitored_resources`. One sensor is exposed for every resource. diff --git a/source/_components/sensor.haveibeenpwned.markdown b/source/_components/sensor.haveibeenpwned.markdown new file mode 100644 index 00000000000..b808954459e --- /dev/null +++ b/source/_components/sensor.haveibeenpwned.markdown @@ -0,0 +1,46 @@ +--- +layout: page +title: "HaveIBeenPwned Sensor" +description: "Instructions how to integrate HaveIBeenPwned sensor into Home Assistant." +date: 2016-09-29 18:00 +sidebar: true +comments: false +sharing: true +footer: true +logo: haveibeenpwned.png +ha_category: Sensor +ha_release: 0.31 +--- + +The `haveibeenpwned` sensor platform creates sensors that check for breached email accounts on [haveibeenpwned](https://haveibeenpwned.com). +To enable this sensor, add the following lines to your `configuration.yaml`, it will list every specified email address as a sensor showing +the number of breaches on that email account: + +```yaml +# Example configuration.yaml entry using cloud based emoncms +sensor: + platform: haveibeenpwned + email: + - your_email1@domain.com + - your_email2@domain.com +``` + +## {% linkable_title Breach meta data %} + +If one of your email accounts is breached the sensor will display breach meta data. It will list the title of the site where your email +account has been breached as well as the added date of the breach data. This data is displayed in descending order so that the state attribute +`breach 1` will always contain the last known breach for the specific email account, if there are any breaches detected. + +
+
+
+ The sensor will scan all email addresses specified with a 5 second delay between all breach data requests on Home Assistant startup. + After this initial startup scanning, the sensor will only scan one email account per 15 minutes to prevent abuse, and not hammer "the + Have I been Pwned" service, as this breach data almost never changes. +
diff --git a/source/_components/sensor.min_max.markdown b/source/_components/sensor.min_max.markdown new file mode 100644 index 00000000000..50e29e66139 --- /dev/null +++ b/source/_components/sensor.min_max.markdown @@ -0,0 +1,45 @@ +--- +layout: page +title: "Min/max Sensor" +description: "Instructions how to integrate min/max sensors into Home Assistant." +date: 2016-10-13 12:00 +sidebar: true +comments: false +sharing: true +footer: true +logo: home-assistant.png +ha_category: Sensor +ha_iot_class: "Local Polling" +ha_release: "0.31" +--- + + +The `min_max` sensor platform is consuming the state from other sensors and determine the minimum, maximum, and the mean of the collected states. The sensor will always show you the highest/lowest value which was received from your all monitored sensors. If you have spikes in your values, it's recommanded filter/equalize your values with a [statistics sensor](/components/sensor.statistics/) first. + +It's an alternative to the [template sensor](/components/sensor.template/)'s `value_template:` to get the average of multiple sensors. + +```yaml +{% raw %}{{ ((float(states.sensor.kitchen_temperature.state) + + float(states.sensor.living_room_temperature.state) + + float(states.sensor.office_temperature.state)) / 3) | round(2) +}}{% endraw %} +``` + +To enable the minimum/maximum sensor, add the following lines to your `configuration.yaml`: + +```yaml +# Example configuration.yaml entry +sensor: + - platform: min_max + entity_ids: + - sensor.kitchen_temperature + - sensor.living_room_temperature + - sensor.office_temperature +``` + +Configuration variables: + +- **entity_ids** (*Required*): At least two entities to monitor +- **type** (*Optional*): The type of sensor. Defaults to `max`. +- **name** (*Optional*): Name of the sensor to use in the frontend. + diff --git a/source/_components/sensor.netatmo.markdown b/source/_components/sensor.netatmo.markdown index 213d89452d4..1aa1bc8fac8 100644 --- a/source/_components/sensor.netatmo.markdown +++ b/source/_components/sensor.netatmo.markdown @@ -11,6 +11,15 @@ logo: netatmo.png ha_category: Weather --- +### {% linkable_title Basic Configuration %} + +The `netatmo` sensor platform is consuming the information provided by a [Netatmo](https://www.netatmo.com) device. + +To enable the Netatmo sensor, you have to set up [netatmo](/components/netatmo/), this will use discovery to add your sensor. + +### {% linkable_title Advanced configuration %} + +If you want to select a specific sensor, set discovery to False for [netatmo](/components/netatmo/) and add the following lines to your `configuration.yaml`: The `netatmo` sensor platform is consuming the information provided by a [Netatmo](https://www.netatmo.com) device. diff --git a/source/_components/sensor.pilight.markdown b/source/_components/sensor.pilight.markdown new file mode 100644 index 00000000000..517b356179c --- /dev/null +++ b/source/_components/sensor.pilight.markdown @@ -0,0 +1,63 @@ +--- +layout: page +title: "Pilight Sensor" +description: "Instructions how to integrate pilight sensors within Home Assistant." +date: 2016-10-08 23:21 +sidebar: true +comments: false +sharing: true +footer: true +logo: pilight.png +ha_category: Sensor +ha_release: 0.31 +ha_iot_class: depends +--- + + +This `pilight` sensor platform for 433 MHz devices uses a value in the message payload as the sensor value. Unique identifiers (e.g. _uuid_) can be set to distinguish between multile pilight devices. To use a pilight sensor the pilight home assistant hub has to be set up. + +To use your sensor via pilight, make sure it is [supported](https://wiki.pilight.org/doku.php/protocols) and add the following to your `configuration.yaml` file: + +```yaml +# Example configuration.yml entry +sensor: + - platform: pilight + variable: temperature + payload: + uuid: '0000-b8-27-eb-f447d3' +``` + +Configuration variables: + +- **variable** (*Required*): The variable name in the data stream that defines the sensor value. +- **payload** (*Required*): Message payload identifiers. Only if all identifiers are matched the sensor value is set. +- **name** (*Optional*): Name of the sensor. +- **unit_of_measurement** (*Optional*): Defines the units of measurement of the sensor, if any. + +## {% linkable_title Example: Weather station %} + +This section shows a real life example how to use values of a weather station. + + +```yaml +# Example configuration.yml entry +sensor: + - platform: pilight + name: 'Temperature' + variable: 'temperature' + payload: + uuid: 0000-b8-27-eb-f1f72e + unit_of_measurement: '°C' + - platform: pilight + name: 'Humidity' + variable: 'humidity' + payload: + uuid: 0000-b8-27-eb-f1f72e + unit_of_measurement: '%' + - platform: pilight + name: 'Battery' + variable: 'battery' + payload: + uuid: 0000-b8-27-eb-f1f72e + unit_of_measurement: '%' +``` diff --git a/source/_components/sensor.scrape.markdown b/source/_components/sensor.scrape.markdown new file mode 100644 index 00000000000..1c9de31d49e --- /dev/null +++ b/source/_components/sensor.scrape.markdown @@ -0,0 +1,93 @@ +--- +layout: page +title: "Scrape Sensor" +description: "Instructions how to integrate Web scrape sensors into Home Assistant." +date: 2016-10-12 09:10 +sidebar: true +comments: false +sharing: true +footer: true +logo: home-assistant.png +ha_category: Sensor +ha_release: 0.31 +--- + + +The `scrape` sensor platform is scraping information from websites. The sensor loads a HTML page and gives you the option to search and split out a value. As this is not a full-blown web scraper like [scrapy](https://scrapy.org/). It will most likely only works with simple webpage and it can be time-consuming to get the right section. + +To enable this sensor, add the following lines to your `configuration.yaml` file: + +```yaml +# Example configuration.yaml entry +sensor: + - platform: scrape + resource: https://home-assistant.io + select: ".current-version h1" +``` + +Configuration variables: + +- **resource** (*Required*): The URL to the website that contains the value. +- **select** (*Required*): Defines the HTML tag to search for. Check Beautifulsoup's [CSS selectors](https://www.crummy.com/software/BeautifulSoup/bs4/doc/#css-selectors) for details. +- **name** (*Optional*): Name of the sensor. +- **unit_of_measurement** (*Optional*): Defines the units of measurement of the sensor, if any. + +## {% linkable_title Examples %} + +In this section you find some real life examples of how to use this sensor. There is also a [Jupyter notebook](http://nbviewer.jupyter.org/github/home-assistant/home-assistant-notebooks/blob/master/web-scraping.ipynb) available for this example to give you a bit more insight. + +### {% linkable_title Home Assistant %} + +The current release Home Assistant is published on [https://home-assistant.io/](https://home-assistant.io/) + +```yaml +sensor: +# Example configuration.yaml entry + - platform: scrape + resource: https://home-assistant.io + name: Release + select: ".current-version h1" + value_template: '{% raw %}{{ value.split(":")[1] }}{% endraw %}' +``` + +### {% linkable_title Available implementations %} + +Get the counter for all our implementations from the [Component overview](/components/) page. + +```yaml +# Example configuration.yaml entry +sensor: + - platform: scrape + resource: https://home-assistant.io/components/ + name: Home Assistant impl. + select: 'a[href="#all"]' + value_template: '{% raw %}{{ value.split("(")[1].split(")")[0] }}{% endraw %}' +``` + +### {% linkable_title Get a value out of a tag %} + +The German [Federal Office for Radiation protection (Bundesamt für Strahlenschutz)](http://www.bfs.de/) is publishing various details about optical radiation including an UV index. This example is getting the index for a region in Germany. + +```yaml +sensor: +# Example configuration.yaml entry + - platform: scrape + resource: http://www.bfs.de/DE/themen/opt/uv/uv-index/prognose/prognose_node.html + name: Coast Ostsee + select: 'p:nth-of-type(19)' + unit_of_measurement: 'UV Index' +``` + +### {% linkable_title IFTTT status %} + +If you make heavy use of the [IFTTT](/components/ifttt/) web service for your automations and are curious about the [status of IFTTT](http://status.ifttt.com/) then you can display the current state of IFTTT in your frontend. + +```yaml +sensor: +# Example configuration.yaml entry + - platform: scrape + resource: http://status.ifttt.com/ + name: IFTTT status + select: '.component-status' +``` + diff --git a/source/_components/sensor.wunderground.markdown b/source/_components/sensor.wunderground.markdown index 9370a983dd2..7e2e9aef286 100644 --- a/source/_components/sensor.wunderground.markdown +++ b/source/_components/sensor.wunderground.markdown @@ -55,6 +55,7 @@ sensor: - precip_today_metric - precip_today_string - solarradiation + - alerts ``` @@ -89,6 +90,7 @@ Configuration variables: - **precip_today_metric**: Total precipitation in metric units - **precip_today_string**: Text summary of precipitation today - **solarradiation**: Current levels of solar radiation + - **alerts**: Current severe weather advisories Additional details about the API are available [here](https://www.wunderground.com/weather/api/d/docs). diff --git a/source/_components/sensor.zigbee.markdown b/source/_components/sensor.zigbee.markdown index 96f66fc0d45..64049c9837f 100644 --- a/source/_components/sensor.zigbee.markdown +++ b/source/_components/sensor.zigbee.markdown @@ -34,9 +34,9 @@ Configuration variables: - **name** (*Required*): The name you would like to give the sensor in Home Assistant. - **type** (*Required*): Set to `analog` or `temperature`. -- **pin** (*Required*): The number identifying which pin to sample +- **pin** (*Optional*): The number identifying which pin to sample. - **address** (*Optional*): The long 64 bit address of the remote ZigBee device whose pin you would like to sample. Do not include this variable if you want to sample the local ZigBee device's pins. -- **max_volts** (*Optional*): The maximum voltage which the input pin is able to read. Defaults to `1.2` +- **max_volts** (*Optional*): The maximum voltage which the input pin is able to read. Defaults to `1.2`. ## {% linkable_title Examples %} diff --git a/source/_components/sensor.zoneminder.markdown b/source/_components/sensor.zoneminder.markdown new file mode 100644 index 00000000000..8be4611b477 --- /dev/null +++ b/source/_components/sensor.zoneminder.markdown @@ -0,0 +1,27 @@ +--- +layout: page +title: "ZoneMinder Sensor" +description: "Instructions how to integrate ZoneMinder sensors within Home Assistant." +date: 2016-10-13 22:57 +sidebar: true +comments: false +sharing: true +footer: true +logo: zoneminder.png +ha_category: Sensor +--- + + +The `ZoneMinder` sensor platform let you monitor the current state of your zoneminder install including the number of events and the current state of the cameras. + ++You must have the [ZoneMinder component](/components/zoneminder/) configured to use those sensors. +
+ +To set it up, add the following information to your `configuration.yaml` file: + +```yaml +# Example configuration.yaml entry +sensor: + platform: zoneminder +``` \ No newline at end of file diff --git a/source/_components/switch.arduino.markdown b/source/_components/switch.arduino.markdown index 5d6a882c379..2b57d01cb94 100644 --- a/source/_components/switch.arduino.markdown +++ b/source/_components/switch.arduino.markdown @@ -10,6 +10,7 @@ footer: true logo: arduino.png ha_category: DIY ha_release: pre 0.7 +ha_iot_class: "Local Polling" --- @@ -24,21 +25,20 @@ switch: pins: 11: name: Fan Office - type: digital 12: name: Light Desk type: digital - default: on + initial: true negate: true ``` Configuration variables: -- **pins** (*Required*): Array of pins to use. The number corresponds with the pin numbering schema of your board. - - **name**: Name that will be used in the frontend for the pin. - - **type**: The type of the pin. At the moment only 'digital' is supported. - - **default**: The initial value for this port. - - **negate**: If this pin should be inverted. +- **pins** array (*Required*): List of pins to use. + - **[number]** (*Required*): The pin number that corresponds with the pin numbering schema of your board. + - **name** (*Required*): Name that will be used in the frontend for the pin. + - **initial** (*Optional*): The initial value for this port. Defaults to `False` . + - **negate** (*Optional*): If this pin should be inverted. Defaults to `False`. -The digital pins are numbered from 0 to 13. The available pins are 2 till 13. For testing purposes you can use pin 13 because with that pin you can control the internal LED. +The digital pins are numbered from 0 to 13 on a Arduino UNO. The available pins are 2 till 13. For testing purposes you can use pin 13 because with that pin you can control the internal LED. diff --git a/source/_components/switch.neato.markdown b/source/_components/switch.neato.markdown new file mode 100644 index 00000000000..bfba1029e39 --- /dev/null +++ b/source/_components/switch.neato.markdown @@ -0,0 +1,36 @@ +--- +layout: page +title: "Neato Robotics Switch" +description: "Instructions how to integrate a Neato Botvac Connected switch within Home Assistant." +date: 2016-10-19 17:10 +sidebar: true +comments: false +sharing: true +footer: true +logo: neato.png +ha_category: Switch +ha_release: 0.31 +--- + +The `neato` switch platform allows you to control your [Neato Botvac Connected](https://www.neatorobotics.com/robot-vacuum/botvac-connected-series/botvac-connected/). + +This will automatically add a switch for each Botvac Connected that you have. The switch will start a full home cleaning when turned ON and return the robot to base when turned OFF. + +To enable this switch in your installation, add the following to your `configuration.yaml` file: + +```yaml +# Example configuration.yaml entry +switch: + - platform: neato + username: USERNAME + password: PASSWORD +``` + +Configuration variables: + +- **username** (*Required*): Username for the Neato account. +- **password** (*Required*): Password for the Neato account. + ++The Home Assistant Neato platform has only be tested with a Botvac Connected. There is no support for the Botvac D3 Connected and Botvac D5 Connected robots at this time. +
diff --git a/source/_components/switch.zoneminder.markdown b/source/_components/switch.zoneminder.markdown new file mode 100644 index 00000000000..fa757bf2d9f --- /dev/null +++ b/source/_components/switch.zoneminder.markdown @@ -0,0 +1,40 @@ +--- +layout: page +title: "ZoneMinder Switch" +description: "Instructions how to integrate ZoneMinder switches into Home Assistant." +date: 2016-10-13 22:57 +sidebar: true +comments: false +sharing: true +footer: true +logo: zoneminder.png +ha_category: Switch +--- + + +The `zoneminder` switch platform allows you to toggle the current function of cameras attached to your ZoneMinder instance. + ++You must have the [ZoneMinder component](/components/zoneminder/) configured to use this. +
+ +To enable this switch, add the following lines to your `configuration.yaml` file: + +```yaml +# Example configuration.yaml entry +switch: + - platform: zoneminder + command_on: Modect + command_off: Monitor +``` + +Configuration variables: + +- **command_on** (*Required*): The function you want the camera to run when turned on. +- **command_off** (*Required*): The function you want the camera to run when turned off. + + ++The default functions installed by ZoneMinder are: None, Monitor, Modect, Record, Mocord, Nodect. +
+ diff --git a/source/_components/updater.markdown b/source/_components/updater.markdown index 9d9edc19ef7..50df7c6201b 100644 --- a/source/_components/updater.markdown +++ b/source/_components/updater.markdown @@ -11,15 +11,20 @@ logo: home-assistant.png ha_category: Other --- -The `updater` component will check for new releases at startup and everyday at noon and midnight. It will show a badge in the frontend if a new version has been detected. +The `updater` component will check daily for new releases. It will show a badge in the frontend if a new version was found. + +The updater component will also collect basic information about Home Assistant and its environment. The information includes the current Home Assistant version, the timezone, Python version and operating system infomation. No identifiable information (i.e. IP address, GPS coordinates, etc.) will ever be collected. If you are concerned about your privacy, you are welcome to scrutinize the Python [source code](https://github.com/home-assistant/home-assistant/blob/dev/homeassistant/components/updater.py#L91). To integrate this into Home Assistant, add the following section to your `configuration.yaml` file: ```yaml -# Example configuration.yaml entry updater: ``` +If you choose not to share any information when checking for updates, you can add `reporting: False`. + +### {% linkable_title Notification %} + For an added bonus, an automation component can be created to send a message with a notifier when that state of this component's entity changes. ```yaml @@ -34,3 +39,4 @@ automation: data: message: 'Update for Home Assistant is available.' ``` + diff --git a/source/_components/zigbee.markdown b/source/_components/zigbee.markdown index 8b29e11237a..1b3c76b2bd4 100644 --- a/source/_components/zigbee.markdown +++ b/source/_components/zigbee.markdown @@ -24,28 +24,16 @@ There is currently support for the following device types within Home Assistant: The local ZigBee device (assuming XBee) must have an up to date Router or Coordinator API firmware installed. -## Configuration - A `zigbee` section must be present in the `configuration.yaml` file and contain the following options as required: -- **device**: The serial port to which the local ZigBee device is connected. Default: `/dev/ttyUSB0` - -- **baud**: The baud rate at which to communicate with the local ZigBee device. Default: `9600` - -#### Example - -```yaml -zigbee: - device: /dev/ttyUSB0 - baud: 115200 -``` - -Or to simply use the defaults: - ```yaml +# Example configuration.yaml entry zigbee: ``` +- **device** (*Optional*): The serial port to which the local ZigBee device is connected. Defaults to `/dev/ttyUSB0` +- **baud** (*Optional*): The baud rate at which to communicate with the local ZigBee device. Defaults to `9600` + To find the possible serial port names of your device, run: ```bash @@ -55,3 +43,12 @@ $ ls /dev/ttyUSB*The port may also appear as /dev/ttyACM* if you're communicating with the ZigBee device through an Arduino.
+ +### {% linkable_title Example %} + +```yaml +# Example configuration.yaml entry +zigbee: + device: /dev/ttyACM1 + baud: 115200 +``` diff --git a/source/_components/zoneminder.markdown b/source/_components/zoneminder.markdown new file mode 100644 index 00000000000..32aa596c8d4 --- /dev/null +++ b/source/_components/zoneminder.markdown @@ -0,0 +1,31 @@ +--- +layout: page +title: "ZoneMinder" +description: "Instructions how to integrate ZoneMinder into Home Assistant." +date: 2016-10-13 22:57 +sidebar: true +comments: false +sharing: true +footer: true +logo: zoneminder.png +ha_category: Camera +featured: false +--- + +The ZoneMinder component is the main component to integrate all the sensors and switches for controlling your ZoneMinder instance. + +```yaml +# Example configuration.yaml entry +zoneminder: + host: ZM_HOST + path: ZM_PATH + username: USERNAME + password: PASSWORD +``` + +Configuration variables: +- **host** (*Required*): Your ZoneMinder server. +- **path** (*Optional*): Path to your ZoneMinder install (default: /zm/) +- **username** (*Optional*): Your ZoneMinder username. +- **password** (*Optional*): Your ZoneMinder password. + diff --git a/source/_posts/2016-01-29-insteon-lifx-twitter-and-zigbee.markdown b/source/_posts/2016-01-29-insteon-lifx-twitter-and-zigbee.markdown index 791de263cef..7315aa2e59b 100644 --- a/source/_posts/2016-01-29-insteon-lifx-twitter-and-zigbee.markdown +++ b/source/_posts/2016-01-29-insteon-lifx-twitter-and-zigbee.markdown @@ -87,6 +87,6 @@ Example of the new views in the frontend. Learn mor [@w1ll1am23]: https://github.com/w1ll1am23 [@zmrow]: https://github.com/zmrow -### Backwards incompatible changes +### {% linkable_title Backwards incompatible changes %} - Nest config has moved from thermostat to the [Nest component][Nest]. - - Entity IDs for Z-Wave devices are now generated in a deterministic way causing all IDs to change starting this release. This is a one time change. + - Entity IDs for Z-Wave devices are now generated in a deterministic way causing all IDs to change starting this release. This is a one time change. [(Changed again in 0.31)](/blog/2016/10/22/flash-briefing-updater-hacktoberfest/) diff --git a/source/_posts/2016-10-22-flash-briefing-updater-hacktoberfest.markdown b/source/_posts/2016-10-22-flash-briefing-updater-hacktoberfest.markdown new file mode 100644 index 00000000000..19b4945fbdc --- /dev/null +++ b/source/_posts/2016-10-22-flash-briefing-updater-hacktoberfest.markdown @@ -0,0 +1,281 @@ +--- +layout: post +title: "0.31: Reading you the news, some serious business, spooky hackery and a breaking Z-Wave change" +description: "Alexa Flash Briefing API support, Markdown in persistent notifications, a new updater component, Hacktoberfest and breaking Z-Wave changes." +date: 2016-10-22 13:00:00 -0700 +date_formatted: "October 22, 2016" +author: Robbie Trencheny +author_twitter: robbie +comments: true +categories: Release-Notes +--- + +Hello again friend, + +How are you? Having a good day? We sure are. If you aren't having a good day, this might cheer you up... + +Every other weekend around here gets a little hectic leading to a big sigh of relief as we release a new version of Home Assistant to the world. And this time is no different. Our developer community has once again built us a beautiful new release with lots of new features and improvements. We hope you like it. + +One last thing before we get going though, I should warn you... [@balloob] got a bit lazy this week and let me ([@robbiet480]) step up to the plate again to write the blog post and do the release. I guess I didn't do such a bad job in [0.27][zero-two-seven-release]. You'll never know what surprises I have in store. Now that i've got all that stuff out of the way, let's get started... + +## {% linkable_title Stats Update %} +Sadly, no big amazing stats to update you with this time, but we did recently pass 7,000 commits! This release featured submissions from 45 contributors. Hopefully with the new updater component we will be able to give you some really good stats in the 0.32 blog post. + +## {% linkable_title Hacktoberfest %} + +![Hacktoberfest logo][logo] + +October means Hacktoberfest time and our community has really come through with some excellent improvements and additions. As of this writing, we have 194 merged and 41 open pull requests to the [home-assistant repository][hacktoberfest-ha-prs] and 209 merged/28 open pull requests submitted to the [home-assistant.github.io repository][hacktoberfest-site-prs]. If you want to get in on the fun check out our [Hacktoberfest][hacktoberfest-blog] blog post or the [Hacktoberfest website][hacktoberfest-website]. You get an awesome t-shirt for free if you have 4 pull requests merged in the month of October! We even have tasks that a non-developer can easily accomplish with a tiny bit of work. Better hurry up though, only 9 days left and most of the easy tasks are gone! + +## {% linkable_title ⚠️ A greatly improved updater component (Please read this!) ⚠️ %} + +This release includes an update to our [updater] component. The responsibility of the updater component is to check if a new version is available and notify the user if this is the case. + +It used to be that this component would check with [PyPi] (the Python package manager) to see if a new update was available. This had a couple of problems: + + 1. We are unable to do a slow rollout + 2. We are unable to show the user extra information (like a link to a changelog or the release date) + 3. We are unable to warn users for critical security updates + +So to work around these problems, we decided to start hosting the version check service ourselves. Since we had to get some infrastructure spun up anyway, we figured we would take it a step further. Which leads me to this bit of the update (the most important part): + +### {% linkable_title What you need to know (the important bit!) %} + +Remember how I mentioned that up there in the title that there is some serious business in this release? Well, we also added some basic analytics to the updater component which get sent to the server and stored so that we get a better idea of our user base. + +Each Home Assistant instance running the updater component will generate a [unique ID][UUID] (based on UUIDv4) that will be used for the updater to be able to differentiate between instances. This UUID will be stored in your config directory in a file called `.uuid`. + +#### Opting out + +There are two ways to opt-out. The first way is by using the new `opt_out` option for the updater. This way the updater will continue to check for updates, but no information about your system will be shared with us. + +```yaml +updater: + reporting: no +``` + +You can also disable the updater component entirely by removing `updater:` from your `configuration.yaml` although **we would not suggest you do this** as you would miss any critical updates. + +Finally, you can also reset your unique identifier by deleting the `.uuid` file and restarting Home Assistant. + +#### Data stored on the Home Assistant update server + +Here is what my production Home Assistant instance looks like from the server side: + +| Name | Description | Example | Data Source | +|-----------------------|--------------------------------------------|------------------------------------|----------------| +| `arch` | CPU Architecture | `x86_64` | Local Instance | +| `distribution` | Linux Distribution name (only Linux) | `Ubuntu` | Local Instance | +| `docker` | True if running inside Docker | `false` | Local Instance | +| `first_seen_datetime` | First time instance ID was submitted | `2016-10-22T19:56:03.542Z` | Update Server | +| `geo_city` | GeoIP determined city | `Oakland` | Update Server | +| `geo_country_code` | GeoIP determined country code | `US` | Update Server | +| `geo_country_name` | GeoIP determined country name | `United States` | Update Server | +| `geo_latitude` | GeoIP determined latitude | `37.8047` | Update Server | +| `geo_longitude` | GeoIP determined longitude | `-122.2124` | Update Server | +| `geo_metro_code` | GeoIP determined metro code | `807` | Update Server | +| `geo_region_code` | GeoIP determined region code | `CA` | Update Server | +| `geo_region_name` | GeoIP determined region name | `California` | Update Server | +| `geo_time_zone` | GeoIP determined time zone | `America/Los_Angeles` | Update Server | +| `geo_zip_code` | GeoIP determined zip code | `94602` | Update Server | +| `last_seen_datetime` | Most recent time instance ID was submitted | `2016-10-22T19:56:03.542Z` | Update Server | +| `os_name` | Operating system name | `Darwin` | Local Instance | +| `os_version` | Operating system version | `10.12` | Local Instance | +| `python_version` | Python version | `3.5.2` | Local Instance | +| `timezone` | Timezone | `America/Los_Angeles` | Local Instance | +| `user_agent` | User agent used to submit analytics | `python-requests/2.11.1` | Local Instance | +| `uuid` | Unique identifier | `10321ee6094d4a2ebb5ed55c675d5f5e` | Local Instance | +| `version` | Home Assistant version | `0.31.0` | Local Instance | +| `virtualenv` | True if running inside virtualenv | `true` | Local Instance | + +In addition to the above collected data, the server will also use your IP address to do a geographic IP address lookup to determine a general geographic area that your address is located in. To be extremely, extremely clear about this bit: __The Home Assistant updater does not: store your IP address in a database and also does not submit the location information from your `configuration.yaml`.__ Our tests show that at best, we get 4 digits of accuracy on your IP address location which is a 5 mile radius of your actual IP location, assuming that it is even correct in the first place (geo IP look ups are very hit or miss). Here's what the accuracy looks like for my data above:  + +The server also adds two timestamps to the data: the original date your instance UUID was first seen and the timestamp of the last time we have seen your instance. + +This data is held in the highest security. The update system runs in a secured Amazon Web Services account owned by me ([@robbiet480]). I personally have 5 years of experience with complex AWS deployments and have an extensive security background. I have audited the entire system and made sure to take every step to protect the data, including limiting who has access (just [@balloob] and myself). While not directly personally identifiable we absolutely understand some users hesistance to giving this information out. Please understand that we are only collecting this information to better understand our user base to provide better long term support and feature development then is currently possible. + +We currently have no plans to publicly expose any of this information. If we did do such a thing in the future we would of course notify you in advance. It must also be stated that we will never sell or allow the use of this information for non-Home Assistant purposes. + +We thank you for understanding why we are collecting this data and hope that you leave the feature enabled but fully understand if you feel uncomfortable with this. + +Now, back to the fun stuff... + +## {% linkable_title Good evening. I'm Ron Burgundy and here's what happening in your world tonight. %} + +Home Assistant got a crazy idea recently that it couldn't do enough already and wanted to challenge itself even more. I really don't understand how it came up with this kooky idea, but it now thinks that its newest hobby should be a minor career in journalism. + +0.31 adds support for the brand spanking new [Alexa Flash Briefing API](https://developer.amazon.com/alexa-skills-kit/flash-briefing), allowing you to get updates from Home Assistant anytime you ask Alexa to read your flash briefing. What's the use case you ask? Well, now when I wake up in the morning and get my flash briefing, Home Assistant adds this to the end of it for me: + +> Drive time with traffic is 35 minutes. There is an UberPOOL that will cost $11.52, estimated to be 2 minutes away, for a total of 37 minutes. BART is currently estimated to take 29 minutes. You should take BART, as it is estimated to be faster by 8 minutes. + +Now I know how to best get to [my real job][runway] (no, Home Assistant is _not_ my real job, it does seem like it sometimes though) every morning. Obviously not the best home automation example, but I think you get the idea. I could see this being used to tell you any major events that happened in your home overnight or reading you your hyperlocal weather report. Thanks to the audio support you could even replace all of the default Alexa Flash Briefing sources with your own news feeds. Home Assistant supports both text and audio content as well as displaying data in the Alexa app. I also want to point out that unlike the existing Skill integration, the Flash Briefing API does _not_ require HTTPS (_but you should still be using HTTPS if possible_). For more information, check out the new [docs][flash-briefing-docs]. + + + +## {% linkable_title Major breaking Z-Wave changes ahead %} + +A rather nasty Z-Wave [issue][z-wave-issue] was discovered recently by [@lukas-hetzenecker]. There was a somewhat large chance that if you had multiple of the same model Z-Wave device they may both try to use the same entity IDs. To fix the issue the internal Z-Wave index is now appended to the end of all Z-Wave entity IDs. + +What this means for all you Z-Wave users is that you will need to update your configurations to reflect the change. I personally have quite a few (17) Z-Wave devices and went through the process this week. Here's what I had to do: + +- Update customizations +- Update groups +- Update my `zwave.customize` section +- Update my Alexa skills that used old entity IDs +- Because I use `emulated_hue` with Alexa and `emulated_hue` uses the entity ID as a unique identifier I also had to remove all Z-Wave devices from Alexa and re-add them. + +Your todo list may be a little different from mine, I just wanted to outline the steps I took to give you an idea of what you need to think about. It's not a very hard process, especially when using global find and replace in Sublime Text but did take me about 20 minutes to complete. + +This is super annoying, I know, especially since we had said in [0.12][zero-one-two-release] that Z-Wave IDs should hopefully never change again, but we are now forced to eat those words. I will state again that Z-Wave IDs shouldn't change in the future but obviously we see how that went. To sum up on this section... sorry but it had to happen. + +## {% linkable_title All changes %} + +- [Updater] component ([@infamy], [@robbiet480], [@kellerza]) +- Continue to setup other platforms when 1 platform config is invalid ([@kellerza]) +- Create [persistent notifications][pers-notify] when a platform contains invalid config ([@kellerza]) +- Logbook: Allow [filtering] domains and entities to be shown ([@wokar]) +- HTTP: Change `approved_ips` from string to CIDR validation ([@mweinelt]) +- Persistent Notifications: Allow using [markdown][pers-notify] ([@justweb1]) +- Netatmo: Add [discovery][netatmo-discovery] support ([@jabesq]) +- Netatmo Welcome camera: Add [binary sensor][netatmo-bin] ([@jabesq]) +- Support added for [HaveIBeenPwned] ([@joyrider3774]) +- Device tracker: `known_devices.yaml` reading and writing tweaks and fixes ([@kellerza]) +- Fix climate platforms showing the wrong temperature unit ([@rcloran]) +- Lots of voluptuous love ([@fabaff]) +- Ensure proper attribution for weather platforms ([@fabaff]) +- Fix Telegram in Docker ([@jeanregisser]) +- Support recursive config inclusions in YAML ([@lwis]) +- Camera: [Synology] SS cameras now supported ([@jgriff2]) +- History: Allow filtering domains and entities to be shown ([@wokar]) +- Media Player - Squeezebox: Now able to show artist and album ([@ih8gates]) +- Alexa: Flash Briefing skill support added ([@robbiet480]) +- Device Tracker: Add support for Bbox Modem Router ([@HydrelioxGithub]) +- Sensor: Add support for Bbox Modem Router ([@HydrelioxGithub]) +- Input select: Services added to pick next and prev option ([@persandstrom]) +- Sensor: [ARWN] now supported ([@sdague]) +- Pushbullet: Push an URL note if an url is provided inside data ([@jabesq]) +- Z-Wave: Allow certain devices to be not added to Home Assistant ([@lukas-hetzenecker]) +- New support for [Zoneminder] added ([@Khabi]) +- Weather: Allow tracking severe weather alerts with [WUnderground] ([@tchellomello]) +- Sensor: New support added to track [min/max/mean][min] ([@fabaff]) +- Convert EntityComponent to be async ([@pvizeli], [@balloob]) +- Z-Wave: Add assocation service ([@turbokongen]) +- Frontend - Services dev tool: persist state and tweak UI ([@justweb1]) +- Sensor: Support added for [scraping][scrape] websites ([@fabaff]) +- Clean up of tests ([@capellini]) +- New `fail` filter added to templates to raise on UndefinedError ([@jaharkes]) +- Support added for [Emoncms history][emoncms] ([@joyrider3774]) +- Support for [Apple Push Notifications Service][APNS] ([@sam-io]) +- Thermostat: Netatmo now supported ([@gieljnssns]) +- Alarm control panel: [Concord232] now supported ([@JasonCarter80]) +- Notify: [Matrix] support added ([@mweinelt]) +- Device tracker - nmap: Allow specifying multiple inputs for [nmap] ([@hcooper]) +- Device Tracker - snmp: SNMPv3 now supported ([@T3m3z]) +- Notify: [Telstra] SMS now supported ([@nvella]) +- Camera: [Verisure] now supported ([@turbokongen]) +- Support added for [Neato] Connected Robot ([@jabesq]) +- Media player: More options for [Yamaha] AVR ([@ehagan]) +- Sensor: Support for [Pilight] sensor ([@DavidLP]) +- iOS support ([@robbiet480]) +- Minor features and bug fixes by [@mtl010957], [@molobrakos], [@flyte], [@fabaff], [@phardy], [@sander76], [@T3m3z], [@c-w], [@balloob], [@robbiet480], [@StaticCube], [@vittoriom], [@hartmms], [@kirichkov], [@mezz64], [@ishults], [@Danielhiversen] and [@tchellomello]. + +## {% linkable_title Breaking changes %} + - The [HTTP] component now takes a different format for authenticating IPs + - Config format has changed for [Proximity] + - The Z-Wave entity ID change mentioned above + +## {% linkable_title If you need help... %} +...don't hesitate to use our [Forum](https://community.home-assistant.io/) or join us for a little [chat](https://gitter.im/home-assistant/home-assistant). The release notes have comments enabled but it's preferred if you the former communication channels. Thanks. + +## {% linkable_title Until next time %} + +Thanks for reading all of the above, especially since this week was a pretty long post. We should be back with a new post around November 5th announcing the arrival of 0.32. + +-- Robbie + +[@balloob]: https://github.com/balloob +[@capellini]: https://github.com/capellini +[@c-w]: https://github.com/c-w +[@Danielhiversen]: https://github.com/Danielhiversen +[@DavidLP]: https://github.com/DavidLP +[@ehagan]: https://github.com/ehagan +[@fabaff]: https://github.com/fabaff +[@flyte]: https://github.com/flyte +[@gieljnssns]: https://github.com/gieljnssns +[@hartmms]: https://github.com/hartmms +[@hcooper]: https://github.com/hcooper +[@HydrelioxGithub]: https://github.com/HydrelioxGithub +[@ih8gates]: https://github.com/ih8gates +[@infamy]: https://github.com/infamy +[@ishults]: https://github.com/ishults +[@jabesq]: https://github.com/jabesq +[@jaharkes]: https://github.com/jaharkes +[@JasonCarter80]: https://github.com/JasonCarter80 +[@jeanregisser]: https://github.com/jeanregisser +[@jgriff2]: https://github.com/jgriff2 +[@joyrider3774]: https://github.com/joyrider3774 +[@justweb1]: https://github.com/justweb1 +[@kellerza]: https://github.com/kellerza +[@Khabi]: https://github.com/Khabi +[@kirichkov]: https://github.com/kirichkov +[@lukas-hetzenecker]: https://github.com/lukas-hetzenecker +[@lwis]: https://github.com/lwis +[@mezz64]: https://github.com/mezz64 +[@molobrakos]: https://github.com/molobrakos +[@mtl010957]: https://github.com/mtl010957 +[@mweinelt]: https://github.com/mweinelt +[@Nixon506E]: https://github.com/Nixon506E +[@nvella]: https://github.com/nvella +[@persandstrom]: https://github.com/persandstrom +[@phardy]: https://github.com/phardy +[@pvizeli]: https://github.com/pvizeli +[@rcloran]: https://github.com/rcloran +[@robbiet480]: https://github.com/robbiet480 +[@sam-io]: https://github.com/sam-io +[@sander76]: https://github.com/sander76 +[@sdague]: https://github.com/sdague +[@StaticCube]: https://github.com/StaticCube +[@T3m3z]: https://github.com/T3m3z +[@tchellomello]: https://github.com/tchellomello +[@turbokongen]: https://github.com/turbokongen +[@vittoriom]: https://github.com/vittoriom +[@wokar]: https://github.com/wokar + +[APNS]: https://home-assistant.io/components/notify.apns/ +[ARWN]: https://home-assistant.io/components/sensor.arwn/ +[Concord232]: https://home-assistant.io/components/alarm_control_panel.concord232/ +[HTTP]: https://home-assistant.io/components/http/ +[HaveIBeenPwned]: https://home-assistant.io/components/sensor.haveibeenpwned/ +[Matrix]: https://home-assistant.io//components/notify.matrix/ +[Neato]: https://home-assistant.io/components/switch.neato/ +[Pilight]: https://home-assistant.io/components/sensor.pilight/ +[Proximity]: https://home-assistant.io/components/proximity/ +[PyPi]: https://pypi.python.org/pypi +[Synology]: https://home-assistant.io/components/camera.synology/ +[Telstra]: https://home-assistant.io/components/notify.telstra/ +[UUID]: https://en.wikipedia.org/wiki/Universally_unique_identifier +[Verisure]: https://home-assistant.io/components/camera.verisure/ +[WUnderground]: https://home-assistant.io/components/sensor.wunderground/ +[Yamaha]: https://home-assistant.io/components/media_player.yamaha/ +[Zoneminder]: https://home-assistant.io/components/zoneminder/ +[emoncms]: https://home-assistant.io//components/emoncms_history/ +[filtering]: https://home-assistant.io/components/logbook/ +[flash-briefing-docs]: https://home-assistant.io/components/alexa/ +[hacktoberfest-blog]: /blog/2016/10/02/hacktoberfest/ +[hacktoberfest-ha-prs]: https://github.com/home-assistant/home-assistant/labels/Hacktoberfest +[hacktoberfest-site-prs]: https://github.com/home-assistant/home-assistant.github.io/labels/Hacktoberfest +[hacktoberfest-website]: https://hacktoberfest.digitalocean.com/ +[logo]: /images/blog/2016-10-hacktoberfest/hacktoberfest.png +[min]: https://home-assistant.io/components/sensor.min_max/ +[netatmo-bin]: https://home-assistant.io/components/binary_sensor.netatmo/ +[netatmo-discovery]: https://home-assistant.io/components/netatmo/ +[nmap]: https://home-assistant.io/components/device_tracker.nmap_tracker/ +[pers-notify]: https://home-assistant.io/components/persistent_notification/ +[runway]: https://runway.is +[scrape]: https://home-assistant.io/components/sensor.scrape/ +[updater]: https://home-assistant.io/components/updater/ +[z-wave-issue]: https://github.com/home-assistant/home-assistant/pull/3759 +[zero-one-two-release]: /blog/2016/01/30/insteon-lifx-twitter-and-zigbee/#backwards-incompatible-changes +[zero-two-seven-release]: /blog/2016/08/28/notifications-hue-fake-unification/ +[twitter]: https://twitter.com/home_assistant +[robbie-twitter]: https://twitter.com/robbie diff --git a/source/_topics/splitting_configuration.markdown b/source/_topics/splitting_configuration.markdown index 8f1851e14ef..513f86da9aa 100644 --- a/source/_topics/splitting_configuration.markdown +++ b/source/_topics/splitting_configuration.markdown @@ -105,7 +105,7 @@ Let's look at the `device_tracker.yaml` file from our example: consider_home: 120 ``` -This small example illustrates how the "split" files work. In this case, we start with a "comment block" identifying the file followed by two (2) device tracker entries (`owntracks` and `nmap`). These files follow ["style 1"](/getting-started/devices/#style-2-list-each-device-separately) that is to say a fully left aligned leading entry (`- platform: owntracks`) followed by the parameter entries indented two (2) spaces. +This small example illustrates how the "split" files work. In this case, we start with a "comment block" identifying the file followed by two (2) device tracker entries (`owntracks` and `nmap`). These files follow ["style 1"](/getting-started/devices/#style-2-list-each-device-separately) that is to say a fully left aligned leading entry (`- platform: owntracks`) followed by the parameter entries indented two (2) spaces. This (large) sensor configuration gives us another example: @@ -170,6 +170,23 @@ We offer four advanced options to include whole directories at once. - `!include_dir_merge_list` will return the content of a directory as a list by merging all files (which should contain a list) into 1 big list. - `!include_dir_merge_named` will return the content of a directory as a dictionary by loading each file and merging it into 1 big dictionary. +These work recursively. As an example using `!include_dir_* automation`, will include all 6 files shown below: + +```bash +. +└── .homeassistant + ├── automation + │ ├── lights + │ │ ├── turn_light_off_bedroom.yaml + │ │ ├── turn_light_off_lounge.yaml + │ │ ├── turn_light_on_bedroom.yaml + │ │ └── turn_light_on_lounge.yaml + │ ├── say_hello.yaml + │ └── sensors + │ └── react.yaml + └── configuration.yaml (not included) +``` + #### {% linkable_title Example: `!include_dir_list` %} `configuration.yaml` @@ -350,7 +367,6 @@ automation: !include_dir_merge_list automation/ action: service: light.turn_on entity_id: light.entryway - - alias: Automation 2 trigger: platform: state diff --git a/source/_topics/updater_details.markdown b/source/_topics/updater_details.markdown new file mode 100644 index 00000000000..de2fa26044e --- /dev/null +++ b/source/_topics/updater_details.markdown @@ -0,0 +1,52 @@ +--- +layout: page +title: "Details about the updater" +description: "Details what the updater component is reporting about your Home Assistant instance." +date: 2016-10-22 08:00 +sidebar: false +comments: false +sharing: true +footer: true +ha_category: Infrastructure +--- + +Starting with 0.31 the [updater component](/components/updater/) sends an optional report about Home Assistant instance. + +We are only collecting this information to better understand our user base to provide better long term support and feature development. + +| Name | Description | Example | Data Source | +|-----------------------|--------------------------------------------|------------------------------------|----------------| +| `arch` | CPU Architecture | `x86_64` | Local Instance | +| `distribution` | Linux Distribution name (only Linux) | `Ubuntu` | Local Instance | +| `docker` | True if running inside Docker | `false` | Local Instance | +| `first_seen_datetime` | First time instance ID was submitted | `2016-10-22T19:56:03.542Z` | Update Server | +| `geo_city` | GeoIP determined city | `Oakland` | Update Server | +| `geo_country_code` | GeoIP determined country code | `US` | Update Server | +| `geo_country_name` | GeoIP determined country name | `United States` | Update Server | +| `geo_latitude` | GeoIP determined latitude | `37.8047` | Update Server | +| `geo_longitude` | GeoIP determined longitude | `-122.2124` | Update Server | +| `geo_metro_code` | GeoIP determined metro code | `807` | Update Server | +| `geo_region_code` | GeoIP determined region code | `CA` | Update Server | +| `geo_region_name` | GeoIP determined region name | `California` | Update Server | +| `geo_time_zone` | GeoIP determined time zone | `America/Los_Angeles` | Update Server | +| `geo_zip_code` | GeoIP determined zip code | `94602` | Update Server | +| `last_seen_datetime` | Most recent time instance ID was submitted | `2016-10-22T19:56:03.542Z` | Update Server | +| `os_name` | Operating system name | `Darwin` | Local Instance | +| `os_version` | Operating system version | `10.12` | Local Instance | +| `python_version` | Python version | `3.5.2` | Local Instance | +| `timezone` | Timezone | `America/Los_Angeles` | Local Instance | +| `user_agent` | User agent used to submit analytics | `python-requests/2.11.1` | Local Instance | +| `uuid` | Unique identifier | `10321ee6094d4a2ebb5ed55c675d5f5e` | Local Instance | +| `version` | Home Assistant version | `0.31.0` | Local Instance | +| `virtualenv` | True if running inside virtualenv | `true` | Local Instance | + +In addition to the above collected data, the server will also use your IP address to do a geographic IP address lookup to determine a general geographic area that your address is located in. To be extremely, extremely clear about this bit: __The Home Assistant updater does not: store your IP address in a database and also does not submit the location information from your `configuration.yaml`.__ + +Our tests showed that at best, we get 4 digits of accuracy on your IP address location which is a 5 mile radius of your actual IP location, assuming that it is even correct in the first place (geo IP lookups are very hit or miss). + +The server also adds two timestamps to the data: + +- the original date your instance UUID was first seen +- the timestamp of the last time we have seen your instance + +There are currently no plans to publicly expose any of this information. If we did do such a thing in the future we would of course notify you in advance. It must also be stated that we will never sell or allow the use of this information for non-Home Assistant purposes. diff --git a/source/developers/architecture.markdown b/source/developers/architecture.markdown index 70912917a7c..59ff0912d58 100644 --- a/source/developers/architecture.markdown +++ b/source/developers/architecture.markdown @@ -14,8 +14,8 @@ Before we dive into the Home Assistant architecture, let's get a clear overview For more information about each part in this overview, check out our blog. Here's the tl;dr version of the blog: * Home Control is responsible for collecting information and controlling devices. - * Home Automation triggers commands based on user configurations. - * Smart Home triggers commands based on previous behavior. + * Home Automation triggers command based on user configurations. + * Smart Home triggers commands based on previous behaviour.