Skip to content

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

License

Notifications You must be signed in to change notification settings

bongijo/FritzGuestWiFiVoipToggler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

7 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation


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.