Some scripts for easy Fritzbox handling
Find a file
2021-03-31 18:19:54 +02:00
README.md added missing required module to docs 2021-03-09 22:21:06 +01:00
wakeup.json added config file support and better argument parsing 2017-12-05 15:06:08 +01:00
wakeup.py added beta handling for versions >7.24 2021-03-31 18:19:54 +02:00

Some scripts for easy Fritzbox handling

Currently only Fritzboxes with FRITZ!OS v6.50 or newer are supported.

Wake on LAN

  • wakeup.py – Python script for remotely starting a computer behind a Fritzbox using its WOL functionality

Required Python modules

  • lxml
  • packaging
  • requests

Configuration

All configuration is done in the config file in JSON format:

  • host: external fritzbox hostname or ip
  • port: ssl port
  • username/password: fritzbox login credentials
  • devices: list of device names with macs that can be used for wakeup

If the password line is not present in the config file, you will be prompted for the password.

Usage

> wakeup.py                           # sends wakeup to 'default' device
> wakeup.py foo                       # sends wakeup to device 'foo' in config file
> wakeup.py -k foo                    # sends wakeup to device 'foo' while ignoring ssl certificate verification
> wakeup.py -c yourconfig.json bar    # sends wakup to device 'bar' using config file 'yourconfig.json' 
> wakeup.py -h                        # shows help