20 lines
864 B
Markdown
20 lines
864 B
Markdown
# 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` |