Skip to main content

statsbadge-quakes

Recent earthquakes on a world map, for statsbadge.

Quakes Quakes pulled out

The page cycles through the set on its own, closing in on each event and pulling back out to cross an ocean. Rings leave the epicentre in the magnitude's own colour off the theme ramp, so how big it was is something you can read at a glance from across the room. Under the map: the magnitude, where it was, how deep and how long ago.

Events come from USGS, which needs no key and no account.

Install

statsbadge ext add quakes
statsbadge install

Then add a Quakes page in the config UI. It works with nothing configured.

Settings

Setting What it does
Smallest magnitude Below about 4 the feed fills up with events nobody felt: there are several thousand a month
How many How many events the map cycles through
Show the recent is the last few hours, biggest is the largest of the past month
Seconds each Per page: how long the map holds on one event before travelling to the next

Notes

The map is the badge firmware's, so nothing is downloaded and no geometry crosses the network: the host sends ten events with their coordinates. Land takes its colour from the theme ramp by latitude, tropics at the hot end and ice caps at the cold one, so the map is themed along with everything else.

The last set is kept, so a badge switched on before the network is up has something to draw.

Largest magnitude, Latest magnitude and How many are offered as readings too, under Earthquakes in the field pickers, for a text or dial page drawing a number and not a map.

The feed is asked for every five minutes and the badge polls every second, so the events travel only on a change. An age is drawn to the minute and worked out against the minute just gone, which is what keeps a set that has not moved from being sent. Ten events are about 1.1KB, so that is 1.1KB a second saved for a page that changes twelve times an hour.

Release files for statsbadge-quakes 1.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for statsbadge-quakes 1.1.1
File Size Uploaded
statsbadge_quakes-1.1.1.tar.gz 8.4 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for statsbadge-quakes 1.1.1
File Interpreter ABI Platform
statsbadge_quakes-1.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 17.9 kB

Release files / statsbadge_quakes-1.1.1.tar.gz

Download URL statsbadge_quakes-1.1.1.tar.gz
Size 8.4 kB
Tags Source
SHA-256 checksum
How to use checksums
376ab2b2b055e5c1887038aba6da451363503eaac79000583ad83017c4e514df
BLAKE2b-256 checksum
How to use checksums
76609cc1cc3fc8dc2062709e749333181b69da8417f4f6a5ecc47d73d5ca9bca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.2

Release files / statsbadge_quakes-1.1.1-py3-none-any.whl

Download URL statsbadge_quakes-1.1.1-py3-none-any.whl
Size 9.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
eb85f7dc9d56a94c886f47e683dcb43b6b9ebc907c066bb7bba738e2a8274dd0
BLAKE2b-256 checksum
How to use checksums
1063055dd4056d8e74e5035047d33f7396ede4e7ab8641c7957f129ed393f895
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.9.2

Release history Release notifications | RSS feed

2.0.0

2 release files

This release

1.1.1 This release

2 release files

1.1.0

2 release files

1.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page