mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-22 00:36:49 +00:00
Release 0.14 blogpost
This commit is contained in:
parent
324aad1160
commit
5ae2195126
@ -129,6 +129,11 @@ automation:
|
|||||||
# Optional
|
# Optional
|
||||||
from: 'not_home'
|
from: 'not_home'
|
||||||
to: 'home'
|
to: 'home'
|
||||||
|
# If given, will trigger when state has been the to state for X time.
|
||||||
|
for:
|
||||||
|
hours: 1
|
||||||
|
minutes: 10
|
||||||
|
seconds: 5
|
||||||
```
|
```
|
||||||
|
|
||||||
<p class='note warning'>
|
<p class='note warning'>
|
||||||
@ -249,6 +254,12 @@ automation:
|
|||||||
platform: state
|
platform: state
|
||||||
entity_id: device_tracker.paulus
|
entity_id: device_tracker.paulus
|
||||||
state: not_home
|
state: not_home
|
||||||
|
# optional: trigger only if state was this for last X time.
|
||||||
|
for:
|
||||||
|
hours: 1
|
||||||
|
minutes: 10
|
||||||
|
seconds: 5
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
#### {% linkable_title Sun condition %}
|
#### {% linkable_title Sun condition %}
|
||||||
|
@ -19,7 +19,7 @@ To use your Command binary sensor in your installation, add the following to you
|
|||||||
```yaml
|
```yaml
|
||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
binary_sensor:
|
binary_sensor:
|
||||||
platform: command_sensor
|
platform: command_line
|
||||||
command: cat /proc/sys/net/ipv4/ip_forward
|
command: cat /proc/sys/net/ipv4/ip_forward
|
||||||
name: 'IP4 forwarding'
|
name: 'IP4 forwarding'
|
||||||
payload_on: "1"
|
payload_on: "1"
|
||||||
@ -46,7 +46,7 @@ Check the state of an [SickRage](https://github.com/sickragetv/sickrage) instanc
|
|||||||
```yaml
|
```yaml
|
||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
binary_sensor:
|
binary_sensor:
|
||||||
platform: command_sensor
|
platform: command_line
|
||||||
command: netstat -na | find "33322" | find /c "LISTENING" > nul && (echo "Running") || (echo "Not running")
|
command: netstat -na | find "33322" | find /c "LISTENING" > nul && (echo "Running") || (echo "Not running")
|
||||||
name: 'sickragerunning'
|
name: 'sickragerunning'
|
||||||
payload_on: "Running"
|
payload_on: "Running"
|
||||||
@ -59,7 +59,7 @@ Check if [RasPlex](http://www.rasplex.com/) is `online`.
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
binary_sensor:
|
binary_sensor:
|
||||||
platform: command_sensor
|
platform: command_line
|
||||||
command: 'ping rasplex.local -c 1 | grep "1 received" | wc -l'
|
command: 'ping rasplex.local -c 1 | grep "1 received" | wc -l'
|
||||||
name: 'is_rasplex_online'
|
name: 'is_rasplex_online'
|
||||||
payload_on: 1
|
payload_on: 1
|
40
source/_components/binary_sensor.mysensors.markdown
Normal file
40
source/_components/binary_sensor.mysensors.markdown
Normal file
@ -0,0 +1,40 @@
|
|||||||
|
---
|
||||||
|
layout: page
|
||||||
|
title: "MySensors Binary Sensor"
|
||||||
|
description: "Instructions how to integrate MySensors binary sensors into Home Assistant."
|
||||||
|
date: 2016-02-27 20:13 +0100
|
||||||
|
sidebar: true
|
||||||
|
comments: false
|
||||||
|
sharing: true
|
||||||
|
footer: true
|
||||||
|
logo: mysensors.png
|
||||||
|
ha_category: Binary Sensor
|
||||||
|
featured: false
|
||||||
|
---
|
||||||
|
|
||||||
|
Integrates MySensors binary sensors into Home Assistant. See the [main component] for configuration instructions.
|
||||||
|
|
||||||
|
The following sensor types are supported:
|
||||||
|
|
||||||
|
##### MySensors version 1.4 and higher
|
||||||
|
|
||||||
|
S_TYPE | V_TYPE
|
||||||
|
-------------------|---------------------------------------
|
||||||
|
S_DOOR | V_TRIPPED
|
||||||
|
S_MOTION | V_TRIPPED
|
||||||
|
S_SMOKE | V_TRIPPED
|
||||||
|
|
||||||
|
##### MySensors version 1.5 and higher
|
||||||
|
|
||||||
|
S_TYPE | V_TYPE
|
||||||
|
---------------|----------------------------------
|
||||||
|
S_SPRINKLER | V_TRIPPED
|
||||||
|
S_WATER_LEAK | V_TRIPPED
|
||||||
|
S_SOUND | V_TRIPPED, V_LEVEL
|
||||||
|
S_VIBRATION | V_TRIPPED, V_LEVEL
|
||||||
|
S_MOISTURE | V_TRIPPED, V_LEVEL
|
||||||
|
|
||||||
|
For more information, visit the [serial api] of MySensors.
|
||||||
|
|
||||||
|
[main component]: /components/mysensors/
|
||||||
|
[serial api]: https://www.mysensors.org/download/serial_api_15
|
18
source/_components/binary_sensor.wink.markdown
Normal file
18
source/_components/binary_sensor.wink.markdown
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
---
|
||||||
|
layout: page
|
||||||
|
title: "Wink Binary Sensor"
|
||||||
|
description: "Instructions how to setup the Wink binary sensors within Home Assistant."
|
||||||
|
date: 2015-01-20 22:36
|
||||||
|
sidebar: true
|
||||||
|
comments: false
|
||||||
|
sharing: true
|
||||||
|
footer: true
|
||||||
|
logo: wink.png
|
||||||
|
ha_category: Binary Sensor
|
||||||
|
---
|
||||||
|
|
||||||
|
|
||||||
|
The Wink binary sensor platform allows you to get data from your [Wink](http://www.wink.com/) binary sensors.
|
||||||
|
|
||||||
|
The requirement is that you have setup your [Wink hub](/components/wink/).
|
||||||
|
|
@ -8,7 +8,7 @@ comments: false
|
|||||||
sharing: true
|
sharing: true
|
||||||
footer: true
|
footer: true
|
||||||
logo: z-wave.png
|
logo: z-wave.png
|
||||||
ha_category: Sensor
|
ha_category: Binary Sensor
|
||||||
---
|
---
|
||||||
|
|
||||||
To get your Z-Wave binary sensors working with Home Assistant, follow the instructions for the general [Z-Wave component](/components/zwave/).
|
To get your Z-Wave binary sensors working with Home Assistant, follow the instructions for the general [Z-Wave component](/components/zwave/).
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
layout: page
|
layout: page
|
||||||
title: "Command line"
|
title: "Command line Notify"
|
||||||
description: "Instructions how to add command line notifications to Home Assistant."
|
description: "Instructions how to add command line notifications to Home Assistant."
|
||||||
date: 2016-02-22 20:00
|
date: 2016-02-22 20:00
|
||||||
sidebar: true
|
sidebar: true
|
||||||
@ -11,8 +11,7 @@ logo: command_line.png
|
|||||||
ha_category: Notifications
|
ha_category: Notifications
|
||||||
---
|
---
|
||||||
|
|
||||||
|
The `command_line` platform allows you to use external tools for notifications from Home Assistant. The message will be passed in as STDIN.
|
||||||
The `command_line` platform allows you to use external tools for notifications from Home Assistant.
|
|
||||||
|
|
||||||
To enable those notifications in your installation, add the following to your `configuration.yaml` file:
|
To enable those notifications in your installation, add the following to your `configuration.yaml` file:
|
||||||
|
|
||||||
@ -30,4 +29,3 @@ Configuration variables:
|
|||||||
- **command** (*Required*): The action to take.
|
- **command** (*Required*): The action to take.
|
||||||
|
|
||||||
To use notifications, please see the [getting started with automation page]({{site_root}}/components/automation/).
|
To use notifications, please see the [getting started with automation page]({{site_root}}/components/automation/).
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@ To enable it, add the following lines to your `configuration.yaml`:
|
|||||||
```yaml
|
```yaml
|
||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
sensor:
|
sensor:
|
||||||
platform: command_sensor
|
platform: command_line
|
||||||
command: SENSOR_COMMAND
|
command: SENSOR_COMMAND
|
||||||
name: Command sensor
|
name: Command sensor
|
||||||
unit_of_measurement: "°C"
|
unit_of_measurement: "°C"
|
||||||
@ -50,7 +50,7 @@ To use those information, the entry for a sensor in the `configuration.yaml` fil
|
|||||||
```yaml
|
```yaml
|
||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
sensor:
|
sensor:
|
||||||
platform: command_sensor
|
platform: command_line
|
||||||
name: HD Temperature
|
name: HD Temperature
|
||||||
command: "hddtemp -n /dev/sda"
|
command: "hddtemp -n /dev/sda"
|
||||||
unit_of_measurement: "°C"
|
unit_of_measurement: "°C"
|
||||||
@ -62,7 +62,7 @@ Thanks to the [`proc`](https://en.wikipedia.org/wiki/Procfs) file system, variou
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
- platform: command_sensor
|
- platform: command_line
|
||||||
name: CPU Temperature
|
name: CPU Temperature
|
||||||
command: "cat /sys/class/thermal/thermal_zone0/temp"
|
command: "cat /sys/class/thermal/thermal_zone0/temp"
|
||||||
unit_of_measurement: "°C"
|
unit_of_measurement: "°C"
|
||||||
@ -77,7 +77,7 @@ The `correction_factor` will make sure that the value is shown in a useful forma
|
|||||||
You can see directly in the frontend (**Developer tools** -> **About**) what release of Home Assistant you are running. The Home Assistant releases are available on the [Python Package Index](https://pypi.python.org/pypi). This makes it possible to get the current release.
|
You can see directly in the frontend (**Developer tools** -> **About**) what release of Home Assistant you are running. The Home Assistant releases are available on the [Python Package Index](https://pypi.python.org/pypi). This makes it possible to get the current release.
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
- platform: command_sensor
|
- platform: command_line
|
||||||
command: python3 -c "import requests; print(requests.get('https://pypi.python.org/pypi/homeassistant/json').json()['info']['version'])"
|
command: python3 -c "import requests; print(requests.get('https://pypi.python.org/pypi/homeassistant/json').json()['info']['version'])"
|
||||||
name: HA release
|
name: HA release
|
||||||
```
|
```
|
||||||
@ -106,7 +106,7 @@ To use the script you need to add something like the following to your `configur
|
|||||||
```yaml
|
```yaml
|
||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
sensor:
|
sensor:
|
||||||
platform: command_sensor
|
platform: command_line
|
||||||
name: Brightness
|
name: Brightness
|
||||||
command: "python3 /path/to/script/arest-value.py"
|
command: "python3 /path/to/script/arest-value.py"
|
||||||
unit_of_measurement: "°C"
|
unit_of_measurement: "°C"
|
@ -30,6 +30,11 @@ sensor:
|
|||||||
- 'local_ip'
|
- 'local_ip'
|
||||||
- 'last_connection'
|
- 'last_connection'
|
||||||
- 'battery_level'
|
- 'battery_level'
|
||||||
|
- 'weather_condition'
|
||||||
|
- 'weather_temperature'
|
||||||
|
- 'weather_humidity'
|
||||||
|
- 'wind_speed'
|
||||||
|
- 'wind_direction'
|
||||||
```
|
```
|
||||||
|
|
||||||
Configuration variables:
|
Configuration variables:
|
||||||
@ -45,5 +50,10 @@ Configuration variables:
|
|||||||
- 'local_ip'
|
- 'local_ip'
|
||||||
- 'last_connection'
|
- 'last_connection'
|
||||||
- 'battery_level'
|
- 'battery_level'
|
||||||
|
- 'weather_condition'
|
||||||
|
- 'weather_temperature'
|
||||||
|
- 'weather_humidity'
|
||||||
|
- 'wind_speed'
|
||||||
|
- 'wind_direction'
|
||||||
|
|
||||||
<p class='note'>You must have the [Nest component](/components/nest/) configured to use this sensor.</p>
|
<p class='note'>You must have the [Nest component](/components/nest/) configured to use this sensor.</p>
|
||||||
|
@ -19,7 +19,7 @@ To enable it, add the following lines to your `configuration.yaml`:
|
|||||||
```yaml
|
```yaml
|
||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
switch:
|
switch:
|
||||||
platform: command_switch
|
platform: command_line
|
||||||
switches:
|
switches:
|
||||||
kitchen_light:
|
kitchen_light:
|
||||||
oncmd: switch_command on kitchen
|
oncmd: switch_command on kitchen
|
||||||
@ -48,7 +48,7 @@ The example below is doing the same as the [aREST switch](/components/switch.are
|
|||||||
```yaml
|
```yaml
|
||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
switch:
|
switch:
|
||||||
platform: command_switch
|
platform: command_line
|
||||||
switches:
|
switches:
|
||||||
arest_pin4:
|
arest_pin4:
|
||||||
oncmd: "/usr/bin/curl -X GET http://192.168.1.10/digital/4/1"
|
oncmd: "/usr/bin/curl -X GET http://192.168.1.10/digital/4/1"
|
||||||
@ -67,7 +67,7 @@ This switch will shutdown your host immediately, there will be no confirmation.
|
|||||||
```yaml
|
```yaml
|
||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
switch:
|
switch:
|
||||||
platform: command_switch
|
platform: command_line
|
||||||
switches:
|
switches:
|
||||||
Home Assistant system shutdown:
|
Home Assistant system shutdown:
|
||||||
offcmd: "/usr/sbin/poweroff"
|
offcmd: "/usr/sbin/poweroff"
|
||||||
@ -81,7 +81,7 @@ This switch will control a local VLC media player ([Source](https://automic.us/f
|
|||||||
```yaml
|
```yaml
|
||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
switch:
|
switch:
|
||||||
platform: command_switch
|
platform: command_line
|
||||||
switches:
|
switches:
|
||||||
VLC:
|
VLC:
|
||||||
oncmd: "cvlc 1.mp3 vlc://quit &"
|
oncmd: "cvlc 1.mp3 vlc://quit &"
|
@ -13,7 +13,7 @@ ha_iot_class: "Local Polling"
|
|||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
The `dlink` switch platform allows you to control the state of your [D-Link Wi-Fi Smart Plugs](http://us.dlink.com/product-category/home-solutions/connected-home/smart-plugs/).
|
The `dlink` switch platform allows you to control the state of your [D-Link Wi-Fi Smart Plugs](http://us.dlink.com/product-category/home-solutions/connected-home/smart-plugs/).
|
||||||
|
|
||||||
Supported devices (tested):
|
Supported devices (tested):
|
||||||
|
|
||||||
|
93
source/_posts/2016-02-28-release-placeholder.markdown
Normal file
93
source/_posts/2016-02-28-release-placeholder.markdown
Normal file
@ -0,0 +1,93 @@
|
|||||||
|
---
|
||||||
|
layout: post
|
||||||
|
title: "0.14: Placeholder"
|
||||||
|
description: "Home Assistant 0.14 has arrived."
|
||||||
|
date: 2016-02-27 14:15:00 -0800
|
||||||
|
date_formatted: "February 28, 2016"
|
||||||
|
author: Paulus Schoutsen
|
||||||
|
author_twitter: balloob
|
||||||
|
comments: true
|
||||||
|
categories: Release-Notes
|
||||||
|
og_image: /images/blog/2016-02-release-14/social.png
|
||||||
|
---
|
||||||
|
|
||||||
|
It's been another two weeks which means it's time for release: 0.14!
|
||||||
|
|
||||||
|
<img src='/images/supported_brands/neurio.png' style='clear: right; margin-left: 5px; border:none; box-shadow: none; float: right; margin-bottom: 16px;' width='150' /><img src='/images/supported_brands/dlink.png' style='clear: right; margin-left: 5px; border:none; box-shadow: none; float: right; margin-bottom: 16px;' width='150' /><img src='/images/supported_brands/steam.png' style='clear: right; margin-left: 5px; border:none; box-shadow: none; float: right; margin-bottom: 16px;' width='90' />
|
||||||
|
|
||||||
|
- Notify: [Command line platform][notify.command_line] added ([@stefan-jonasson])
|
||||||
|
- Sensor: [Verisure] mousedetectors now supported ([@turbokongen])
|
||||||
|
- Core: Entities can now expose if they assume their state representation is correct ([@balloob])
|
||||||
|
- Sensor: [TCP][sensor.tcp] platform added ([@flyte])
|
||||||
|
- Binary Sensor: [TCP][binary_sensor.tcp] platform added ([@flyte])
|
||||||
|
- Sensor: [Neurio energy sensor] now supported ([@infamy])
|
||||||
|
- Binary Sensor: [nx584] support added ([@kk7ds])
|
||||||
|
- Improve and clarify CI testing ([@sdague])
|
||||||
|
- Automation: State [triggers] and [conditions] now takes optional `for` config parameter to only trigger when a state hasn't changed for a certain period of time ([@pavoni], [@stefan-jonasson])
|
||||||
|
- Sensor: [Nest] weather data added ([@w1ll1am23])
|
||||||
|
- Device Tracker: [Ubiquiti Unifi] now supported ([@kk7ds])
|
||||||
|
- Binary Sensor: [MySensors] now supported ([@MartinHjelmare])
|
||||||
|
- Binary Sensor: [Bloomsky] now supported ([@balloob])
|
||||||
|
- Binary Sensor: [Z-Wave] now supported ([@tpatja])
|
||||||
|
- Switch: [D-Link smart plugs] now supported ([@LinuxChristian])
|
||||||
|
- Script: Toggle support added ([@Andythigpen])
|
||||||
|
- Light: [Wemo] now supported ([@jaharkes])
|
||||||
|
- Rollershutter: [Command line platform][rollershutter.command_line] added ([@t30])
|
||||||
|
- Sensor: [Steam] now supported ([@GreenTurtwig])
|
||||||
|
- Binary Sensor: [Wink] now supported ([@w1ll1am23])
|
||||||
|
- Demo has been updated ([@kfgoode])
|
||||||
|
- Frontend: new UI for camera's ([@balloob])
|
||||||
|
|
||||||
|
<p class='img'>
|
||||||
|
<img src='/images/blog/2016-02-release-14/screenshot-webcam.png'>
|
||||||
|
Camera feeds are now directly embedded in the frontend.
|
||||||
|
</p>
|
||||||
|
|
||||||
|
### Backwards incompatible changes
|
||||||
|
- Component: Simple Alarm has been removed. Still available in [the cookbook].
|
||||||
|
- Script: Turning on a [script] that is already on is now a no-op instead of skipping current delay.
|
||||||
|
- Wemo switches now have to be set up via the main [Wemo component]
|
||||||
|
- Command line platforms for [switch][switch.cmd], [sensor][sensor.cmd] and [binary_sensor][binary_sensor.cmd] have been renamed to `command_line`.
|
||||||
|
|
||||||
|
[notify.command_line]: /components/notify.command_line/
|
||||||
|
[Verisure]: /components/sensor.verisure/
|
||||||
|
[binary_sensor.tcp]: /components/binary_sensor.tcp/
|
||||||
|
[sensor.tcp]: /components/sensor.tcp/
|
||||||
|
[Neurio energy sensor]: /components/sensor.neurio_energy/
|
||||||
|
[nx584]: /components/binary_sensor.nx584/
|
||||||
|
[triggers]: /components/automation/#state-trigger
|
||||||
|
[conditions]: /components/automation/#state-condition
|
||||||
|
[Nest]: /components/sensor.nest/
|
||||||
|
[Ubiquiti Unifi]: /components/device_tracker.unifi/
|
||||||
|
[MySensors]: /components/binary_sensor.mysensors/
|
||||||
|
[Bloomsky]: /components/binary_sensor.bloomsky/
|
||||||
|
[Z-Wave]: /components/binary_sensor.zwave/
|
||||||
|
[D-Link smart plugs]: /components/switch.dlink/
|
||||||
|
[Wemo]: /components/light.wemo/
|
||||||
|
[rollershutter.command_line]: /components/rollershutter.command_line/
|
||||||
|
[Steam]: /components/sensor.steam_online/
|
||||||
|
[Wink]: /components/binary_sensor.wink/
|
||||||
|
[the cookbook]: https://home-assistant.io/cookbook/python_component_simple_alarm/
|
||||||
|
[script]: /components/script/
|
||||||
|
[Wemo component]: /components/wemo/
|
||||||
|
[switch.cmd]: /components/switch.command_line/
|
||||||
|
[sensor.cmd]: /components/sensor.command_line/
|
||||||
|
[binary_sensor.cmd]: /components/binary_sensor.command_line/
|
||||||
|
|
||||||
|
[@stefan-jonasson]: https://github.com/stefan-jonasson
|
||||||
|
[@turbokongen]: https://github.com/turbokongen
|
||||||
|
[@balloob]: https://github.com/balloob
|
||||||
|
[@flyte]: https://github.com/flyte
|
||||||
|
[@infamy]: https://github.com/infamy
|
||||||
|
[@kk7ds]: https://github.com/kk7ds
|
||||||
|
[@sdague]: https://github.com/sdague
|
||||||
|
[@pavoni]: https://github.com/pavoni
|
||||||
|
[@w1ll1am23]: https://github.com/w1ll1am23
|
||||||
|
[@MartinHjelmare]: https://github.com/MartinHjelmare
|
||||||
|
[@tpatja]: https://github.com/tpatja
|
||||||
|
[@LinuxChristian]: https://github.com/LinuxChristian
|
||||||
|
[@Andythigpen]: https://github.com/Andythigpen
|
||||||
|
[@jaharkes]: https://github.com/jaharkes
|
||||||
|
[@t30]: https://github.com/t30
|
||||||
|
[@GreenTurtwig]: https://github.com/GreenTurtwig
|
||||||
|
[@kfgoode]: https://github.com/kfgoode
|
BIN
source/images/blog/2016-02-release-14/screenshot-webcam.png
Normal file
BIN
source/images/blog/2016-02-release-14/screenshot-webcam.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 76 KiB |
BIN
source/images/blog/2016-02-release-14/social.png
Normal file
BIN
source/images/blog/2016-02-release-14/social.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 121 KiB |
Loading…
x
Reference in New Issue
Block a user