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

atmosx-tempest-pulling

v1.0.61

Published

AtmosphericX Tempest Weather Station Pulling Service

Downloads

22

Readme

AtmosphericX - Tempest Weather Station Pulling Service (DEPRECATED)

This repository provides a robust solution for interacting with the Tempest Weather Station. It enables seamless data retrieval using the device ID, including identifying the nearest station ID. With this project, you can access a wide range of weather related data such as temperature, humidity, pressure, wind gusts, and more.

If you prefer a no-code approach, check out our comprehensive project, AtmosphericX, which leverages this codebase to deliver an intuitive and user friendly experience for weather data analysis and visualization.

Installation Guide

To install this package, you can use NPM (Node Package Manager). Open your terminal and run the following command:

npm install atmosx-tempest-pulling

Usage

const {AtmosXTempestPulling} = require(`atmosx-tempest-pulling`); // CJS
import * as AtmosXTempestPulling from 'atmosx-tempest-pulling'; // ESM

Configuration and Initialization

There are several settings you can configure when intializing this package. Please keep in mind that you must provide your own API key which can be obtained here.

let Client = new AtmosXTempestPulling({
    apiKey: `YOUR-API-KEY-HERE`, // Your Tempest API key
    deviceId: 0, // Your Tempest device ID
    stationId: 0, // Your Tempest station ID (optional)
    enableForecasts: true, // Enable forecasts (Area)
});

Event Handling

You can handle various events emitted by the package. Here are some examples:

Client.onEvent(`onAck`, (event: Object) => {});
Client.onEvent(`onObservation`, (event: Object) => {});
Client.onEvent(`onRapidWind`, (event: Object) => {});
Client.onEvent(`onForecast`, (event: Object) => {});
Client.onEvent(`onLightning`, (event: Object) => {});
Client.onEvent(`onError`, (event: Object) => {});
Client.onEvent(`onPropertyChange`, (property: Object) => {});

Functions and Methods

You can also use various functions provided by the package. Here are some examples:

// Get the closest station based on the latitude and longitude (Returns object with station ID, name, and distance)
Client.getClosestStation(lat: Number, lon: Number); // Will return null if no station is found
// Set the device ID and station ID for the package
Client.setCoreSettings(deviceId: Number, stationId: Number);

Error Handling

The parser can emit various errors. Here are some common errors you might encounter:

missing-api-or-device-id: This error indicates that either the API key or the device ID is missing. Ensure that you have provided both in the configuration.

http-error: This error occurs when there is an issue with the HTTP request, such as a network error or an invalid response from the server. Check your internet connection and ensure that the API endpoint is reachable.

Credits

This parser is developed and maintained by K3YOMI and the AtmosphericX Team. It is open-source and available for contributions and improvements. If you find any issues or have suggestions, feel free to open an issue or submit a pull request in the repository.