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 🙏

© 2024 – Pkg Stats / Ryan Hefner

pimatic-dwd-weather

v0.9.5

Published

Pimatic plugin for DWD weather data

Downloads

18

Readme

pimatic-dwd-weather

Greenkeeper badge Npm Version Build Status

Pimatic plugin for DWD weather data.

Introduction

This plugin provides basic weather data from the German Weather Service for about 40 stations throughout the country. The following data is provided whereas some stations may provide a limited data set:

  • air temperature at ground-level
  • weather condition(clouds and precipitation)
  • relative humidity
  • barometric pressure
  • wind speed, gust and direction

Contributions

Contributions to the project are welcome. You can simply fork the project and create a pull request with your contribution to start with. If you like this plugin, please consider ★ starring the project on github.

Plugin Configuration

{
      "plugin": "dwd-weather",
      "debug": false,
}

The plugin has the following configuration properties:

| Property | Default | Type | Description | |:------------------|:---------|:--------|:--------------------------------------------| | debug | false | Boolean | Debug mode. Writes debug messages to the pimatic log, if set to true | | interval | 10 | Number | The time interval in minutes (minimum 10) at which the weather data will be queried |

Device Configuration

The DWD Weather device is provided to obtain weather data for a single location.

{
      "id": "dwd-1",
      "name": "Wasserkuppe",
      "class": "DwdWeather",
      "attributes": [
        "temperature",
        "humidity",
        "pressure",
        "precipitation",
        "windDirection",
        "windSpeed",
        "windGust"
      ],
      "station": "Wasserkuppe, HE"
}

The location is defined by setting the station name which may be one of the following:

"UFS TW Ems, HH",  "UFS Deutsche Bucht, HH",  "Helgoland, SH",  "List/Sylt, SH",  "Schleswig, SH",
"Leuchtturm Kiel, SH",  "Kiel, SH",  "Fehmarn, SH",  "Arkona, MV",  "Norderney, NI",
"Leuchtt. Alte Weser, NI",  "Cuxhaven, NI",  "Hamburg-Flh., HH",  "Schwerin, MV",  "Rostock, MV",
"Greifswald, MV",  "Emden, NI",  "Bremen-Flh., HB",  "Lüchow, NI",  "Marnitz, MV",
"Waren, MV",  "Neuruppin, BB",  "Angermünde, BB",  "Münster/Osnabr.-Flh., NW",  "Hannover-Flh., NI",
"Magdeburg, ST",  "Potsdam, BB",  "Berlin-Tegel, BE",  "Berlin-Tempelhof, BE",  "Berlin-Dahlem, BE",
"Lindenberg, BB",  "Düsseldorf-Flh., NW",  "Essen, NW",  "Kahler Asten, NW",  "Bad Lippspringe, NW",
"Fritzlar, HE",  "Brocken, ST",  "Leipzig-Flh., SN",  "Dresden-Flh., SN",  "Cottbus, BB",
"Görlitz, SN",  "Aachen, NW",  "Nürburg, RP",  "Köln/Bonn-Flh., NW",  "Gießen/Wettenberg, HE",
"Wasserkuppe, HE",  "Meiningen, TH",  "Erfurt, TH",  "Gera, TH",  "Fichtelberg, SN",
"Trier, RP",  "Hahn-Flh., RP",  "Frankfurt/M-Flh., HE",  "OF-Wetterpark, HE",  "Würzburg, BY",
"Bamberg, BY",  "Hof, BY",  "Weiden, BY",  "Saarbrücken-Flh., SL",  "Karlsruhe-Rheinst., BW",
"Mannheim, BW",  "Stuttgart-Flh., BW",  "Öhringen, BW",  "Nürnberg-Flh., BY",  "Regensburg, BY",
"Straubing, BY",  "Großer Arber, BY",  "Lahr, BW",  "Freudenstadt, BW",  "Stötten, BW",
"Augsburg, BY",  "München-Flh., BY",  "Fürstenzell, BY",  "Feldberg/Schw., BW",  "Konstanz, BW",
"Kempten, BY",  "Oberstdorf, BY",  "Zugspitze, BY",  "Hohenpeißenberg, BY"

The device has the following configuration properties:

| Property | Default | Type | Description | |:------------------|:---------|:--------|:--------------------------------------------| | station | - | String | The name of the weather station | | attributes | "temperature" | Enum | The attribute to be exhibited by the device |

Since pimatic version 0.9, devices can be easily created and edited using the device editor as shown in the following example.

Screenshot

License

Copyright (c) 2015-2018, Marcus Wittig and contributors. All rights reserved.

AGPL-3.0