This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

wh2600
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

npm

wh2600

WH2600 weather station typescript module.

Description

This module is able to get the current weather data of the WH2600 weather station. The weather station is distributed under different names: FOSHK WH2600, Froggit WH2600 / WH2601 / WH2600 SE, Conrad Renkforce WH2600 and Ambient Weather WS-1400. The weather logger does not provide a native api, so we load and parse the live data page:

Example

import { WeatherStation } from 'wh2600';

// Create a new weather station. This will not open any connection.
const weatherStation = new WeatherStation('ip-of-weather-station');

// Get the current weather data by querying the livedata.html page.
const weatherData = await weatherStation.getWeatherData();

console.log(weatherData);

Constraint

This module is not associated with any of the weather station manufacturers.

Package Sidebar

Install

npm i wh2600

Weekly Downloads

0

Version

2.0.1

License

MIT

Unpacked Size

99.2 kB

Total Files

17

Last publish

Collaborators

  • claudiospizzi