Skip to content

chrisreeves-/unifi-passphrase-rotator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Automatic Unifi wifi passphrase changer

Overview

This simple script rotates Unifi controller WIFI passphrases and generates a QR code.

Uses

If you have a guest network that you would like to secure by rotating on a daily/weekly/monthly basis. This script is requesting infomation from the user running the script however hard-coded values can be set if it needs to be running in a schedule/cron.

Requirements

  1. A working internet connection

  2. A Unifi controller running on your local network and functioning correctly

  3. Credentials to access your Unifi controller

  4. Python 3 installed

How To Use

  1. Get some friends

  2. Git clone repository

git clone https://github.com/chrisreeves-/unifi-passphrase-rotator.git
  1. Install Python packages
pip install -r requirements.txt
  1. Gather information about your Unfi controller
    1. IP Address
    2. Port (Usually 8443)
    3. Username
    4. Password
    5. The name of the SSID
  2. Run the script
python3 rotator.py
  1. Enter information from step 2

QR Code Example

img.png

Acknowledgements

This script is utilising wifi-qrcode-generator referenced here: https://pypi.org/project/wifi-qrcode-generator/

Known Issues

This doesn't work if your Ubiquity account has 2FA enabled.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages