bongijo / FritzGuestWiFiVoipToggler

Switch on and off your guest WiFi just with a call! πŸ“žβž‘πŸ“‘

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


Logo

Fritz Guest WiFi Voip Toggler

Switch on and off your guest wifi just with a call!

🧰 Getting Started

β€Ό Prerequisites

  • A valid VoIP account on your Fritz!Box: you can follow this guide to create a LAN/Wi-Fi telephone
  • TR-064 interface enabled: you can do it by activating the settings Allow access for applications and Transmit status information over UPnP in the Home Network -> Network -> Network Settings menu
  • A valid Fritz!Box user with settings permissions enabled (I recommend to create a new user just for this app)

🐳 Installing - Docker

You can easily install it by running the provided docker container. But first, create a .env file filled up with the access parameters:

Parameter Description
VOIP_HOST The Fritz!Box ip address
VOIP_USER The VoIP account username
VOIP_PASSWD The VoIP account password
VOIP_CLIENT_IP The ip address of the machine where this app is executing. N.B. the ip address must be a valid ip address in the Fritz!Box network
FRITZ_ADDRESS The Fritz!Box ip address
FRITZ_USER The Fritz!Box account username
FRITZ_PASSWD The Fritz!Box account password

Run the docker container:

docker run -d ghcr.io/bongijo/fritz-guest-wifi-voip-toggler --network host --name FritzGuestWiFiVoipToggler --env-file .env

πŸ‘€ Usage

Just call with a telephone the correspondent internal number (e.g. **620)

πŸ— Built With

  • pyVoIP - Python VoIP/SIP/RTP library
  • fritzconnection - Python tool to communicate with the AVM Fritz!Box

πŸ“œ License

This project is released under the MIT License. See LICENSE for more information.

About

Switch on and off your guest WiFi just with a call! πŸ“žβž‘πŸ“‘

License:MIT License


Languages

Language:Python 93.8%Language:Shell 6.2%