Merge pull request #5885 from GuyKh/patch-1

Update the instructions for location of dropbox_uplodaer.sh
This commit is contained in:
DubhAd 2018-10-03 19:30:18 +01:00 committed by GitHub
commit bdc068914e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -37,6 +37,20 @@ Follow the instructions you see on your screen.
Go to the folder you have placed `dropbox.py`.
- **Option A:**
Copy file `dropbox_uploader.sh` to : `.homeassistant/extraconfig/shell_code/` (so the full path would be similar to: `/home/homeassistant/.homeassistant/extraconfig/shell_code/dropbox_uploader.sh`)
- **Option B:**
Edit `dropbox.py`:
Change the following line:
```
uploader = "/home/homeassistant/.homeassistant/extraconfig/shell_code/dropbox_uploader.sh"
```
to where you placed your file: (for example):
```
uploader = "/home/homeassistant/MyFolder/dropbox_uploader.sh"
```
```bash
$ python dropbox.py
```