https://github.com/rdmtc/node-red-contrib-dwd
Node-RED Nodes that fetch weather warnings from DWD
https://github.com/rdmtc/node-red-contrib-dwd
deutschland dwd node-red warnings weather
Last synced: 7 months ago
JSON representation
Node-RED Nodes that fetch weather warnings from DWD
- Host: GitHub
- URL: https://github.com/rdmtc/node-red-contrib-dwd
- Owner: rdmtc
- License: mit
- Created: 2018-06-22T21:21:55.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-02-04T13:23:55.000Z (over 3 years ago)
- Last Synced: 2024-04-20T00:23:44.765Z (over 1 year ago)
- Topics: deutschland, dwd, node-red, warnings, weather
- Language: HTML
- Size: 13.7 KB
- Stars: 6
- Watchers: 3
- Forks: 3
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# node-red-contrib-dwd
[](http://badge.fury.io/js/node-red-contrib-dwd)
[](https://david-dm.org/hobbyquaker/node-red-contrib-dwd)
[](https://travis-ci.org/hobbyquaker/node-red-contrib-dwd)
[](https://github.com/sindresorhus/xo)
[![License][mit-badge]][mit-url]> 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
```html
.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;
}
```## License
MIT (c) Sebastian Raff
[mit-badge]: https://img.shields.io/badge/License-MIT-blue.svg?style=flat
[mit-url]: LICENSE