Added alternate path for virtualenv and cleaned up hassio docs (#3032)

* Added alternate path for virtualenv

* Clean up docs

* Fixed typos

* Fixed typos
This commit is contained in:
Alok Saboo 2017-07-21 14:22:22 -04:00 committed by Fabian Affolter
parent e183ecaa64
commit 227dcd29af
4 changed files with 13 additions and 13 deletions

View File

@ -84,7 +84,7 @@ emulated_hue:
- light - light
``` ```
With additional customization you will be able to specify the behaviour of the existing entities. With additional customization you will be able to specify the behavior of the existing entities.
```yaml ```yaml
# Example customization # Example customization
@ -117,6 +117,7 @@ An additional step is required to run Home Assistant as non-root user and use po
```bash ```bash
sudo setcap 'cap_net_bind_service=+ep' /srv/homeassistant/homeassistant_venv/bin/python3 sudo setcap 'cap_net_bind_service=+ep' /srv/homeassistant/homeassistant_venv/bin/python3
``` ```
Please note that your path may be different depending on your installation method. For example, if you followed the [Virtualenv instructions](https://home-assistant.io/docs/installation/virtualenv/), your path will be `/srv/homeassistant/bin/python3`.
### {% linkable_title License %} ### {% linkable_title License %}

View File

@ -12,12 +12,11 @@ footer: true
### {% linkable_title ResinOS / Generic %} ### {% linkable_title ResinOS / Generic %}
Map the usb drive into add-on with `devices` options. If you need it on multiple add-ons you can use the `/share` folder which is accessable from multiple add-ons. Map the USB drive into add-on with `devices` options. If you need it on multiple add-ons you can use the `/share` folder which is accessible from multiple add-ons.
It is also possible to create a add-on that only mount stuff to `share`. It is also possible to create an add-on that only mounts stuff to `share`.
You can format the usb device with multiple volumes and map it to the specific add-on. You can format the USB device with multiple volumes and map it to a specific add-on.
### {% linkable_title Generic %} ### {% linkable_title Generic %}
The `share` is default on `/usr/share/hassio/share` so you can mount your volumes into this folder. The `share` is default on `/usr/share/hassio/share` so you can mount your volumes into this folder.

View File

@ -11,13 +11,13 @@ footer: true
Hass.io images are available for all available Raspberry Pi and Intel NUC platforms. Hass.io images are available for all available Raspberry Pi and Intel NUC platforms.
- Download the appropriate image for your Raspberry Pi / intel nuc: - Download the appropriate image for your Raspberry Pi / Intel NUC:
- [Raspberry Pi / Zero][pi1] - [Raspberry Pi / Zero][pi1]
- [Raspberry Pi 2][pi2] - [Raspberry Pi 2][pi2]
- [Raspberry Pi 3][pi3] - [Raspberry Pi 3][pi3]
- [Intel NUC][nuc] - [Intel NUC][nuc]
- Flash the downloaded image to an SD card using [Etcher]. - Flash the downloaded image to an SD card using [Etcher].
- Optional - Setup the WiFi or static ip: On the SD-card, edit the `system-connections/resin-sample` file and follow the [ResinOS howto][resinos-network]. - Optional - Setup the WiFi or static IP: On the SD-card, edit the `system-connections/resin-sample` file and follow the [ResinOS howto][resinos-network].
- Insert SD card to Raspberry Pi and turn it on. On first boot, it downloads the latest version of Home Assistant which takes ~20 minutes (slower/faster depending on the platform). - Insert SD card to Raspberry Pi and turn it on. On first boot, it downloads the latest version of Home Assistant which takes ~20 minutes (slower/faster depending on the platform).
- You will be able to reach your installation at [http://hassio.local:8123][local]. - You will be able to reach your installation at [http://hassio.local:8123][local].
- Enable either the [Samba add-on][samba] or the [SSH add-on][ssh] to manage your configuration. - Enable either the [Samba add-on][samba] or the [SSH add-on][ssh] to manage your configuration.

View File

@ -9,11 +9,11 @@ sharing: true
footer: true footer: true
--- ---
Hass.io is a managed environment. This means that you're unable to install applications that you can embed into Home Assistant using the `command_line` sensor/switch. Hass.io is a managed environment. This means that you can install applications that can be embedded into Home Assistant using the `command_line` sensor/switch.
There are two options if you need to run a script to read data from a sensor or send commands to other devices on Hass.IO. There are two options if you need to run a script to read data from a sensor or send commands to other devices on Hass.IO.
First option is to write a custom component for Home Assistant. Using Python you can communicate with your device. For custom component, look at the [devoloper site][custom-component]. First option is to write a custom component for Home Assistant. Using Python you can communicate with your device. For custom component, look at the [developer site][custom-component].
The second option is to make a local add-on for Hass.io that sends the data to Home Assistant via MQTT. Before we dive into this, read up on [Hass.io add-on development][addons-tutorial]. The second option is to make a local add-on for Hass.io that sends the data to Home Assistant via MQTT. Before we dive into this, read up on [Hass.io add-on development][addons-tutorial].