a custom tool for a very special, personal use case.
Go to file
2024-06-12 11:53:00 +02:00
.vscode initial commit 2024-06-12 10:26:04 +02:00
libs initial commit 2024-06-12 10:26:04 +02:00
.dockerignore initial commit 2024-06-12 10:26:04 +02:00
.gitignore initial commit 2024-06-12 10:26:04 +02:00
config.json.example initial commit 2024-06-12 10:26:04 +02:00
docker-compose.yml add docker-compose file 2024-06-12 11:53:00 +02:00
Dockerfile initial commit 2024-06-12 10:26:04 +02:00
fritzfix.js initial commit 2024-06-12 10:26:04 +02:00
LICENSE.md initial commit 2024-06-12 10:26:04 +02:00
package.json initial commit 2024-06-12 10:26:04 +02:00
README.md update readme 2024-06-12 10:33:24 +02:00

fritzfix

a custom tool for a very special, personal use case.

description

every time the router goes down or reboots all the phones connected to a fritzbox stop working until the fritzbox itself is rebooted.

this tool regularly checks if the router is responding to http requests.
if the router does not respond the tool will wait for it to come back online and then execute a reboot via selenium (headless browser in a docker container).

also some notifications are sent to my local ntfy instance.

build / usage

  • clone the repository: git clone https://git.velvettear.de/velvettear/fritzfix.git
  • enter the repository: cd fritzfix
  • create and modify a config file: cp config.json.example config.json && vim config.json
  • build an image: docker build --no-cache -t fritzfix:latest .
  • run it: docker run --rm -it fritzfix:latest