From 80644112a361371493a6459515dccc381f6ee5ab Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Sat, 13 Aug 2016 10:41:40 -0700 Subject: [PATCH] Update blog post --- source/_components/foursquare.markdown | 1 + source/_components/panel_custom.markdown | 2 +- source/_posts/2016-08-09-unit-system.markdown | 57 +++++++++++-------- source/_topics/secrets.markdown | 31 +++------- source/index.html | 4 +- 5 files changed, 45 insertions(+), 50 deletions(-) diff --git a/source/_components/foursquare.markdown b/source/_components/foursquare.markdown index 62937a43e61..1a756e13415 100644 --- a/source/_components/foursquare.markdown +++ b/source/_components/foursquare.markdown @@ -8,6 +8,7 @@ comments: false sharing: true footer: true logo: foursquare.png +featured: true ha_category: Other ha_release: 0.26 ha_iot_class: "Cloud Polling and Cloud Push" diff --git a/source/_components/panel_custom.markdown b/source/_components/panel_custom.markdown index 067d151d3f9..d0457a49926 100644 --- a/source/_components/panel_custom.markdown +++ b/source/_components/panel_custom.markdown @@ -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_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. -- **webcomponent_path** (*Optional*): The path to your component. If omitted will default to /panels/.html +- **webcomponent_path** (*Optional*): The path to your component. If omitted will default to `/panels/.html` - **config** (*Optional*): Configuration to be passed into your web component when being instantiated. diff --git a/source/_posts/2016-08-09-unit-system.markdown b/source/_posts/2016-08-09-unit-system.markdown index 1329430cfc1..4e3313d4e87 100644 --- a/source/_posts/2016-08-09-unit-system.markdown +++ b/source/_posts/2016-08-09-unit-system.markdown @@ -1,7 +1,7 @@ --- layout: post -title: "0.26: New unit system, pilight, OHMconnect, and Fast.com" -description: "Frontend became blazing fast and extensible. DirecTV support added." +title: "0.26: Foursquare, Fast.com, FFMPEG and GPSD" +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_formatted: "August 09, 2016" author: Paulus Schoutsen @@ -10,31 +10,33 @@ comments: true 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. - +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! + + - Core: Introduce notion of unit system (deprecates temperature unit option) ([@Teagan42]) - Front end: Speed improvements ([@balloob]) - Front end: Improve layout of state dev tool ([@balloob]) -- Proximity: Allow definition of unit of measurement ([@Teagan42]) -- Flux: Add mired and kelvin mode ([@HBDK]) -- Thermostat - Proliphix: Support for cooling ([@sdague]) -- Media Player - LG Netcast TV: Show [screenshot] of what is currently playing ([@shmuelzon]) +- [Proximity]\: Allow definition of unit of measurement ([@Teagan42]) +- [Flux]\: Add mired and kelvin mode ([@HBDK]) +- Thermostat - [Proliphix]: Support for cooling ([@sdague]) +- Media Player - [LG Netcast TV]: Show screenshot of what is currently playing ([@shmuelzon]) - Z-Wave improvements ([@jnewland], [@turbokongen]) -- Thermostat - heat control: now also able to control an AC ([@mtreinish]) -- Thermostat - heat control: allow specifying a minimum duration before switching ([@mtreinish]) -- InfluxDB: [Whitelist] entities option added ([@tchellomello]) +- Thermostat - [heat control]: now also able to control an AC ([@mtreinish]) +- Thermostat - [heat control]: allow specifying a minimum duration before switching ([@mtreinish]) +- [InfluxDB]\: Whitelist entities option added ([@tchellomello]) - Sensor: Serial [particulate matters][particulate] sensors now supported ([@open-homeautomation]) -- Sensor - Fitbit: Fix unit system ([@tchellomello]) -- Light - Flux LED: Add support for [color and brightness][color] ([@Danielhiversen]) -- Media Player - Plex: Now able to report on music ([@abcminiuser]) -- Alarm Control Panel - Verisure: Now able to see who [changed] the alarm ([@persandtrom]) -- Thermostat - Honeywell: Add option to read and control HVAC mode ([@Teagan42]) +- Sensor - [Fitbit]: Fix unit system ([@tchellomello]) +- Light - [Flux LED]: Add support for [color and brightness][color] ([@Danielhiversen]) +- Media Player - [Plex]: Now able to report on music ([@abcminiuser]) +- Alarm Control Panel - [Verisure]: Now able to see who changed the alarm ([@persandtrom]) +- Thermostat - [Honeywell]: Add option to read and control HVAC mode ([@Teagan42]) - [Foursquare] component to receive instant notifications of checkins ([@robbiet480]) - Camera: New [FFMPEG] platform allows to stream anything through front end ([@pvizeli]) -- New command line script to manage keyring entries ([@kellerza]) -- Notify - SMTP: Allow embedding of [images][images] ([@partofthething]) +- Manage [secrets] with new command line script ([@kellerza]) +- Notify - [SMTP]: Allow embedding of images ([@partofthething]) - Sensor: [OhmConnect] is now supported ([@robbiet480]) - [panel_custom] component allows the registering of new panels ([@balloob]) - Light: New [mqtt_json] platform for working with JSON payload ([@corbanmailloux]) @@ -74,18 +76,27 @@ homeassistant: [@tchellomello]: https://github.com/tchellomello [@Teagan42]: https://github.com/Teagan42 [@turbokongen]: https://github.com/turbokongen +[@fabaff]: https://github.com/fabaff [Foursquare]: /components/foursquare/ [OhmConnect]: /components/sensor.ohmconnect/ [FFMPEG]: /components/camera.ffmpeg/ -[images]: /components/notify.smtp/ +[SMTP]: /components/notify.smtp/ [panel_custom]: /components/panel_custom/ -[changed]: /components/alarm_control_panel.verisure/ -[color]: /components/light.flux_led/ -[Whitelist]: /components/influxdb/ +[Verisure]: /components/alarm_control_panel.verisure/ +[Flux LED]: /components/light.flux_led/ +[InfluxDB]: /components/influxdb/ [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/ [Fast.com]: /components/sensor.fastdotcom/ [pilight]: /components/pilight/ [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/ diff --git a/source/_topics/secrets.markdown b/source/_topics/secrets.markdown index c6db498dfce..3b344efa0ad 100644 --- a/source/_topics/secrets.markdown +++ b/source/_topics/secrets.markdown @@ -36,41 +36,25 @@ logger: debug 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 -$ 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 http: 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 -$ keyring set homeassistant 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() - +$ hass --script keyring set http_password ``` 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 $ hass Config directory: /home/fab/.homeassistant -Please enter password for encrypted keyring: +Please enter password for encrypted keyring: ```

If your are using the Python Keyring, [autostarting](/getting-started/autostart/) of Home Assistant will no longer work.

- diff --git a/source/index.html b/source/index.html index 0ee23f52baa..e37f187f01b 100644 --- a/source/index.html +++ b/source/index.html @@ -15,8 +15,8 @@ hide_github_edit: true