A lightweight CLI tool that monitors Xfinity service status at a given address and alerts you to outages without manual checks. No API key required.
- Python 3.10+
- Git Bash (Windows) or any bash-compatible shell (Mac/Linux)
The below instructions are for Windows users. Linux users would activate the venv in a slightly different way and may have different names for Python and Pip.
- Clone the repo
git clone https://github.com/spiritualhost/xfinity-status
cd xfinity_status/- Run the setup script to create a virtual environment and install dependencies
./setup.sh- Activate the venv and run the script
source venv/Scripts/activate
python xfinity_status.pyOn first run you will be prompted to enter your service address. This is validated against the Xfinity portal and saved to config.ini for future runs.
Run interactively:
python xfinity_status.pyPipe output to a log file:
python xfinity_status.py > log.txtStatus is checked every 30 minutes by default. This can be changed by editing the sleep value in config.ini, which is measured in seconds.
config.iniis generated on first run and stores your service address and poll interval- The browser runs headlessly and defaults to chromium
- Press
Ctrl+Cto exit cleanly