Skip to content
This repository has been archived by the owner on Oct 30, 2019. It is now read-only.

AppDaemon: Updated documentation. #115

Merged
merged 2 commits into from
Feb 20, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions docs/appdaemon.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ This Installs AppDaemon in a separate Venv onto this system.
For more information about AppDaemon see the [documentation.](http://appdaemon.readthedocs.io/en/latest/)

## Installation
```
```bash
$ sudo hassbian-config install appdaemon
```

## Upgrade
```
```bash
$ sudo hassbian-config upgrade appdaemon
```

Expand All @@ -20,12 +20,17 @@ Stop service: `sudo systemctl stop [email protected]`
Restart service: `sudo systemctl restart [email protected]`
Service status: `sudo systemctl status [email protected]`
Enter the virtual environment where AppDaemon is installed as `homeassistant`:
```
sudo su -s /bin/bash homeassistant
source /srv/homeassistant/bin/activate
```bash
$ sudo su -s /bin/bash homeassistant
$ source /srv/appdaemon/bin/activate
```
When you are done, type `exit` to return to the `pi` user.

To manually start AppDaemon, enter the AppDaemon virtual environment as described abowe, and then type this to start it:
```bash
$ appdaemon -c /home/homeassistant/appdaemon/
```

***
The installation script was originally contributed by [@Landrash](https://github.com/landrash).
The upgrade script was originally contributed by [@Ludeeus](https://github.com/ludeeus).