Various fixes

This commit is contained in:
Fabian Affolter 2018-10-04 16:01:48 +02:00
parent 69401057e6
commit 3836ac101c
No known key found for this signature in database
GPG Key ID: E23CD2DD36A4397F
7 changed files with 24 additions and 17 deletions

View File

@ -65,6 +65,7 @@ timeout:
If discovery is enabled, you can add a new button by pressing it for at least 7 seconds. The button will be paired with the flic service and added to Home Assistant. Otherwise, you have to manually pair it with the flic service. The Home Assistant platform will not scan for new buttons and will only connect to buttons already paired. If discovery is enabled, you can add a new button by pressing it for at least 7 seconds. The button will be paired with the flic service and added to Home Assistant. Otherwise, you have to manually pair it with the flic service. The Home Assistant platform will not scan for new buttons and will only connect to buttons already paired.
#### {% linkable_title Timeout %} #### {% linkable_title Timeout %}
When the flic button is triggered while disconnected from flic service, it will queue all events and try to connect and transmit them as soon as possible. The timeout variable can be used to stop events from triggering if too much time passed between the action and the notification in Home Assistant. When the flic button is triggered while disconnected from flic service, it will queue all events and try to connect and transmit them as soon as possible. The timeout variable can be used to stop events from triggering if too much time passed between the action and the notification in Home Assistant.
#### {% linkable_title Events %} #### {% linkable_title Events %}

View File

@ -33,7 +33,7 @@ binary_sensor:
automatic_add: true automatic_add: true
``` ```
Open your local home-assistant web UI and go to the "states" page. Open your Home Assistant frontend and go to the "states" page.
Then make sure to trigger your sensor. You should see a new entity Then make sure to trigger your sensor. You should see a new entity
appear in the *Current entities* list, starting with "binary_sensor." appear in the *Current entities* list, starting with "binary_sensor."
and some hexadecimal digits. Those hexadecimal digits are your device id. and some hexadecimal digits. Those hexadecimal digits are your device id.

View File

@ -310,4 +310,4 @@ filter:
- light - light
``` ```
Restart Home-Assistant and re-attempt pairing - a persistent status should now correctly appear. Restart Home Assistant and re-attempt pairing - a persistent status should now correctly appear.

View File

@ -38,7 +38,7 @@ Configuration variables:
<p class='note warning'> <p class='note warning'>
When you set **power_on_enabled** as True, you have to turn on your TV on the first time with the remote. When you set **power_on_enabled** as True, you have to turn on your TV on the first time with the remote.
Then you will be able to turn on with Home-Assistant. Then you will be able to turn on with Home Assistant.
Also, with **power_on_enabled** as True, the Aquos logo on your TV will stay on when you turn off the TV and your TV could consumes more power. Also, with **power_on_enabled** as True, the Aquos logo on your TV will stay on when you turn off the TV and your TV could consumes more power.
</p> </p>

View File

