update repository references and improve script handling
This commit is contained in:
132
changedetection.io/CHANGELOG.md
Normal file
132
changedetection.io/CHANGELOG.md
Normal file
@@ -0,0 +1,132 @@
|
||||
|
||||
## 0.49.4 (15-03-2025)
|
||||
- Update to latest version from linuxserver/docker-changedetection.io (changelog : https://github.com/linuxserver/docker-changedetection.io/releases)
|
||||
|
||||
## 0.49.3 (01-03-2025)
|
||||
- Update to latest version from linuxserver/docker-changedetection.io (changelog : https://github.com/linuxserver/docker-changedetection.io/releases)
|
||||
|
||||
## 0.49.2 (21-02-2025)
|
||||
- Update to latest version from linuxserver/docker-changedetection.io (changelog : https://github.com/linuxserver/docker-changedetection.io/releases)
|
||||
|
||||
## 0.49.1 (15-02-2025)
|
||||
- Update to latest version from linuxserver/docker-changedetection.io (changelog : https://github.com/linuxserver/docker-changedetection.io/releases)
|
||||
|
||||
## 0.49.0 (25-01-2025)
|
||||
- Update to latest version from linuxserver/docker-changedetection.io (changelog : https://github.com/linuxserver/docker-changedetection.io/releases)
|
||||
|
||||
## 0.48.6 (11-01-2025)
|
||||
- Update to latest version from linuxserver/docker-changedetection.io (changelog : https://github.com/linuxserver/docker-changedetection.io/releases)
|
||||
|
||||
## 0.48.5 (28-12-2024)
|
||||
- Update to latest version from linuxserver/docker-changedetection.io (changelog : https://github.com/linuxserver/docker-changedetection.io/releases)
|
||||
|
||||
## 0.48.4 (21-12-2024)
|
||||
- Update to latest version from linuxserver/docker-changedetection.io (changelog : https://github.com/linuxserver/docker-changedetection.io/releases)
|
||||
|
||||
## 0.48.1 (07-12-2024)
|
||||
- Update to latest version from linuxserver/docker-changedetection.io (changelog : https://github.com/linuxserver/docker-changedetection.io/releases)
|
||||
|
||||
## 0.47.6 (09-11-2024)
|
||||
- Update to latest version from linuxserver/docker-changedetection.io (changelog : https://github.com/linuxserver/docker-changedetection.io/releases)
|
||||
|
||||
## 0.47.5 (02-11-2024)
|
||||
- Update to latest version from linuxserver/docker-changedetection.io (changelog : https://github.com/linuxserver/docker-changedetection.io/releases)
|
||||
|
||||
## 0.47.3 (12-10-2024)
|
||||
- Update to latest version from linuxserver/docker-changedetection.io (changelog : https://github.com/linuxserver/docker-changedetection.io/releases)
|
||||
|
||||
## 0.46.4 (07-09-2024)
|
||||
- Update to latest version from linuxserver/docker-changedetection.io (changelog : https://github.com/linuxserver/docker-changedetection.io/releases)
|
||||
|
||||
## 0.46.3 (24-08-2024)
|
||||
- Update to latest version from linuxserver/docker-changedetection.io (changelog : https://github.com/linuxserver/docker-changedetection.io/releases)
|
||||
|
||||
## 0.46.2 (03-08-2024)
|
||||
- Update to latest version from linuxserver/docker-changedetection.io (changelog : https://github.com/linuxserver/docker-changedetection.io/releases)
|
||||
## 0.46.1-2 (23-07-2024)
|
||||
- Minor bugs fixed
|
||||
|
||||
## 0.46.1 (20-07-2024)
|
||||
- Update to latest version from linuxserver/docker-changedetection.io (changelog : https://github.com/linuxserver/docker-changedetection.io/releases)
|
||||
|
||||
## 0.45.26 (13-07-2024)
|
||||
- Update to latest version from linuxserver/docker-changedetection.io (changelog : https://github.com/linuxserver/docker-changedetection.io/releases)
|
||||
## 0.45.25-2 (08-07-2024)
|
||||
- Minor bugs fixed
|
||||
|
||||
## 0.45.25 (06-07-2024)
|
||||
- Update to latest version from linuxserver/docker-changedetection.io (changelog : https://github.com/linuxserver/docker-changedetection.io/releases)
|
||||
|
||||
## 0.45.24 (22-06-2024)
|
||||
- Update to latest version from linuxserver/docker-changedetection.io (changelog : https://github.com/linuxserver/docker-changedetection.io/releases)
|
||||
|
||||
## 0.45.23 (25-05-2024)
|
||||
- Update to latest version from linuxserver/docker-changedetection.io (changelog : https://github.com/linuxserver/docker-changedetection.io/releases)
|
||||
## 0.45.22-2 (21-05-2024)
|
||||
- Minor bugs fixed
|
||||
|
||||
## 0.45.22 (04-05-2024)
|
||||
- Update to latest version from linuxserver/docker-changedetection.io (changelog : https://github.com/linuxserver/docker-changedetection.io/releases)
|
||||
|
||||
## 0.45.21 (27-04-2024)
|
||||
- Update to latest version from linuxserver/docker-changedetection.io (changelog : https://github.com/linuxserver/docker-changedetection.io/releases)
|
||||
|
||||
## 0.45.20 (20-04-2024)
|
||||
- Update to latest version from linuxserver/docker-changedetection.io (changelog : https://github.com/linuxserver/docker-changedetection.io/releases)
|
||||
|
||||
## 0.45.17 (06-04-2024)
|
||||
- Update to latest version from linuxserver/docker-changedetection.io (changelog : https://github.com/linuxserver/docker-changedetection.io/releases)
|
||||
|
||||
## 0.45.16 (09-03-2024)
|
||||
|
||||
- Update to latest version from linuxserver/docker-changedetection.io
|
||||
|
||||
## 0.45.14 (10-02-2024)
|
||||
|
||||
- Update to latest version from linuxserver/docker-changedetection.io
|
||||
|
||||
## 0.45.13 (20-01-2024)
|
||||
|
||||
- Update to latest version from linuxserver/docker-changedetection.io
|
||||
|
||||
## 0.45.12 (06-01-2024)
|
||||
|
||||
- Update to latest version from linuxserver/docker-changedetection.io
|
||||
|
||||
## 0.45.9 (23-12-2023)
|
||||
|
||||
- Update to latest version from linuxserver/docker-changedetection.io
|
||||
|
||||
## 0.45.8.1 (02-12-2023)
|
||||
|
||||
- Update to latest version from linuxserver/docker-changedetection.io
|
||||
## 0.45.7.3-2 (21-11-2023)
|
||||
|
||||
- Minor bugs fixed
|
||||
|
||||
## 0.45.7.3 (18-11-2023)
|
||||
|
||||
- Update to latest version from linuxserver/docker-changedetection.io
|
||||
|
||||
## 0.45.7 (11-11-2023)
|
||||
|
||||
- Update to latest version from linuxserver/docker-changedetection.io
|
||||
|
||||
## 0.45.5 (04-11-2023)
|
||||
|
||||
- Update to latest version from linuxserver/docker-changedetection.io
|
||||
## 0.45.3-2 (01-11-2023)
|
||||
|
||||
- Minor bugs fixed
|
||||
|
||||
## 0.45.3 (07-10-2023)
|
||||
|
||||
- Update to latest version from linuxserver/docker-changedetection.io
|
||||
|
||||
## 0.45.2 (23-09-2023)
|
||||
|
||||
- Update to latest version from linuxserver/docker-changedetection.io
|
||||
|
||||
## 0.45.1 (10-09-2023)
|
||||
|
||||
- Initial build
|
||||
85
changedetection.io/README.md
Normal file
85
changedetection.io/README.md
Normal file
@@ -0,0 +1,85 @@
|
||||
# Home assistant add-on: changedetection.io
|
||||
|
||||
[![Donate][donation-badge]](https://www.buymeacoffee.com/alexbelgium)
|
||||
[![Donate][paypal-badge]](https://www.paypal.com/donate/?hosted_button_id=DZFULJZTP3UQA)
|
||||
|
||||

|
||||

|
||||

|
||||
|
||||
[](https://www.codacy.com/gh/alexbelgium/hassio-addons/dashboard?utm_source=github.com&utm_medium=referral&utm_content=alexbelgium/hassio-addons&utm_campaign=Badge_Grade)
|
||||
[](https://github.com/alexbelgium/hassio-addons/actions/workflows/weekly-supelinter.yaml)
|
||||
[](https://github.com/alexbelgium/hassio-addons/actions/workflows/onpush_builder.yaml)
|
||||
|
||||
[donation-badge]: https://img.shields.io/badge/Buy%20me%20a%20coffee%20(no%20paypal)-%23d32f2f?logo=buy-me-a-coffee&style=flat&logoColor=white
|
||||
[paypal-badge]: https://img.shields.io/badge/Buy%20me%20a%20coffee%20with%20Paypal-0070BA?logo=paypal&style=flat&logoColor=white
|
||||
|
||||
_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)
|
||||
|
||||

|
||||
|
||||
## About
|
||||
|
||||
[Changedetection.io](https://github.com/dgtlmoon/changedetection.io) provides free, open-source web page monitoring, notification and change detection.
|
||||
|
||||
This addon is based on the [docker image](https://github.com/linuxserver/docker-changedetection.io) from linuxserver.io.
|
||||
|
||||
## Configuration
|
||||
|
||||
### Main app
|
||||
|
||||
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
|
||||
GPID: user
|
||||
TZ: Etc/UTC specify a timezone to use, see https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
|
||||
BASE_URL: Specify the full URL (including protocol) when running behind a reverse proxy
|
||||
```
|
||||
|
||||
### Connect to browserless Chrome (from @RhysMcW)
|
||||
|
||||
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:
|
||||
```yaml
|
||||
PLAYWRIGHT_DRIVER_URL: ws://2937404c-browserless-chrome: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 `2937404c-browserless-chrome` hostname is displayed in the UI, on the Browserless Chromium addon page:
|
||||

|
||||
|
||||
You can also fetch it:
|
||||
* By using SSH and running `docker exec -i hassio_dns cat "/config/hosts"`
|
||||
* From the CLI in HA, using arp
|
||||
* You should also be able to use your HA IP address.
|
||||
|
||||
Then restart the Changedetection.io add-on - after that you can use the browser options in Changedetection.io.
|
||||
|
||||
## Installation
|
||||
|
||||
The installation of this add-on is pretty straightforward and not different in
|
||||
comparison to installing any other Hass.io add-on.
|
||||
|
||||
1. [Add my Hass.io add-ons repository][repository] to your Hass.io instance.
|
||||
1. Install this add-on.
|
||||
1. Click the `Save` button to store your configuration.
|
||||
1. Start the add-on.
|
||||
1. Check the logs of the add-on to see if everything went well.
|
||||
1. Carefully configure the add-on to your preferences, see the official documentation for for that.
|
||||
|
||||
[repository]: https://github.com/alexbelgium/hassio-addons
|
||||
67
changedetection.io/apparmor.txt
Normal file
67
changedetection.io/apparmor.txt
Normal file
@@ -0,0 +1,67 @@
|
||||
#include <tunables/global>
|
||||
|
||||
profile addon_db21ed7f_changedetection.io_nas flags=(attach_disconnected,mediate_deleted) {
|
||||
#include <abstractions/base>
|
||||
|
||||
capability,
|
||||
file,
|
||||
signal,
|
||||
mount,
|
||||
umount,
|
||||
remount,
|
||||
network udp,
|
||||
network tcp,
|
||||
network dgram,
|
||||
network stream,
|
||||
network inet,
|
||||
network inet6,
|
||||
network netlink raw,
|
||||
network unix dgram,
|
||||
|
||||
capability setgid,
|
||||
capability setuid,
|
||||
capability sys_admin,
|
||||
capability dac_read_search,
|
||||
# capability dac_override,
|
||||
# capability sys_rawio,
|
||||
|
||||
# S6-Overlay
|
||||
/init ix,
|
||||
/run/{s6,s6-rc*,service}/** ix,
|
||||
/package/** ix,
|
||||
/command/** ix,
|
||||
/run/{,**} rwk,
|
||||
/dev/tty rw,
|
||||
/bin/** ix,
|
||||
/usr/bin/** ix,
|
||||
/usr/lib/bashio/** ix,
|
||||
/etc/s6/** rix,
|
||||
/run/s6/** rix,
|
||||
/etc/services.d/** rwix,
|
||||
/etc/cont-init.d/** rwix,
|
||||
/etc/cont-finish.d/** rwix,
|
||||
/init rix,
|
||||
/var/run/** mrwkl,
|
||||
/var/run/ mrwkl,
|
||||
/dev/i2c-1 mrwkl,
|
||||
# Files required
|
||||
/dev/fuse mrwkl,
|
||||
/dev/sda1 mrwkl,
|
||||
/dev/sdb1 mrwkl,
|
||||
/dev/nvme0 mrwkl,
|
||||
/dev/nvme1 mrwkl,
|
||||
/dev/mmcblk0p1 mrwkl,
|
||||
/dev/ttyUSB0 mrwkl,
|
||||
/dev/* mrwkl,
|
||||
/tmp/** mrkwl,
|
||||
|
||||
# Data access
|
||||
/data/** rw,
|
||||
|
||||
# suppress ptrace denials when using 'docker ps' or using 'ps' inside a container
|
||||
ptrace (trace,read) peer=docker-default,
|
||||
|
||||
# docker daemon confinement requires explict allow rule for signal
|
||||
signal (receive) set=(kill,term) peer=/usr/bin/docker,
|
||||
|
||||
}
|
||||
9
changedetection.io/build.json
Normal file
9
changedetection.io/build.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"build_from": {
|
||||
"aarch64": "lscr.io/linuxserver/changedetection.io:arm64v8-latest",
|
||||
"amd64": "lscr.io/linuxserver/changedetection.io:amd64-latest"
|
||||
},
|
||||
"codenotary": {
|
||||
"signer": "alexandrep.github@gmail.com"
|
||||
}
|
||||
}
|
||||
41
changedetection.io/config.json
Normal file
41
changedetection.io/config.json
Normal file
@@ -0,0 +1,41 @@
|
||||
{
|
||||
"arch": [
|
||||
"aarch64",
|
||||
"amd64"
|
||||
],
|
||||
"codenotary": "alexandrep.github@gmail.com",
|
||||
"description": "web page monitoring, notification and change detection",
|
||||
"environment": {
|
||||
"LC_ALL": "en_US.UTF-8",
|
||||
"TIMEOUT": "60000"
|
||||
},
|
||||
"image": "ghcr.io/alexbelgium/changedetection.io-{arch}",
|
||||
"init": false,
|
||||
"map": [
|
||||
"config:rw"
|
||||
],
|
||||
"name": "Changedetection.io",
|
||||
"options": {
|
||||
"PGID": 0,
|
||||
"PUID": 0,
|
||||
"TIMEOUT": "60000"
|
||||
},
|
||||
"ports": {
|
||||
"5000/tcp": 5000
|
||||
},
|
||||
"ports_description": {
|
||||
"5000/tcp": "Webui"
|
||||
},
|
||||
"schema": {
|
||||
"BASE_URL": "str?",
|
||||
"PGID": "int",
|
||||
"PUID": "int",
|
||||
"TIMEOUT": "int",
|
||||
"TZ": "str?"
|
||||
},
|
||||
"slug": "changedetection.io",
|
||||
"udev": true,
|
||||
"url": "https://github.com/alexbelgium/hassio-addons/tree/master/changedetection.io",
|
||||
"version": "0.49.4",
|
||||
"webui": "http://[HOST]:[PORT:5000]"
|
||||
}
|
||||
BIN
changedetection.io/icon.png
Normal file
BIN
changedetection.io/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 24 KiB |
BIN
changedetection.io/logo.png
Normal file
BIN
changedetection.io/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 24 KiB |
0
changedetection.io/rootfs/blank
Normal file
0
changedetection.io/rootfs/blank
Normal file
15
changedetection.io/rootfs/etc/cont-init.d/21-folders.sh
Executable file
15
changedetection.io/rootfs/etc/cont-init.d/21-folders.sh
Executable file
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/with-contenv bashio
|
||||
# shellcheck shell=bash
|
||||
set -e
|
||||
|
||||
# Define user
|
||||
PUID=$(bashio::config "PUID")
|
||||
PGID=$(bashio::config "PGID")
|
||||
|
||||
# Check data location
|
||||
LOCATION="/config/addons_config/changedetection.io"
|
||||
|
||||
# Check structure
|
||||
mkdir -p "$LOCATION"
|
||||
chown -R "$PUID":"$PGID" "$LOCATION"
|
||||
chmod -R 755 "$LOCATION"
|
||||
BIN
changedetection.io/stats.png
Normal file
BIN
changedetection.io/stats.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.3 KiB |
9
changedetection.io/updater.json
Normal file
9
changedetection.io/updater.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"github_fulltag": "false",
|
||||
"last_update": "15-03-2025",
|
||||
"repository": "alexbelgium/hassio-addons",
|
||||
"slug": "changedetection.io",
|
||||
"source": "github",
|
||||
"upstream_repo": "linuxserver/docker-changedetection.io",
|
||||
"upstream_version": "0.49.4"
|
||||
}
|
||||
Reference in New Issue
Block a user