node-red-contrib-dwd 0.9.0

Node-RED Nodes that fetch weather warnings from DWD

npm install node-red-contrib-dwd

NPM version dependencies Status Build Status XO code style License

Node-RED Nodes zum abfragen von Wetterwarnungen des Deutschen Wetterdienstes (DWD)

These Nodes are only useful if you're interested in weather warnings for Germany, can't be used in other countries.

msg Attribute

  • payload - Maximale Warnstufe aktueller Warnungen
  • count - Anzahl der Warnungen
  • events - Kommagetrennte Aufzählungen der Warnungs-Kategorien
  • warnings - Array mit den detaillierten Daten der Warnungen
  • html - HTML zur Anzeige im Dashboard

Dashboard Template

<style>
    .dwd-icon-container {
        display: inline-block;    
    }
    .dwd-event {
        display: inline-block;
        vertical-align: 60px;
        font-weight: bold;
        padding-left: 20px;
    }
    .dwd-icon, .dwd-icon-frame {
        position: absolute;
    }
    .dwd-icon-container, .dwd-icon, .dwd-icon-frame {
        width: 100px;
        height: 100px;
    }
    .dwd-time {
        color: grey;
    }
    
</style>
<div ng-bind-html="msg.html"></div>

License

MIT (c) Sebastian Raff

Node Info

Version: 0.9.0
Updated 6 years, 4 months ago
License: MIT
Rating: 5.0 3

Actions

Rate:

Downloads

11 in the last week

Nodes

  • dwd

Keywords

  • node-red
  • weather
  • warning
  • dwd
  • germany
  • deutsch
  • wetterdienst
  • warnungen
  • wind
  • sturm
  • regen
  • schnee
  • glatteis
  • frost

Maintainers