npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

iobroker.aurora-nowcast

v2.3.0

Published

Provides current (nowcast and forecast) data on aurora (northern and southern lights) activity for a given location, based on NOAA information.

Downloads

369

Readme

ioBroker.aurora-nowcast

Logo

NPM version Downloads Number of Installations Current version in stable repository

NPM

Tests: Test and Release


Aurora Nowcast adapter for ioBroker

Provides current (nowcast) data on aurora activity (northern and southern lights) for a given location, based on publicly available data from the NOAA Space Weather Prediction Center (SWPC).

Note:
The OVATION aurora data represents current conditions (nowcast) based on real-time solar wind measurements — not a long-range forecast.
The Kp index feed additionally provides a 72-hour forecast for planning purposes.


Features

  • Retrieves real-time aurora activity data (NOAA OVATION model) for both northern and southern hemisphere
  • Calculates local aurora visibility likelihood for a configured location
  • Provides current Kp index (1-minute feed) and a 72-hour Kp forecast
  • Provides real-time solar wind data (Bz, total field, speed, density) as aurora early-warning indicators
  • Provides ioBroker states for automation, visualization and alerts
  • Optional usage of system location or manual latitude/longitude input
  • Suitable for dashboards, notifications and smart home scenarios

❤️ Support

If you find ioBroker.aurora-nowcast useful and would like to support further development, you might want to buy me a coffee. ☕🙂

Donate

Thank you for your support!


Configuration

You can either:

  • Use the system location configured in ioBroker, or
  • Provide manual coordinates (latitude / longitude in decimal degrees)

Manual coordinates are required if system location is disabled.

Examples:

| Location | Latitude | Longitude | |-----------------|----------|-----------| | Berlin | 52.5 | 13.4 | | Buenos Aires | -34.6 | -58.4 | | Reykjavik | 64.1 | -21.9 |

North/East values are positive, South/West values are negative.

Update Intervals

| Setting | Default | Range | Description | |-------------------|---------|-------|------------------------------------------------------------------------------------| | Standard interval | 5 | 1–60 | How often OVATION aurora data, Kp forecast and storm scales are fetched (minutes) | | Realtime interval | 1 | 1–60 | How often realtime feeds are fetched: current Kp index, solar wind (minutes) |


States

Background: Space Weather Indices

Kp index — The planetary K index measures global geomagnetic activity on a scale of 0–9 (0 = quiet, 9 = extreme storm). Values ≥ 5 indicate geomagnetic storm conditions (G1 and above), under which aurora becomes visible at mid-latitudes such as Central Europe. The adapter provides both the current 1-minute Kp reading and a 72-hour forecast.

OVATION — Aurora probability

| State | Type | Description | |---------------------|---------|------------------------------------------------------------------------------------| | probability | number | Estimated aurora visibility probability at the configured location (%) | | observation_time | number | Time of the upstream solar wind observation used as model input (UTC, ms) | | forecast_time | number | Time for which the nowcasted geomagnetic response at Earth is calculated (UTC, ms) |

Kp index

| State | Type | Description | |------------------------|---------|--------------------------------------------------------| | kp.value | number | Current Kp index (0–9, decimal, 1-minute feed) | | kp.time | number | Measurement time of the current Kp value (UTC, ms) | | kp.g_scale | number | Derived NOAA G-scale (0 = none, 1–5 = G1–G5) | | kp.forecast_max | number | Maximum Kp value in the 72-hour forecast | | kp.forecast_max_time | number | Time at which the forecast maximum occurs (UTC, ms) | | kp.forecast | string | Full 72-hour Kp forecast as JSON array [{time, kp}] |

Solar wind

Bz (GSM) — The z-component of the interplanetary magnetic field in GSM coordinates. A strongly negative Bz (southward orientation) opens the Earth's magnetosphere to incoming solar wind energy and is the most reliable short-term aurora precursor — typically 15–60 minutes ahead of visible activity. Bt is the total field magnitude; Bz relative to Bt indicates how strongly southward the field is oriented.

| State | Type | Unit | Description | |-------------------------|--------|--------|----------------------------------------------------------| | solar_wind.bz | number | nT | Bz component in GSM coordinates (negative = southward) | | solar_wind.bt | number | nT | Total interplanetary magnetic field strength | | solar_wind.speed | number | km/s | Solar wind proton speed | | solar_wind.density | number | p/cm³ | Solar wind proton density | | solar_wind.mag_time | number | ms | Magnetometer measurement time (UTC) | | solar_wind.plasma_time| number | ms | Plasma measurement time (UTC) |

These states can be used for:

  • Notifications (e.g. push messages when Kp ≥ 5 or Bz ≤ −10 nT)
  • Dashboard visualizations
  • Automation rules (e.g. activate camera when aurora probability is high)

Data Source

This adapter uses publicly available data provided by the:

In particular, the OVATION aurora nowcast model and related real-time geomagnetic indices are used to estimate auroral activity for the configured location.


Disclaimer

NOAA and SWPC are not affiliated with this project.

The data used by this adapter is provided by NOAA for public use.
No guarantee is made regarding the accuracy, completeness or timeliness of the provided information.

Aurora visibility depends on multiple external factors (e.g. cloud cover, light pollution, IMF orientation) which are beyond the scope of this adapter.


Changelog

2.3.0 (2026-06-19)

2.2.2 (2026-04-17)

  • re-added git-type URL because of npm linter

2.2.1 (2026-04-17)

2.2.0 (2026-03-30)

2.1.4 (2026-03-11)

  • disabled Sentry in GitHub workflow

Older changelogs can be found there


License

GNU General Public License v3.0

Copyright (c) 2026 Christian Menne

See LICENSE file for full license text.