{"id":13830583,"url":"https://github.com/LukeSkywalker92/MMM-DWD-WarnWeather","last_synced_at":"2025-07-09T12:30:24.848Z","repository":{"id":45137621,"uuid":"73309298","full_name":"LukeSkywalker92/MMM-DWD-WarnWeather","owner":"LukeSkywalker92","description":"Weather-Warnings for MagicMirror2","archived":false,"fork":false,"pushed_at":"2024-02-13T15:41:35.000Z","size":910,"stargazers_count":63,"open_issues_count":12,"forks_count":20,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-11-20T12:09:47.831Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/LukeSkywalker92.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2016-11-09T18:17:20.000Z","updated_at":"2024-04-21T15:07:50.000Z","dependencies_parsed_at":"2024-08-04T10:13:28.731Z","dependency_job_id":null,"html_url":"https://github.com/LukeSkywalker92/MMM-DWD-WarnWeather","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LukeSkywalker92/MMM-DWD-WarnWeather","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukeSkywalker92%2FMMM-DWD-WarnWeather","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukeSkywalker92%2FMMM-DWD-WarnWeather/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukeSkywalker92%2FMMM-DWD-WarnWeather/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukeSkywalker92%2FMMM-DWD-WarnWeather/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LukeSkywalker92","download_url":"https://codeload.github.com/LukeSkywalker92/MMM-DWD-WarnWeather/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LukeSkywalker92%2FMMM-DWD-WarnWeather/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264458040,"owners_count":23611471,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-08-04T10:01:02.548Z","updated_at":"2025-07-09T12:30:24.516Z","avatar_url":"https://github.com/LukeSkywalker92.png","language":"JavaScript","funding_links":[],"categories":["Weather"],"sub_categories":[],"readme":"MMM-DWD-WarnWeather\n===================\nThis a module for the [MagicMirror](https://github.com/MichMich/MagicMirror). It can display weather-warnings of [Deutscher Wetterdienst](http://www.dwd.de/DE/Home/home_node.html). The module shows you current weather-warnings of your region in Germany.\n\n## Preview\n\n![](https://github.com/LukeSkywalker92/MMM-DWD-WarnWeather/blob/master/screenshot.png?raw=true)\n\n## Installation\n1. Navigate into your MagicMirror's `modules` folder and execute `git clone https://github.com/LukeSkywalker92/MMM-DWD-WarnWeather.git`. A new folder will appear, navigate into it.\n2. Execute `npm install` to install the node dependencies.\n\n\n\n## Config\nThe entry in `config.js` can include the following options:\n\n|Option|Description|\n|---|---|\n|`region`|now using the new more detailed DWD API.\u003cbr\u003e\u003cbr\u003eTo find the correct region name:\u003cbr\u003e\u003cul\u003e\u003cli\u003ego [here](https://maps.dwd.de/geoserver/dwd/wms?service=WMS\u0026version=1.1.0\u0026request=GetMap\u0026layers=dwd:Warngebiete_Gemeinden\u0026styles=\u0026bbox=5.876914,47.270362,15.037507,55.044381\u0026width=1024\u0026height=868\u0026srs=EPSG:4326\u0026format=application/openlayers#)\u003c/li\u003e\u003cli\u003etoggle options toolbar (three dots at the top left)\u003c/li\u003e\u003cli\u003eif necessary enter \"NAME LIKE '%\u0026lt;your region name\u0026gt;%'\" at the top right next to the 'CQL' dropdown\u003c/li\u003e\u003cli\u003eoptional: change style in dropdown from \"Default\" to \"Warngebiete_Gemeinden_Text\" for easier selection\u003c/li\u003e\u003cli\u003eclick on your city/town/community/area...\u003c/li\u003e\u003cli\u003ethe correct region name is KURZNAME from the table below the map (case sensitive!)\u003c/li\u003e\u003c/ul\u003e\u003cbr\u003e**Type:** `string`\u003cbr\u003eUse **either** this **or** `lat` and `lng`.|\n|`warnCellID`|Cell ID of your region. You can find your region using [this csv file](https://www.dwd.de/DE/leistungen/opendata/help/warnungen/cap_warncellids_csv.csv?__blob=publicationFile\u0026v=3) \u003cbr\u003e\u003cbr\u003eUse **either** this **or** `lat` and `lng` **or** `region`.|\n|`lat`|Latitude of the place to check.\u003cbr\u003e\u003cbr\u003eUse **either** this and `lng` **or** `warnCellID` **or** `region`.|\n|`lng`|Longitude of the place to check.\u003cbr\u003e\u003cbr\u003eUse **either** this and `lat` **or** `warnCellID` **or** `region`.|\n|`changeColor`|When `changeColor` is set to true, the color of the warning icons will change based on the warning level. \u003cbr\u003e\u003cbr\u003e**Default value:** `true`|\n|`interval`|How often the warnings are updated.\u003cbr\u003e\u003cbr\u003e**Default value:** `10 • 60 • 1000` // every 10 minutes|\n|`longversion`|Show the full Description of Warnings if true.\u003cbr\u003e\u003cbr\u003e**Default value:** `false`|\n|`width`|set the piont, where the full Description break down.\u003cbr\u003e\u003cbr\u003e**Default value:** `55`|\n|`minutes`|show minutes in start ad end time information\u003cbr\u003e\u003cbr\u003e**Default value:** `true`|\n|`displayRegionName`|show region name in header info\u003cbr\u003e\u003cbr\u003e**Default value:** `true`|\n|`loadingText`|The text used while loading warnings.\u003cbr\u003e\u003cbr\u003e**Default value:** `'Warnungen werden geladen...'`|\n|`noWarningText`|The text used when there are no warnings for your region.\u003cbr\u003e\u003cbr\u003e**Default value:** `'Keine Warnungen'`|\n|`hideNoWarning`|Hide the module when no warning is available.\u003cbr\u003e\u003cbr\u003e**Default value:** `false`|\n|`severityThreshold`|The warning level at which the weather warnings are to be displayed.\u003cbr\u003e\u003cbr\u003e**Type:** Integer, **Values:** 1, 2, 3, 4\u003cbr\u003e**Default value:** `1`|\n|`displayInnerHeader`|Display a second header line with the text \"Wetterwarnungen\" appended by the region if displayRegionName is set to true.\u003cbr\u003e\u003cbr\u003e**Type:** boolean, **Values:** true, false\u003cbr\u003e**Default value:** `true`|\n\n\nHere is an example of an entry in `config.js`\n```\n{\n\tmodule: 'MMM-DWD-WarnWeather',\n\tposition: 'top_left',\n\theader: 'Wetterwarnungen',\n\tconfig: {\n\t\tregion: 'Lörrach',\n\t\tchangeColor: true,\n\t\tminutes: false,\n\t\tdisplayRegionName: true,\n\t\tdisplayInnerHeader: true,\n\t\tinterval: 10 * 60 * 1000, // every 10 minutes\n\t\tloadingText: 'Warnungen werden geladen...',\n\t\tnoWarningText: 'Keine Warnungen',\n\t\tseverityThreshold: 2\n\t}\n},\n```\n\n## Dependencies\n- [request](https://www.npmjs.com/package/request) (installed via `npm install`)\n\n## Important Notes\n- This is my first project using Node, so feel free to submit pull requests or post on the issues/wiki and I will do my best to improve the project.\n- Right now the data for warnings comes from the *Deutsche Wetterdienst*. So the warnings are only available for germany. If you find an similar API for other countries, feel free to give me a hint or to implement this API in this module yourself.\n\n- Because it's only data for germany, i did not translate any of the warnings to english. Also feel free to do that.\n\n## Special Thanks\n- [Michael Teeuw](https://github.com/MichMich) for creating the awesome [MagicMirror2](https://github.com/MichMich/MagicMirror/tree/develop) project that made this module possible.\n- [SamLewis0602](https://github.com/SamLewis0602) for creating the [MMM-Traffic](https://github.com/SamLewis0602/MMM-Traffic) module that I used as guidance in creating this module.\n\n## Documentation of the DWD Api\nWMS-Dienste für die eigene Website: https://www.dwd.de/DE/wetter/warnungen_aktuell/objekt_einbindung/einbindung_karten_geowebservice.pdf?__blob=publicationFile\u0026v=11\n\nCommon Alerting Protocol: https://www.dwd.de/DE/leistungen/opendata/help/warnungen/cap_dwd_profile_de_pdf.pdf\n\nSeverity levels:\n- Minor (Level 1 - Wetterwarnung - Gelb)\n- Moderate (Level 2 - Markante Wetterwarnung - Orange)\n- Severe (Level 3 - Unwetterwarnung - Rot)\n- Extreme (level 4 - Extreme Unwetterwarnung - Violet)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLukeSkywalker92%2FMMM-DWD-WarnWeather","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FLukeSkywalker92%2FMMM-DWD-WarnWeather","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FLukeSkywalker92%2FMMM-DWD-WarnWeather/lists"}