mirror of
https://github.com/alexbelgium/hassio-addons.git
synced 2026-01-10 09:51:02 +01:00
Merge pull request #1493 from igorsantos07/master
[ChangeDetect.io] Add instructions on how to create sidebar shortcut
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
|
||||
_Thanks to everyone having starred my repo! To star it click on the image below, then it will be on top right. Thanks!_
|
||||
|
||||
[](https://github.com/alexbelgium/hassio-addons/stargazers)
|
||||
[](https://github.com/alexbelgium/hassio-addons/stargazers)
|
||||
|
||||

|
||||
|
||||
@@ -32,7 +32,17 @@ This addon is based on the [docker image](https://github.com/linuxserver/docker-
|
||||
|
||||
### Main app
|
||||
|
||||
Webui can be found at `<your-ip>:5000`.
|
||||
Web UI can be found at `<your-ip>:5000`, also accessible from the add-on page.
|
||||
|
||||
#### Sidebar shortcut
|
||||
|
||||
You can add a shortcut pointing to your Changedetection.io instance with the following steps:
|
||||
1. Go to <kbd>⚙ Settings</kbd> > <kbd>Dashboards</kbd>
|
||||
2. Click <kbd>➕ Add Dashboard</kbd> at the bottom corner
|
||||
3. Select the <kbd>Webpage</kbd> option, and paste the Web UI URL you got from the add-on page.
|
||||
4. Fill in the title for the sidebar item, an icon (suggestion: `mdi:vector-difference`), and a **relative URL** for that panel (e.g. `change-detection`). Lastly, confirm it.
|
||||
|
||||
### Configurable options
|
||||
|
||||
```yaml
|
||||
PGID: user
|
||||
@@ -41,17 +51,15 @@ TZ: Etc/UTC specify a timezone to use, see https://en.wikipedia.org/wiki/List_of
|
||||
BASE_URL: Specify the full URL (including protocol) when running behind a reverse proxy
|
||||
```
|
||||
|
||||
### Connect to browserless chrome (from @RhysMcW)
|
||||
### Connect to browserless Chrome (from @RhysMcW)
|
||||
|
||||
In HA use the File Editor addon (or Filebrowser) and edit the Changedetection.io config.yaml : /homeassistant/addons_config/changedetection.io/config.yaml
|
||||
|
||||
Add the following line to the end of the file:
|
||||
In HA, use the File Editor add-on (or Filebrowser) and edit the Changedetection.io config file at `/homeassistant/addons_config/changedetection.io/config.yaml`. Add the following line to the end of it:
|
||||
`PLAYWRIGHT_DRIVER_URL: ws://db21ed7f-browserless-chrome.local.hass.io:3000/chromium?launch={"defaultViewport":{"height":720,"width":1280},"headless":false,"stealth":true}&blockAds=true`
|
||||
|
||||
Remember to add a blank line at the end of the file too according to yaml requirements.
|
||||
|
||||
The "db21ed7f-browserless-chrome.local.hass.io" hostname was got from the CLI in HA, using arp, but you should also be able to use your HA IP address.
|
||||
Then restart the Changedetection.io addon - after that you can use the browser options in Changedetection.io.
|
||||
Then restart the Changedetection.io add-on - after that you can use the browser options in Changedetection.io.
|
||||
|
||||
## Installation
|
||||
|
||||
|
||||
Reference in New Issue
Block a user