This repository has been archived by the owner on Oct 30, 2019. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 97
Documentation #88
Merged
Merged
Documentation #88
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
f8bb90f
Added docs for AppDaemon upgrade script.
ludeeus 615ee51
Added upgrade script for AppDaemon.
ludeeus 487741b
test
ludeeus a31dd69
New documentation
ludeeus 5641c91
Updated README.md
ludeeus 537a5ff
New documentation
ludeeus 4eb6c6c
Moved and organized the docs
ludeeus a6cd898
Cleaner look for README.md
ludeeus edfb898
Cleaner look for README.md
ludeeus d5d403c
Fixed broken link
ludeeus b66122e
Tidy
ludeeus 0b610f7
wrong link i changelog
ludeeus 7acfae8
cleanup
ludeeus 90b63ef
Update hassbian.md
ludeeus f6e4301
Update hassbian.md
ludeeus b09b081
Instructions for virtual environment
ludeeus 9784a34
Merge branch 'dev' into Documentation
ludeeus 0d70168
Merge branch 'dev' into Documentation
ludeeus 519d22c
Corrections for review
ludeeus 39ceeaf
One more typo
ludeeus eec5d86
Added documentation for AppDaemon
ludeeus 2522402
Added more documentation for hassbian-config
ludeeus 525eb09
typos
ludeeus 462ef8e
Changes for review
ludeeus 36de2a6
Changes for review
ludeeus 4b91603
Added docs for -V
ludeeus 32757a7
Update hassbian_config.md
ludeeus 3a04fa3
Update hassbian_config.md
ludeeus File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
## Description | ||
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 | ||
``` | ||
$ sudo hassbian-config install appdaemon | ||
``` | ||
|
||
## Upgrade | ||
``` | ||
$ sudo hassbian-config upgrade appdaemon | ||
``` | ||
|
||
## Additional info | ||
Running as: `homeassistant` | ||
Configuration dir: `/home/homeassistant/appdaemon/` | ||
Start service: `sudo systemctl start [email protected]` | ||
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 | ||
``` | ||
When you are done, type `exit` to return to the `pi` user. | ||
|
||
*** | ||
The installation script was originally contributed by [@Landrash](https://github.com/landrash). | ||
The upgrade script was originally contributed by [@Ludeeus](https://github.com/ludeeus). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
## Description | ||
This script adds an cron job to auto update you the WAN IP address for the defined domain. | ||
Before running this script you should already have an Duck DNS account, during the installation you will be asked to supply your domain name and the token for your account. | ||
|
||
## Installation | ||
``` | ||
$ sudo hassbian-config install duckdns | ||
``` | ||
|
||
## Additional info | ||
Running as: `homeassistant` | ||
|
||
If you choose to aslo generate SSL certificates with this you would need to add this under `http:` to your `configuration.yaml` | ||
``` | ||
ssl_certificate: /home/homeassistant/dehydrated/certs/YOURDOMAIN.duckdns.org/fullchain.pem | ||
ssl_key: /home/homeassistant/dehydrated/certs/YOURDOMAIN.duckdns.org/privkey.pem | ||
base_url: YOURDOMAIN.duckdns.org:PORTNUMBER | ||
``` | ||
|
||
*** | ||
This script was originally contributed by [@Ludeeus](https://github.com/ludeeus). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
## Description | ||
This script will update the base OS on the system. | ||
|
||
## Upgrade | ||
``` | ||
$ sudo hassbian-config upgrade hassbian | ||
``` | ||
|
||
## Additional info | ||
Default username: `pi` | ||
Default password: `raspberry` | ||
Hostname: `hassbian` | ||
SSH enabled: `true` | ||
|
||
*** | ||
This script was originally contributed by [@Landrash](https://github.com/Landrash). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
## Description | ||
This command is a package handler for the Hassbian scripts. All interactions for installing software should be handled through this command. Running the individual scripts to install software will no longer work as expected. | ||
|
||
#### Usage | ||
The hassbian-config command is invoked with: | ||
```bash | ||
hassbian-config *command* *suite* *flag(optional)* | ||
``` | ||
where command is one of: | ||
- `install` Use this to install an suite. | ||
- `upgrade` Use this to upgrade an installed suite. | ||
- `show` This will show you all available suites. | ||
- `log` This will show you the log of last hassbian-config operation. | ||
- `share-log` This will generate an hastebin link of the last hassbian-config operation. | ||
- `-V` This will show you the installed version of `hassbian-config`. | ||
|
||
Optional flags: | ||
- `-y` This will accept defaults on scripts that allow this. | ||
- `-f` This will force run an script. This is useful if you need to reinstall a package. | ||
|
||
## Installation | ||
This package is pre-installed on the [HASSbian image](https://github.com/home-assistant/pi-gen/releases). | ||
This package can be used with Raspbian lite but it's not recommended. | ||
``` | ||
$ curl https://api.github.com/repos/home-assistant/hassbian-scripts/releases/latest | grep "browser_download_url.*deb" | cut -d : -f 2,3 | tr -d \" | wget -qi - | ||
$ sudo apt install -y ./hassbian* | ||
``` | ||
|
||
|
||
## Upgrade | ||
``` | ||
$ sudo hassbian-config upgrade hassbian-script | ||
``` | ||
|
||
## Upgrade to dev branch | ||
``` | ||
$ sudo hassbian-config upgrade hassbian-script-dev | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
## Description | ||
This is a copy of the installation script run during first boot of your Raspberry Pi with the [Hassbian image](https://github.com/home-assistant/pi-gen/releases/latest) | ||
And an easy way to upgrade Home Assistant to the newest version. | ||
|
||
## Installation | ||
_**NB!: This is installed by Hassbian, and should not be run additionally**_ | ||
``` | ||
$ sudo hassbian-config install homeassistant | ||
``` | ||
|
||
## Upgrade | ||
``` | ||
$ sudo hassbian-config upgrade home-assistant | ||
``` | ||
|
||
## Additional info | ||
Running as: `homeassistant` | ||
Configuration dir: `/home/homeassistant/.homeassistant/` | ||
Start service: `sudo systemctl start [email protected]` | ||
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 Home Assistant is installed as `homeassistant`: | ||
``` | ||
sudo su -s /bin/bash homeassistant | ||
source /srv/homeassistant/bin/activate | ||
``` | ||
When you are done, type `exit` to return to the `pi` user. | ||
|
||
*** | ||
The installation script was originally contributed by [@Landrash](https://github.com/landrash). | ||
The upgrade scripts was originally contributed by [@Ludeeus](https://github.com/ludeeus). |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be extended a bit.
Documentation about the flags like
-y
&-t
are missing.There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
When this PR was created, those flags did not exist :)
They are added now :)