Update blog post

This commit is contained in:
Paulus Schoutsen 2016-08-13 10:41:40 -07:00
parent 89d9f7be31
commit 80644112a3
5 changed files with 45 additions and 50 deletions

View File

@ -8,6 +8,7 @@ comments: false
sharing: true sharing: true
footer: true footer: true
logo: foursquare.png logo: foursquare.png
featured: true
ha_category: Other ha_category: Other
ha_release: 0.26 ha_release: 0.26
ha_iot_class: "Cloud Polling and Cloud Push" ha_iot_class: "Cloud Polling and Cloud Push"

View File

@ -35,6 +35,6 @@ Configuration variables:
- **sidebar_title** (*Optional*): Friendly title for the panel in the sidebar. Omitting it means no sidebar entry (but still accessible through the URL). - **sidebar_title** (*Optional*): Friendly title for the panel in the sidebar. Omitting it means no sidebar entry (but still accessible through the URL).
- **sidebar_icon** (*Optional*): Icon for entry. Pick an icon that you can find on [materialdesignicons.com](https://materialdesignicons.com/) to use for your input and prefix the name with `mdi:`. For example `mdi:car`, `mdi:ambulance`, or `mdi:motorbike`. - **sidebar_icon** (*Optional*): Icon for entry. Pick an icon that you can find on [materialdesignicons.com](https://materialdesignicons.com/) to use for your input and prefix the name with `mdi:`. For example `mdi:car`, `mdi:ambulance`, or `mdi:motorbike`.
- **url_path** (*Optional*): The URL your panel will be available on. If omitted will default to the panel name. - **url_path** (*Optional*): The URL your panel will be available on. If omitted will default to the panel name.
- **webcomponent_path** (*Optional*): The path to your component. If omitted will default to <config dir>/panels/<component name>.html - **webcomponent_path** (*Optional*): The path to your component. If omitted will default to `<config dir>/panels/<component name>.html`
- **config** (*Optional*): Configuration to be passed into your web component when being instantiated. - **config** (*Optional*): Configuration to be passed into your web component when being instantiated.

View File

@ -1,7 +1,7 @@
--- ---
layout: post layout: post
title: "0.26: New unit system, pilight, OHMconnect, and Fast.com" title: "0.26: Foursquare, Fast.com, FFMPEG and GPSD"
description: "Frontend became blazing fast and extensible. DirecTV support added." description: "Automate based on check ins, slow internet speed or just stream a camera using FFMPEG."
date: 2016-08-09 10:00:00 +0000 date: 2016-08-09 10:00:00 +0000
date_formatted: "August 09, 2016" date_formatted: "August 09, 2016"
author: Paulus Schoutsen author: Paulus Schoutsen
@ -10,31 +10,33 @@ comments: true
categories: Release-Notes categories: Release-Notes
--- ---
It's time for 0.26! The biggest change in this release is a new unit system. Instead of picking Celsius or Fahrenheit you'll have to pick imperial or metric now. This influences the units for your temperature, distance, and weight. This will simplify any platform or component that needs to know this information. Big thanks to [@Teagan42] for her hard work on this! It's time for 0.26 and it's again full of new features and fixes. First I want to highlight that we are now having 500 000 monthly pageviews on the website. A big milestone for us! It's been an amazing journey. Big thanks to the Home Assistant community for being such a delightful bunch.
<img src='/images/supported_brands/foursquare.png' style='clear: right; margin-left: 5px; border:none; box-shadow: none; float: right; margin-bottom: 16px;' width='150' /><img src='/images/supported_brands/ohmconnect.png' style='clear: right; margin-left: 5px; border:none; box-shadow: none; float: right; margin-bottom: 16px;' width='150' /><img src='/images/supported_brands/fastdotcom.png' style='clear: right; margin-left: 5px; border:none; box-shadow: none; float: right; margin-bottom: 16px;' width='150' /><img src='/images/supported_brands/pilight.png' style='clear: right; margin-left: 5px; border:none; box-shadow: none; float: right; margin-bottom: 16px;' width='150' /> This release includes code contributed by 31 different people. The biggest change in this release is a new unit system. Instead of picking Celsius or Fahrenheit you'll have to pick imperial or metric now. This influences the units for your temperature, distance, and weight. This will simplify any platform or component that needs to know this information. Big thanks to [@Teagan42] for her hard work on this!
<img src='/images/supported_brands/foursquare.png' style='clear: right; margin-left: 5px; border:none; box-shadow: none; float: right; margin-bottom: 16px;' width='150' /><img src='/images/supported_brands/ohmconnect.png' style='clear: right; margin-left: 5px; border:none; box-shadow: none; float: right; margin-bottom: 16px;' width='150' /><img src='/images/supported_brands/fastdotcom.png' style='clear: right; margin-left: 5px; border:none; box-shadow: none; float: right; margin-bottom: 16px;' width='100' /><img src='/images/supported_brands/gpsd.png' style='clear: right; margin-left: 5px; border:none; box-shadow: none; float: right; margin-bottom: 16px;' width='100' /><img src='/images/supported_brands/ffmpeg.png' style='clear: right; margin-left: 5px; border:none; box-shadow: none; float: right; margin-bottom: 16px;' width='100' />
- Core: Introduce notion of unit system (deprecates temperature unit option) ([@Teagan42]) - Core: Introduce notion of unit system (deprecates temperature unit option) ([@Teagan42])
- Front end: Speed improvements ([@balloob]) - Front end: Speed improvements ([@balloob])
- Front end: Improve layout of state dev tool ([@balloob]) - Front end: Improve layout of state dev tool ([@balloob])
- Proximity: Allow definition of unit of measurement ([@Teagan42]) - [Proximity]\: Allow definition of unit of measurement ([@Teagan42])
- Flux: Add mired and kelvin mode ([@HBDK]) - [Flux]\: Add mired and kelvin mode ([@HBDK])
- Thermostat - Proliphix: Support for cooling ([@sdague]) - Thermostat - [Proliphix]: Support for cooling ([@sdague])
- Media Player - LG Netcast TV: Show [screenshot] of what is currently playing ([@shmuelzon]) - Media Player - [LG Netcast TV]: Show screenshot of what is currently playing ([@shmuelzon])
- Z-Wave improvements ([@jnewland], [@turbokongen]) - Z-Wave improvements ([@jnewland], [@turbokongen])
- Thermostat - heat control: now also able to control an AC ([@mtreinish]) - Thermostat - [heat control]: now also able to control an AC ([@mtreinish])
- Thermostat - heat control: allow specifying a minimum duration before switching ([@mtreinish]) - Thermostat - [heat control]: allow specifying a minimum duration before switching ([@mtreinish])
- InfluxDB: [Whitelist] entities option added ([@tchellomello]) - [InfluxDB]\: Whitelist entities option added ([@tchellomello])
- Sensor: Serial [particulate matters][particulate] sensors now supported ([@open-homeautomation]) - Sensor: Serial [particulate matters][particulate] sensors now supported ([@open-homeautomation])
- Sensor - Fitbit: Fix unit system ([@tchellomello]) - Sensor - [Fitbit]: Fix unit system ([@tchellomello])
- Light - Flux LED: Add support for [color and brightness][color] ([@Danielhiversen]) - Light - [Flux LED]: Add support for [color and brightness][color] ([@Danielhiversen])
- Media Player - Plex: Now able to report on music ([@abcminiuser]) - Media Player - [Plex]: Now able to report on music ([@abcminiuser])
- Alarm Control Panel - Verisure: Now able to see who [changed] the alarm ([@persandtrom]) - Alarm Control Panel - [Verisure]: Now able to see who changed the alarm ([@persandtrom])
- Thermostat - Honeywell: Add option to read and control HVAC mode ([@Teagan42]) - Thermostat - [Honeywell]: Add option to read and control HVAC mode ([@Teagan42])
- [Foursquare] component to receive instant notifications of checkins ([@robbiet480]) - [Foursquare] component to receive instant notifications of checkins ([@robbiet480])
- Camera: New [FFMPEG] platform allows to stream anything through front end ([@pvizeli]) - Camera: New [FFMPEG] platform allows to stream anything through front end ([@pvizeli])
- New command line script to manage keyring entries ([@kellerza]) - Manage [secrets] with new command line script ([@kellerza])
- Notify - SMTP: Allow embedding of [images][images] ([@partofthething]) - Notify - [SMTP]: Allow embedding of images ([@partofthething])
- Sensor: [OhmConnect] is now supported ([@robbiet480]) - Sensor: [OhmConnect] is now supported ([@robbiet480])
- [panel_custom] component allows the registering of new panels ([@balloob]) - [panel_custom] component allows the registering of new panels ([@balloob])
- Light: New [mqtt_json] platform for working with JSON payload ([@corbanmailloux]) - Light: New [mqtt_json] platform for working with JSON payload ([@corbanmailloux])
@ -74,18 +76,27 @@ homeassistant:
[@tchellomello]: https://github.com/tchellomello [@tchellomello]: https://github.com/tchellomello
[@Teagan42]: https://github.com/Teagan42 [@Teagan42]: https://github.com/Teagan42
[@turbokongen]: https://github.com/turbokongen [@turbokongen]: https://github.com/turbokongen
[@fabaff]: https://github.com/fabaff
[Foursquare]: /components/foursquare/ [Foursquare]: /components/foursquare/
[OhmConnect]: /components/sensor.ohmconnect/ [OhmConnect]: /components/sensor.ohmconnect/
[FFMPEG]: /components/camera.ffmpeg/ [FFMPEG]: /components/camera.ffmpeg/
[images]: /components/notify.smtp/ [SMTP]: /components/notify.smtp/
[panel_custom]: /components/panel_custom/ [panel_custom]: /components/panel_custom/
[changed]: /components/alarm_control_panel.verisure/ [Verisure]: /components/alarm_control_panel.verisure/
[color]: /components/light.flux_led/ [Flux LED]: /components/light.flux_led/
[Whitelist]: /components/influxdb/ [InfluxDB]: /components/influxdb/
[particulate]: /components/sensor.serial_pm/ [particulate]: /components/sensor.serial_pm/
[screenshot]: /components/media_player.lg_netcast/ [LG Netcast TV]: /components/media_player.lg_netcast/
[mqtt_json]: /components/light.mqtt_json/ [mqtt_json]: /components/light.mqtt_json/
[Fast.com]: /components/sensor.fastdotcom/ [Fast.com]: /components/sensor.fastdotcom/
[pilight]: /components/pilight/ [pilight]: /components/pilight/
[GPSD]: /components/sensor.gpsd/ [GPSD]: /components/sensor.gpsd/
[heat control]: /components/thermostat.heat_control/
[Proximity]: /components/proximity/
[Flux]: /components/switch.flux/
[Proliphix]: /components/thermostat.proliphix/
[Fitbit]: /components/sensor.fitbit/
[Plex]: /components/media_player.plex/
[Honeywell]: /components/thermostat.honeywell/
[Secrets]: /topics/secrets/

View File

@ -36,41 +36,25 @@ logger: debug
http_password: YOUR_PASSWORD http_password: YOUR_PASSWORD
``` ```
### {% linkable_title Python Keyring %} ### {% linkable_title Storing passwords in a keyring managed by your OS %}
Using [Keyring](http://pythonhosted.org/keyring/) is an alternative way to `secrets.yaml` but requires that `keyring` is installed (incl. its command-line tools). This can be done with: Using [Keyring](http://pythonhosted.org/keyring/) is an alternative way to `secrets.yaml`. They can be managed from the command line via the keyring script.
```bash ```bash
$ pip3 install keyring $ hass --script keyring --help
``` ```
Replace your password or API key with `!secret` and an identifier in `configuration.yaml` file. To store a password in keyring, replace your password or API key with `!secret` and an identifier in `configuration.yaml` file.
```yaml ```yaml
http: http:
api_password: !secret http_password api_password: !secret http_password
``` ```
Create an entry in your keyring. The service (SERVICE) is `homeassistant` and the identifier is the USERNAME in the keyring context. Create an entry in your keyring.
```bash ```bash
$ keyring set homeassistant http_password $ hass --script keyring set http_password
Password for 'http_password' in 'homeassistant':
Please set a password for your new keyring:
Please confirm the password:
```
If the command-line tool `keyring` is not available, launch `python3` and do the process manually.
```python
>>> import keyring
>>> keyring.set_password("homeassistant", "http_password", "12345")
Please set a password for your new keyring:
Please confirm the password:
>>> keyring.get_password("homeassistant", "http_password")
'12345'
>>> keyring.get_keyring()
<EncryptedKeyring at /home/your_user/.local/share/python_keyring/crypted_pass.cfg>
``` ```
If you launch home Assistant now, you will be prompted for the keyring password to unlock your keyring. If you launch home Assistant now, you will be prompted for the keyring password to unlock your keyring.
@ -78,10 +62,9 @@ If you launch home Assistant now, you will be prompted for the keyring password
```bash ```bash
$ hass $ hass
Config directory: /home/fab/.homeassistant Config directory: /home/fab/.homeassistant
Please enter password for encrypted keyring: Please enter password for encrypted keyring:
``` ```
<p class='note warning'> <p class='note warning'>
If your are using the Python Keyring, [autostarting](/getting-started/autostart/) of Home Assistant will no longer work. If your are using the Python Keyring, [autostarting](/getting-started/autostart/) of Home Assistant will no longer work.
</p> </p>

View File

@ -15,8 +15,8 @@ hide_github_edit: true
<div class="grid"> <div class="grid">
<div class="grid__item one-third lap-one-third palm-one-whole"> <div class="grid__item one-third lap-one-third palm-one-whole">
<div class='current-version material-card text'> <div class='current-version material-card text'>
<h1>Current Version: 0.25.2</h1> <h1>Current Version: 0.26</h1>
Released: <span class='release-date'>August 2, 2016</span> Released: <span class='release-date'>August 13, 2016</span>
<div class='links'> <div class='links'>
<a href='/blog/2016/07/30/custom-frontend-panels-jupyter-notebooks-directv/'>Release notes</a> <a href='/blog/2016/07/30/custom-frontend-panels-jupyter-notebooks-directv/'>Release notes</a>