statsbadge-quakes
Recent earthquakes on a world map, for statsbadge.
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.
It is ambient. There is nothing to press.
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 own, so nothing is downloaded and no geometry crosses the network: the host sends ten events and the badge knows where they are. 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 draws the quakes it knew about rather than an empty world.
quakes.biggest, quakes.latest and quakes.count are in the frame too, for a text or dial page that wants a number rather than a map.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file statsbadge_quakes-1.0.1.tar.gz.
File metadata
- Download URL: statsbadge_quakes-1.0.1.tar.gz
- Upload date:
- Size: 7.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
173b1129826a1d90d4219c83ae5adc2059a5b7d1a81dc291b168b9b319a41401
|
|
| MD5 |
b0ff050dc142942cb591da387e5a1b21
|
|
| BLAKE2b-256 |
bff5a36756f532e292e7f5ce893b74aa0cd383c916fe166adad73308f70c6699
|
File details
Details for the file statsbadge_quakes-1.0.1-py3-none-any.whl.
File metadata
- Download URL: statsbadge_quakes-1.0.1-py3-none-any.whl
- Upload date:
- Size: 8.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.9.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
abf22ac220439c5536fd0cd93fd6b810f282776a18d94c7c3212d4252aff4e54
|
|
| MD5 |
4ebd10bc53170367fa8c4504ca896b1c
|
|
| BLAKE2b-256 |
4be84dc703eb468f070c9f11989f158fd8275e446abd1e9ffe704baf8b9dcc17
|