Skip to content

Node-RED Nodes that fetch weather warnings from DWD

License

Notifications You must be signed in to change notification settings

rdmtc/node-red-contrib-dwd

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published