Skip to content

Beautiful, fast and modern UI for the FRITZ!Box. Get a simple overview over your Router, Networkdevices and SmartHome Devices.

License

Notifications You must be signed in to change notification settings

lukesthl/fritz-ui

Repository files navigation

Beautiful, fast and modern UI for the FRITZ!Box. Get a simple overview over your Router, Networkdevices and SmartHome Devices.

About The Project · Features · Installation · Configuration · Tech Stack Troubleshooting


About The Project

New.Recording.Apr.10.2023.0100.PM.mp4

Features

  • Dashboard with Router, SmartHome Device Stats
  • Mobile Responsive
  • PWA Support
  • All your network devices in one list
  • SmartHome Devices with current temperature, battery status and more
  • Login with your fritzbox user credential

Installation

Docker

docker run -d --restart=always -p 3000:3000 --name fritz-ui ghcr.io/lukesthl/fritz-ui:latest

Configuration

Basic Configuration

docker run -d --restart=always -p 3000:3000 \
  -e NEXTAUTH_URL='http://localhost:3000' \
  -e NEXTAUTH_SECRET='secret' \
  -e FRITZBOX_HOST='fritz.box' \
  -e FRITZBOX_PORT='49000' \
  -e FRITZBOX_SSL='0' \
  --name fritz-ui ghcr.io/lukesthl/fritz-ui:latest

Using FritzBox IP Address

docker run -d --restart=always -p 3000:3000 \
  -e NEXTAUTH_URL='http://localhost:3000' \
  -e NEXTAUTH_SECRET='secret' \
  -e FRITZBOX_HOST='192.168.1.1' \
  -e FRITZBOX_PORT='49000' \
  -e FRITZBOX_SSL='0' \
  --name fritz-ui ghcr.io/lukesthl/fritz-ui:latest

Environment Variables

These variables can be provided at runtime to customize the FritzBox connection:

Variable Description Required Default
NEXTAUTH_URL Base URL of the site. NOTE: if this value differs from the value used at build-time, there will be a slight delay during container start (to update the statically built files). optional http://localhost:3000
NEXTAUTH_SECRET JWT secret for authentication optional secret
FRITZBOX_HOST FritzBox hostname or IP address optional fritz.box
FRITZBOX_PORT FritzBox port (49000 for HTTP, 49443 for HTTPS) optional 49000
FRITZBOX_SSL Whether FritzBox is accessible via HTTPS (1 = true, 0 = false) optional 0

Tech Stack

Ideas

  • Customizable Dashboard
  • Multi Language Support
  • Edit Network Device Properties
  • Move to app dir with rsc (waiting for tRPC)

Security

You can technically host it on a vps, however i don't recommend it. Always host on a private network, which is not accessible publicly.

Troubleshooting

Common Error: Fritzbox not reachable

1. Check FritzBox Access

First, verify you can access your FritzBox directly:

# Test HTTP access (replace with your FritzBox IP)
curl http://192.168.1.1:49000/tr64desc.xml
2. Check User Permissions

In your FritzBox admin interface:

  1. Go to SystemFritzBox Users
  2. Ensure your user has the correct permissions
3. Enable TR-064 Interface
  1. Go to HeimnetzNetzwerk
  2. Switch to Tab "Netzwerkeinstellungen" and open "erweiterte Einstellungen"
  3. Ensure "Zugriff für Apps erlauben" is enabled
4. Network Configuration Issues
# Test if the hostname resolves
nslookup fritz.box

# Try using IP address instead
docker run -d --restart=always -p 3000:3000 \
  -e NEXTAUTH_URL='http://localhost:3000' \
  -e NEXTAUTH_SECRET='secret' \
  -e FRITZBOX_HOST='192.168.1.1' \
  -e FRITZBOX_PORT='49000' \
  -e FRITZBOX_SSL='0' \
  --name fritz-ui ghcr.io/lukesthl/fritz-ui:latest

Still Having Issues?

  1. Verify network connectivity: docker exec fritz-ui ping fritz.box
  2. Test from host: Try the same connection from your Docker host machine
  3. Check FritzBox model: Some older models may have limited TR-064 support

About

Beautiful, fast and modern UI for the FRITZ!Box. Get a simple overview over your Router, Networkdevices and SmartHome Devices.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 3

  •  
  •  
  •