Skip to main content

Monitor barometric pressure from Spectrum SAX2V1S routers

Project description

Spectrum Router Barometer

Monitor barometric pressure from Spectrum SAX2V1S routers.

Installation

Quick Install (Recommended)

pipx install git+https://github.com/BobaTeagrl/spectrum-barometer.git

Or with pip:

pip install git+https://github.com/BobaTeagrl/spectrum-barometer.git

Updating

For now you need to uninstall and reinstall i plan on making this cleaner soon but pipx only likes git so much

pipx uninstall spectrum-barometer
pipx install git+https://github.com/BobaTeagrl/spectrum-barometer.git

First Time Setup

# Configure your router credentials
barometer config

# Test the connection
barometer test

image

All data is stored in ~/spectrum-barometer/ regardless of where you run the command.

Usage

# Collect a single reading
barometer scrape

# Start continuous monitoring (every 5 minutes by default)
barometer monitor

# Generate a graph
barometer graph

# View statistics
barometer stats

# Archive old data
barometer archive

Append --help to any command to see extra options

Finding Your Data

Everything is stored in ~/spectrum-barometer/:

  • Graphs: ~/spectrum-barometer/graphs/
  • Data: ~/spectrum-barometer/data/readings.csv
  • Config: ~/spectrum-barometer/config.yaml
  • Logs: ~/spectrum-barometer/logs/barometer.log

You can run barometer info to see exact paths and current data.

FAQ

Why make this?

I find it funny.

Any other reason?

Spectrum is a very anti consumer company. this whole project started because i cant even access port forwarding, A VERY BASIC FEATURE and while trying to find a way around it i found the GitHub with the page and credentials used to find the barometer.

How often can it update?

The barometer seems to update every second but that's super overkill lol but you can if you want to.

Will you update this ever?

I may make a fully optional web GUI at some point for fun but its in a very usable state already. Plus cli tools are just kinda fun :3

How hard is it to run?

When taking a reading it might take a few % of CPU and max ram use i personally have seen is 111MB (though not to say it can never get higher i cant know for sure im just one person) but when sitting idle its no CPU. i wanted this to be able to run on anything from a raspberry pi you already have set up running pi hole or something to someones single laptop that they are actively pushing while it runs in the background (because that's me)

None of this would be possible without the work of MeisterLone on github

He actually put in the work to reverse engineer this stupid router and i wouldnt have even realized routers had barometers without it lmao

https://github.com/MeisterLone/Askey-RT5010W-D187-REV6

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

spectrum_barometer-1.0.3.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

spectrum_barometer-1.0.3-py3-none-any.whl (11.4 kB view details)

Uploaded Python 3

File details

Details for the file spectrum_barometer-1.0.3.tar.gz.

File metadata

  • Download URL: spectrum_barometer-1.0.3.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for spectrum_barometer-1.0.3.tar.gz
Algorithm Hash digest
SHA256 96dad517aa0a9dbe0fe4f73760880c0b3887357b390a6acbc1dfdfcc44e90837
MD5 8619092ec5781c72fd07d9dfd77ad15b
BLAKE2b-256 3af6df2464194c3ba396b27ec2dfd4b28e670758eb28f979ceb7bf6308bd9145

See more details on using hashes here.

Provenance

The following attestation bundles were made for spectrum_barometer-1.0.3.tar.gz:

Publisher: python-publish.yml on BobaTeagrl/spectrum-barometer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file spectrum_barometer-1.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for spectrum_barometer-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 b290b1a4e16d3d82f65e91f729a8f63042532765918dad236dde643cb5e09c4a
MD5 5ebda89876e9f208e55503f85d6492fa
BLAKE2b-256 48036a1fb8c9fe1e3918ad915bd6f4711cc537ada879e3a5f1d1922be08ebf71

See more details on using hashes here.

Provenance

The following attestation bundles were made for spectrum_barometer-1.0.3-py3-none-any.whl:

Publisher: python-publish.yml on BobaTeagrl/spectrum-barometer

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page