@ -17,7 +17,7 @@ ha_iot_class: "Local Push"
The `kodi` platform allows you to control a [Kodi](http://kodi.tv/) multimedia system from Home Assistant. The `kodi` platform allows you to control a [Kodi](http://kodi.tv/) multimedia system from Home Assistant.
The preferred way to set up the Kodi platform is by enabling the [discovery component](https://www.home-assistant.io/components/discovery/) which requires enabled [web interface](https://kodi.wiki/view/Web_interface) on your Kodi installation. The preferred way to set up the Kodi platform is by enabling the [discovery component](/components/discovery/) which requires enabled [web interface](https://kodi.wiki/view/Web_interface) on your Kodi installation.
In case the discovery does not work, or you need specific configuration variables, you can add the following to your `configuration.yaml` file: In case the discovery does not work, or you need specific configuration variables, you can add the following to your `configuration.yaml` file:
@ -39,7 +39,7 @@ port:
type: integer type: integer
default: 8080 default: 8080
tcp_port: tcp_port:
description: The TCP port number. Used for websocket connections to Kodi. description: The TCP port number. Used for WebSocket connections to Kodi.
required: false required: false
type: integer type: integer
default: 9090 default: 9090
@ -48,7 +48,7 @@ name:
required: false required: false
type: string type: string
proxy_ssl: proxy_ssl:
description: Connect to kodi with HTTPS and WSS. Useful if Kodi is behind an SSL proxy. description: Connect to Kodi with HTTPS and WSS. Useful if Kodi is behind an SSL proxy.
required: false required: false
type: boolean type: boolean
default: false default: false
@ -69,7 +69,7 @@ turn_off_action:
required: false required: false
type: list type: list
enable_websocket: enable_websocket:
description: Enable websocket connections to Kodi via the TCP port. The websocket connection allows Kodi to push updates to Home Assistant and removes the need for Home Assistant to poll. If websockets don't work on your installation this can be set to `false`. description: Enable websocket connections to Kodi via the TCP port. The WebSocket connection allows Kodi to push updates to Home Assistant and removes the need for Home Assistant to poll. If websockets don't work on your installation this can be set to `false`.
required: false required: false
type: boolean type: boolean
default: true default: true

View File

@ -64,4 +64,4 @@ Troubleshooting:
- install the newest version of [pygattlib](https://bitbucket.org/OscarAcena/pygattlib) from the repository, either because there is no binary package for your system or the pip version contains errors, with `pip install hg+https://bitbucket.org/OscarAcena/pygattlib --target $HOME/.homeassistant/deps`. - install the newest version of [pygattlib](https://bitbucket.org/OscarAcena/pygattlib) from the repository, either because there is no binary package for your system or the pip version contains errors, with `pip install hg+https://bitbucket.org/OscarAcena/pygattlib --target $HOME/.homeassistant/deps`.
(Dependencies of pygattlib: `sudo apt-get install pkg-config libboost-python-dev libboost-thread-dev libbluetooth-dev libglib2.0-dev python-dev`) (Dependencies of pygattlib: `sudo apt-get install pkg-config libboost-python-dev libboost-thread-dev libbluetooth-dev libglib2.0-dev python-dev`)
Then invoke home-assistant with `hass --skip-pip`. Then invoke Home Assistant with `hass --skip-pip`.

View File

@ -42,8 +42,9 @@ Configuration variables:
#### Customizing the Sense HAT data #### Customizing the Sense HAT data
**Format the sensor values** **Format the sensor values**
Add the following to your `sensor` Add the following to your `sensor`:
{% raw %}
```yaml ```yaml
# Example configuration.yaml entry # Example configuration.yaml entry
sensor: sensor:
@ -56,18 +57,19 @@ sensor:
- platform: template - platform: template
sensors: sensors:
sensehat_temperature: sensehat_temperature:
value_template: '{% raw %}{{ states.sensor.temperature.state | round(1) }}{% endraw %}' value_template: '{{ states.sensor.temperature.state | round(1) }}'
unit_of_measurement: '°C' unit_of_measurement: '°C'
sensehat_pressure: sensehat_pressure:
value_template: '{% raw %}{{ states.sensor.pressure.state | round(1) }}{% endraw %}' value_template: '{{ states.sensor.pressure.state | round(1) }}'
unit_of_measurement: 'mb' unit_of_measurement: 'mb'
sensehat_humidity: sensehat_humidity:
value_template: '{% raw %}{{ states.sensor.humidity.state | round(1) }}{% endraw %}' value_template: '{{ states.sensor.humidity.state | round(1) }}'
unit_of_measurement: '%' unit_of_measurement: '%'
``` ```
{% endraw %}
**Give the values friendly names & icons** **Give the values friendly names & icons**
Add the following to your `customize` Add the following to your `customize`:
```yaml ```yaml
# Example configuration.yaml entry # Example configuration.yaml entry
@ -84,7 +86,7 @@ customize:
``` ```
**Create a group** **Create a group**
Add the following to your `groups` Add the following to your `groups`:
```yaml ```yaml
# Example configuration.yaml entry # Example configuration.yaml entry
@ -106,9 +108,11 @@ group:
### Directions for installing on Raspberry Pi All-In-One installer and HASSbian: ### Directions for installing on Raspberry Pi All-In-One installer and HASSbian:
Here are the steps to make the _SenseHAT_ sensor work _successfully_ with the virtual environment versions. Here are the steps to make the _SenseHAT_ sensor work _successfully_ with the virtual environment versions.
#### Install SenseHAT package to _homeassistant_venv_ #### Install SenseHAT package to _homeassistant_venv_
```bash ```bash
# switch to the homeassistant_venv environment # switch to the homeassistant_venv environment
sudo -u homeassistant -H -s sudo -u homeassistant -H -s
@ -118,7 +122,9 @@ source /srv/homeassistant/homeassistant_venv/bin/activate
pip3 install sense-hat pip3 install sense-hat
# be patient, this will take a long while # be patient, this will take a long while
``` ```
#### Return to `pi` #### Return to `pi`
Type `exit` to quit out of the _homeassistant_venv_ back to your `pi` environment. Type `exit` to quit out of the _homeassistant_venv_ back to your `pi` environment.
As all of the following steps should be under the `pi` user environment. As all of the following steps should be under the `pi` user environment.
@ -141,8 +147,8 @@ ln -s /usr/lib/python3/dist-packages/RTIMU.cpython-35m-arm-linux-gnueabihf.so /s
sudo reboot sudo reboot
``` ```
Unfortunately enabling the SenseHAT Sensor component for a Virtual Environment install of Home-Assistant fails with errors. Unfortunately enabling the SenseHAT Sensor component for a Virtual Environment install of Home Assistant fails with errors.
_(The Raspberry Pi All-In-One installer and HASSbian both run Home-Assistant in an virtual environment)._ _(The Raspberry Pi All-In-One installer and HASSbian both run Home Assistant in an virtual environment)._
These issues have been discussed in the repository issue (#5093)[https://github.com/home-assistant/home-assistant/issues/5093) These issues have been discussed in the repository issue (#5093)[https://github.com/home-assistant/home-assistant/issues/5093)
This fix has been tested with a clean install of: This fix has been tested with a clean install of:
@ -151,6 +157,6 @@ This fix has been tested with a clean install of:
and and
* [Home-Assistant 0.37.1](/getting-started/installation-raspberry-pi-all-in-one/) * [Home Assistant 0.37.1](/getting-started/installation-raspberry-pi-all-in-one/)
For setting up the Sense HAT's RGB LED matrix as lights within Home Assistant, please see the [Sense HAT light component](/components/light.sensehat/). For setting up the Sense HAT's RGB LED matrix as lights within Home Assistant, please see the [Sense HAT light component](/components/light.sensehat/).