jalibu / mmm-nina Goto Github PK
View Code? Open in Web Editor NEWEine simple Client Implementierung der NINA Warn App API für die MagicMirror² Plattform.
License: MIT License
Eine simple Client Implementierung der NINA Warn App API für die MagicMirror² Plattform.
License: MIT License
Raspberry Pi 3b+
20.9.0
2.28.0
v2.28.0
Ich habe das Modul mehrfach eingebunden für unterschiedliche Orte, siehe Code. Auf dem Mirror zeigt er mir aber nach jedem Header den selben Ort an. Mal den ersten (Datteln), mal den zweiten (Dorsten). Wo liegt hier mein Fehler?
No response
No response
No response
MM starten und Fehler sehen
No response
{
module: "MMM-NINA",
header: "NINA für Datteln",
position: "top_right",
config: {
ags: ["055620008008"], // Liste der Gemeinden, die abgefragt werden sollen
downgradeLhpSeverity: false,
downgradeCancelSeverity: true,
hideCancelledWarnings: false,
excludeProviders: [], // Mögliche Werte ["MOWAS", "DWD", "BIWAPP", "LHP"]
maxAgeInHours: 6,
maxWidth: "300px",
mergeAlertsById: true,
mergeAlertsByTitle: true,
orderBySeverity: true,
showIcon: true,
showDate: true,
showCity: true,
showNoWarning: true,
theme: "top", // Erlaubte Werte: top, top-floating, side
updateIntervalInSeconds: 120,
}
},
{
module: "MMM-NINA",
header: "NINA für Dorsten",
position: "top_right",
config: {
ags: ["055620012012"], // Liste der Gemeinden, die abgefragt werden sollen
downgradeLhpSeverity: false,
downgradeCancelSeverity: true,
hideCancelledWarnings: false,
excludeProviders: [], // Mögliche Werte ["MOWAS", "DWD", "BIWAPP", "LHP"]
maxAgeInHours: 6,
maxWidth: "300px",
mergeAlertsById: true,
mergeAlertsByTitle: true,
orderBySeverity: true,
showIcon: true,
showDate: true,
showCity: true,
showNoWarning: true,
theme: "top", // Erlaubte Werte: top, top-floating, side
updateIntervalInSeconds: 120,
}
},
{
module: "MMM-NINA",
header: "NINA für Essingen",
position: "top_right",
config: {
ags: ["081365001021"], // Liste der Gemeinden, die abgefragt werden sollen
downgradeLhpSeverity: false,
downgradeCancelSeverity: true,
hideCancelledWarnings: false,
excludeProviders: [], // Mögliche Werte ["MOWAS", "DWD", "BIWAPP", "LHP"]
maxAgeInHours: 6,
maxWidth: "300px",
mergeAlertsById: true,
mergeAlertsByTitle: true,
orderBySeverity: true,
showIcon: true,
showDate: true,
showCity: true,
showNoWarning: true,
theme: "top", // Erlaubte Werte: top, top-floating, side
updateIntervalInSeconds: 120,
}
},
{
module: "MMM-NINA",
header: "NINA für Waldbronn",
position: "top_right",
config: {
ags: ["082150110110"], // Liste der Gemeinden, die abgefragt werden sollen
downgradeLhpSeverity: false,
downgradeCancelSeverity: true,
hideCancelledWarnings: false,
excludeProviders: [], // Mögliche Werte ["MOWAS", "DWD", "BIWAPP", "LHP"]
maxAgeInHours: 6,
maxWidth: "300px",
mergeAlertsById: true,
mergeAlertsByTitle: true,
orderBySeverity: true,
showIcon: true,
showDate: true,
showCity: true,
showNoWarning: true,
theme: "top", // Erlaubte Werte: top, top-floating, side
updateIntervalInSeconds: 120,
}
},
No response
No response
No response
2.24.0
last version
Moin,
ich bekomme in meinem MM folgenden Fehler.
0|MagicMirror | [24.09.2023 16:52.17.187] [WARN] API request for 110030003003 failed: invalid json response body at https://warnung.bund.de/api31/dashboard/110030000000.json reason: Unexpected end of JSON input
Ich bin aber der Meinung, dass 110030003003 die richtige Nummer für Berlin-Pankow ist.
In der Config schaut es so aus:
ags: ["110030003003", "110000000000"],
Irgend eine Idee, was es sein könnte?
No response
No response
No response
Start MM
pm2 logs --lines=50
0|MagicMirror | [24.09.2023 16:52.17.187] [WARN] API request for 110030003003 failed: invalid json response body at https://warnung.bund.de/api31/dashboard/110030000000.json reason: Unexpected end of JSON input
{
module: "MMM-NINA",
position: "top_right",
//header: "NINA",
config: {
updateIntervalInSeconds: 320,
maxAgeInHours: 36,
hideCancelledWarnings: true,
mergeAlertsByTitle: true,
showNoWarning: false,
showIcon: true,
showDate: true,
showCity: true,
theme: "side",
ags: ["110030003003", "110000000000"], //Berlin-Pankow
}
},
No response
Wenn keine Warnungen anliegen, sollte lediglich “Keine Warnungen” als Nachricht erscheinen in #666 statt grün und ohne Haken davor. Das würde besser zu MMM-DWDWarweather Modul passen ☺.
In der config würde ich noch das header:
property angeben, das man sich nach Wunsch umbenennen kann. Ausserdem hat man dann auch eine schöne Headline über dem Modul.
Hi,
ich heiße Michael und bin ganz neu hier. Habe das NINA Modul auf meinem MM. Nun soll ich ein Update machen. Wo bekomme ich das her oder wie mache ich das? Ich suche schon seit Tagen nach antworten. LG Michael
Is your feature request related to a problem? Please describe.
Wenn viele Nachrichten eintreffen, sind die Nachrichten nicht nach Wichtigkeit geordnet. Dies trifft zum Beispiel auf, wenn eine Wetterwarnung aufgehoben und durch eine neue ersetzt wird. Da ich die Warnungen unter ein paar anderen Modulen am rechten Rand anzeige, kann es dann passieren, dass eine wichtige nicht mehr auf den Bildschirm passt.
Hab's schon mit downgradeCancelSeverity
probiert, aber das hat keinen Effekt.
Describe the solution you'd like
Es wäre gut, wenn Warnungen nach Wichtigkeit sortiert wären und Entwarnungen ganz am Ende der Liste erscheinen.
Would be great to have a reference, for instance an API-Endpoint or a document like this:
https://www.riserid.eu/data/user_upload/downloads/info-pdf.s/Diverses/Liste-Amtlicher-Gemeindeschluessel-AGS-2015.pdf
exept for that: great work 👍
Is your feature request related to a problem? Please describe.
Ich habe das Modul auf dem MM in der rechten Spalten mit einer Breite von 300px stehen. Manchmal kommen Warnmeldungen rein die, teilweise 2/3 der Spiegelbreite einnehmen und alle Module auf der Seite komplett verschieben.
Describe the solution you'd like
Um dies zu vermeinden, sollten die Warntexte über die Breite von 300px als infinite loop von rechts nach links scrollen. Wenn keine Warnungen anliegen, dann bleibt der Standardtext stehen.
Evtl. kann die Breite des Moduls auch als property angegeben werden, falls es mehr als 300px breit ist, weil es z.B. in bottom_middle eingebettet ist.
magicmirroros
10.24.0
da gibt es weder package.log noch package.json - habe magicmirroros 0.2.0
MMM-NINA lässt sich nicht installieren.
pi@magicmirroros:~/magicmirror/mounts/modules/MMM-NINA $ npm install --only=production
npm WARN npm npm does not support Node.js v10.24.0
npm WARN npm You should probably upgrade to a newer version of node as we
npm WARN npm can't make any promises that npm will work with this version.
npm WARN npm Supported releases of Node.js are the latest release of 4, 6, 7, 8, 9.
npm WARN npm You can find the latest version at https://nodejs.org/
npm WARN read-shrinkwrap This version of npm is compatible with lockfileVersion@1, but package-lock.json was generated for lockfileVersion@2. I'll try to do my best with it!
added 4 packages from 4 contributors in 7.389s
Die Fehlermeldung ist auch verwirrend: Ich habe Node.js v10.24.0, und ich soll auf die neueste Version (4, 6, 8 oder 9) upgraden, aber 18 wäre in der Tat schon verfügbar.
MMM-NINA installiert sich und zeigt Warnmeldungen an.
Meldung "Keine Warnungen."
No response
Fehlermeldung von oben erscheint.
No response
{
module: "MMM-NINA",
position: "top_right",
header: "NINA Warnungen",
config: {
ags: ["05378024", "05315000", "09373156"], // Liste der Gemeinden, die abgefragt werden sollen
downgradeLhpSeverity: false,
downgradeCancelSeverity: true,
hideCancelledWarnings: false,
excludeProviders: [], // Mögliche Werte ["MOWAS", "DWD", "BIWAPP", "LHP"]
maxAgeInHours: 99999999 ,
maxWidth: "200px",
mergeAlertsById: true,
mergeAlertsByTitle: true,
showIcon: true,
showDate: true,
showCity: true,
showNoWarning: true,
theme: "top", // Erlaubte Werte: top, top-floating, side
updateIntervalInSeconds: 120,
}
},
// Die Gemeindeschlüssel sind teils so ausgewählt, dass aktuelle Warnungen vorliegen.
Raspberry Pi 3 (ich glaube 3b+ um genau zu sein)
Last night my mirror was really flooded with warnings due to severe weather in my area.
I wonder if it is possible to hide the warnings for which there is already a cancellation broadcasted.
Here are the warnings in detail:
[
{
"id": "mow.DE-HH-HH-SE033-20220130-33-002",
"payload": {
"version": 2,
"type": "ALERT",
"id": "mow.DE-HH-HH-SE033-20220130-33-002",
"hash": "12ce1a6528950a1b94ea9eaf5d1bbf700e7243eff1093a09e7dee93809fb2133",
"data": {
"headline": "Entwarnung: Schwere Sturmflut am 30.01.2022 um 01:30 Uhr mit 5,00 Metern über Normalhöhennull in Hamburg...",
"provider": "MOWAS",
"severity": "Cancel",
"msgType": "Cancel",
"transKeys": {
"event": "BBK-EVC-065"
},
"area": {
"type": "ZGEM",
"data": "2079,100001"
}
}
},
"i18nTitle": {
"de": "Entwarnung: Schwere Sturmflut am 30.01.2022 um 01:30 Uhr mit 5,00 Metern über Normalhöhennull in Hamburg erwartet"
},
"sent": "2022-01-30T05:56:56+01:00",
"expires": "2022-01-30T11:56:56+01:00",
"cityName": "Hamburg, Freie und Hansestadt",
"date": "30.01.2022 - 05:56"
},
{
"id": "mow.DE-HH-HH-SE033-20220130-33-004",
"payload": {
"version": 2,
"type": "ALERT",
"id": "mow.DE-HH-HH-SE033-20220130-33-004",
"hash": "15933b19ba6efe0d9948b95a9a3455d0d002967f2c5d3a9d7954273bf4a2d972",
"data": {
"headline": "Entwarnung: Schwere Sturmflut am Sonntag um 01:00 Uhr mit ca. 5,20 Metern über Normalhöhennull in Hamburg...",
"provider": "MOWAS",
"severity": "Cancel",
"msgType": "Cancel",
"transKeys": {
"event": "BBK-EVC-065"
},
"area": {
"type": "ZGEM",
"data": "2079,100001"
}
}
},
"i18nTitle": {
"de": "Entwarnung: Schwere Sturmflut am Sonntag um 01:00 Uhr mit ca. 5,20 Metern über Normalhöhennull in Hamburg erwartet"
},
"sent": "2022-01-30T05:59:59+01:00",
"expires": "2022-01-30T11:59:59+01:00",
"cityName": "Hamburg, Freie und Hansestadt",
"date": "30.01.2022 - 05:59"
},
{
"id": "dwd.2.49.0.1.276.0.DWD.PVW.1643526000000.ab282168-0498-430a-8b37-57e76e842cd5.MUL",
"payload": {
"version": 2,
"type": "ALERT",
"id": "dwd.2.49.0.1.276.0.DWD.PVW.1643526000000.ab282168-0498-430a-8b37-57e76e842cd5.MUL",
"hash": "1da6fd715ea0667c287364380d6536f5c9a34fba16c23d089d22ebb5e7a807b2",
"data": {
"headline": "AUFHEBUNG der UNWETTERWARNUNG vor ORKANARTIGEN BÖEN",
"provider": "DWD",
"severity": "Cancel",
"msgType": "Cancel",
"area": {
"type": "ZGEM",
"data": "2,675,677,687+7,700+24,726+4,733+1,736,738+1,758+1,822,836,997,2079"
}
}
},
"i18nTitle": {
"de": "AUFHEBUNG der UNWETTERWARNUNG vor ORKANARTIGEN BÖEN",
"en": "Cancellation of Official SEVERE WEATHER WARNING of VIOLENT STORM GUSTS",
"ar": "إلغاء تحذير رسمي من عواصف إعصارية",
"es": "Cancelación de AVISO oficial de MAL TIEMPO por RACHAS DE TIPO HURACANADO",
"fr": "Annulation de ALERTE officielle FORTES INTEMPÉRIES pour RAFALES DE FORCE TEMPÊTE VIOLENTE",
"pl": "Anulowanie Oficjalne OSTRZEŻENIE METEOROLOGICZNE (3. STOPNIA) przed WICHURAMI O SILE HURAGANU",
"ru": "Отмена Официальное штормовое предупреждение: Шквалы мощного штормового ветра",
"tr": "İptali KASIRGA BENZERİ ESİNTİLERE karşı resmi KÖTÜ HAVA KOŞULLARI UYARISI"
},
"sent": "2022-01-30T07:59:07+01:00",
"onset": "2022-01-29T14:00:00+01:00",
"expires": "2022-01-30T08:00:00+01:00",
"effective": "2022-01-30T08:00:00+01:00",
"cityName": "Hamburg, Freie und Hansestadt",
"date": "30.01.2022 - 07:59"
},
{
"id": "mow.DE-HH-HH-SE033-20220130-33-006",
"payload": {
"version": 2,
"type": "ALERT",
"id": "mow.DE-HH-HH-SE033-20220130-33-006",
"hash": "e1bbc272df5422e15a541d104223a6d296807a2acc7079253a0436da113daf00",
"data": {
"headline": "Entwarnung: Sturmflut am 30.01.2022 um 14:37 Uhr zwischen +4,15 und +4,65 Metern über Normalhöhennull...",
"provider": "MOWAS",
"severity": "Cancel",
"msgType": "Cancel",
"transKeys": {
"event": "BBK-EVC-065"
},
"area": {
"type": "ZGEM",
"data": "2079,100001"
}
}
},
"i18nTitle": {
"de": "Entwarnung: Sturmflut am 30.01.2022 um 14:37 Uhr zwischen +4,15 und +4,65 Metern über Normalhöhennull in Hamburg erwartet."
},
"sent": "2022-01-30T08:19:49+01:00",
"expires": "2022-01-30T14:19:49+01:00",
"cityName": "Hamburg, Freie und Hansestadt",
"date": "30.01.2022 - 08:19"
},
{
"id": "mow.DE-HH-HH-SE033-20220130-33-007",
"payload": {
"version": 2,
"type": "ALERT",
"id": "mow.DE-HH-HH-SE033-20220130-33-007",
"hash": "f0960abc5dbba45ce73de66ae3c1f632a610cfcaf63c0dcb9d612eaad08e6001",
"data": {
"headline": "Schwere Sturmflut am 30.01.2022 um 13:45 Uhr mit 4,70 Metern über Normalhöhennull in Hamburg erwartet.",
"provider": "MOWAS",
"severity": "Minor",
"msgType": "Alert",
"transKeys": {
"event": "BBK-EVC-065"
},
"area": {
"type": "ZGEM",
"data": "2079,100001"
}
}
},
"i18nTitle": {
"de": "Schwere Sturmflut am 30.01.2022 um 13:45 Uhr mit 4,70 Metern über Normalhöhennull in Hamburg erwartet."
},
"sent": "2022-01-30T08:20:49+01:00",
"cityName": "Hamburg, Freie und Hansestadt",
"date": "30.01.2022 - 08:20"
},
{
"id": "lhp.HOCHWASSERZENTRALEN.DE.NK",
"payload": {
"version": 2,
"type": "ALERT",
"id": "lhp.HOCHWASSERZENTRALEN.DE.NK",
"hash": "bf2206da2b9ddfd0d81800efa1a5c495cfd81e0578ca2890a98e3c2ce55a5974",
"data": {
"headline": "Hochwasserinformation Nordseeküste",
"provider": "LHP",
"severity": "Severe",
"msgType": "Alert",
"area": {
"type": "ZGEM",
"data": "1+2078"
}
}
},
"i18nTitle": {
"de": "Hochwasserinformation Nordseeküste"
},
"sent": "2022-01-30T09:10:00+01:00",
"onset": "2022-01-30T09:04:00+01:00",
"expires": "2022-01-31T10:04:00+01:00",
"effective": "2022-01-30T09:04:00+01:00",
"cityName": "Hamburg, Freie und Hansestadt",
"date": "30.01.2022 - 09:10"
},
{
"id": "mow.DE-HH-HH-SE033-20220130-33-009",
"payload": {
"version": 2,
"type": "ALERT",
"id": "mow.DE-HH-HH-SE033-20220130-33-009",
"hash": "0a099b443cdb17970844b307ee5d28e734d8f0ab81d09c39803e7dfba7c4e116",
"data": {
"headline": "Sturmflut am 30.01.2022 um 14:37 Uhr zwischen +4,65 und +5,15 Metern über Normalhöhennull in Hamburg...",
"provider": "MOWAS",
"severity": "Minor",
"msgType": "Alert",
"transKeys": {
"event": "BBK-EVC-065"
},
"area": {
"type": "ZGEM",
"data": "2079,100001"
}
}
},
"i18nTitle": {
"de": "Sturmflut am 30.01.2022 um 14:37 Uhr zwischen +4,65 und +5,15 Metern über Normalhöhennull in Hamburg erwartet"
},
"sent": "2022-01-30T09:17:09+01:00",
"cityName": "Hamburg, Freie und Hansestadt",
"date": "30.01.2022 - 09:17"
}
]
Raspbeerry Pi 3 b+
v16.15.1
2.19.0
1.7.0
Hallo Jalibu,
bei mir werden Warnings im pm2 logs angezeigt, von denen ich glaube das sie von MMM-NINA kommen.
Siehe hier:
0|MagicMir | [17.06.2022 14:13.55.529] [WARN] API request for 025180526526 failed: invalid json response body at https://warnung.bund.de/api31/dashboard/025180000000.json reason: Unexpected end of JSON input
Könntest Du Dir das bitte mal anschauen?
Ansonsten läuft das Modul, von meine 4 Orten werden aber nur 3 angezeigt, der 4. ist der in den Warnungen. und in der Liste der ags der erste.
Danke und Gruß
xIExodusIx
Ort: HH-Rahlstedt sollte angezeigt werden.
Ort: HH-Rahlstedt wird nicht angezeigt.
No response
Einfach mmal interessehalber "pm2 logs" aufgerufen und dort wurde mir die Meldung angezeigt.
Es kommte zu keinem eigentlichen Fehler. Was passiert habe ich oben beschrieben.
pm2 logs zeigt dies im Minutentakt.
0|MagicMir | [17.06.2022 14:22.13.508] [WARN] API request for 025180526526 failed: invalid json response body at https://warnung.bund.de/api31/dashboard/025180000000.json reason: Unexpected end of JSON input
/* MagicMirror² Config Sample * * By Michael Teeuw https://michaelteeuw.nl * MIT Licensed. * * For more information on how you can configure this file * see
https://docs.magicmirror.builders/configuration/introduction.html * and https://docs.magicmirror.builders/modules/configuration.html */
let config = {
address: "192.168.178.146", // Address to listen on, can be:
// - "localhost", "127.0.0.1", "::1" to listen on loopback interface
// - another specific IPv4/6 to listen on a specific interface
// - "0.0.0.0", "::" to listen on any interface
// Default, when address config is left out or empty, is "localhost"
port: 8181,
basePath: "/", // The URL path where MagicMirror² is hosted. If you are using a Reverse proxy
// you must set the sub path here. basePath must end with a /
ipWhitelist: [], // ["127.0.0.1", "::ffff:127.0.0.1", "::1"], // Set [] to allow all IP addresses
// or add a specific IPv4 of 192.168.1.5 :
// ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.1.5"],
// or IPv4 range of 192.168.3.0 --> 192.168.3.15 use CIDR format :
// ["127.0.0.1", "::ffff:127.0.0.1", "::1", "::ffff:192.168.3.0/28"],
useHttps: false, // Support HTTPS or not, default "false" will use HTTP
httpsPrivateKey: "", // HTTPS private key path, only require when useHttps is true
httpsCertificate: "", // HTTPS Certificate path, only require when useHttps is true
language: "de",
locale: "de-DE",
logLevel: ["INFO", "LOG", "WARN", "ERROR", "DEBUG"], // Add "DEBUG" for even more logging
timeFormat: 24,
units: "metric",
// serverOnly: true/false/"local" ,
// local for armv6l processors, default
// starts serveronly and then starts chrome browser
// false, default for all NON-armv6l devices
// true, force serveronly mode, because you want to.. no UI on this device
modules: [
/***************************** Spiegel Positionen ******************************/
// top_bar, top_left, top_center, top_right, upper_third, middle_center,
// lower_third, bottom_left, bottom_center, bottom_right, bottom_bar
/***************************** Spiegel ganz ************************************/
// {
// module: 'MMM-Snow',
// position: 'fullscreen_above',
// config: { // See 'Configuration options' for more information.
// flakeCount: 100, // Werte zwischen 1 und 1000 möglich. Nicht übertreiben geht zu lasten der CPU!
// theme: "water" // Weitere themes: love, water, winter
// }
// },
/***************************** Spieegel oben ***********************************/
{
module: "alert",
},
{
module: "mmpm",
},
{
module: "updatenotification",
position: "top_bar"
},
// {
// module: "clock",
// position: "top_left"
// },
{
module: "MMM-FlipClock",
position: "top_left",
config: {
width: "50%",
showWeek: true, // See 'Configuration options' for more information.
dateFormat: "dddd LL",
timezone: "Europe/Berlin"
}
},
{
module: "calendar",
header: "Mein Kalender",
position: "top_left",
config: {
calendars: [
{
symbol: "calendar-check",
url: "",
maximumEntries: "5"
}
]
}
},
{
module: "MMM-OpenmapWeather", // "openweathermap" //Original Eintrag
position: "top_right", // This can be any of the regions. Best results in left or right regions.
header: "Das Wetter heute für", // Location is the default value if header is empty or not defined.
config: { // See 'Configuration options' for more information.
// weatherProvider: "openweathermap", // Eintrag für original Modul.
// type: "current", // Eintrag für original Modul.
location: "Rahlstedt, DE",
locationID: "2850872", // ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
appid: "", //MMM-OpenmapWeather API key wird nur für diesses Modul genau so benötigt.
// apiKey: "", //openweathermap.org API key Eintrg für original Modul
colorIcon: true // Diesser Eintrag wird nur für dieses odul benötigt.
}
},
{
module: "weather",
position: "top_right",
header: "Wettervorschau für",
config: {
weatherProvider: "openweathermap",
type: "forecast",
location: "Rahlstedt, DE",
locationID: "2850872", // ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city
apiKey: ""
}
},
{
module: "MMM-NINA",
position: "top_center",
header: "NINA - Katastrophen Warnungen",
config: {
ags: ["025180526526", "020000000000", "040110372372", "040110000000"], // Liste der Gemeinden, die abgefragt werden sollen
downgradeLhpSeverity: false,
downgradeCancelSeverity: true,
hideCancelledWarnings: false,
maxAgeInHours: 99999999,
maxWidth: "400px",
excludeProviders: [], // Mögliche Werte ["MOWAS", "DWD", "BIWAPP", "LHP"] maxAgeInHours: 6, maxWidth: "200px",
mergeAlertsById: true,
mergeAlertsByTitle: true,
showIcon: true,
showDate: true,
showCity: true,
showNoWarning: true,
theme: "top", // Erlaubte Werte: top, top-floating, side
updateIntervalInSeconds: 120,
}
},
/***************************** Spiegel oberes drittel *****************************/
/***************************** Spiegel mitte **************************************/
/***************************** Spiegel unteres drittel ****************************/
{
module: "compliments",
position: "lower_third",
config: {
remoteFile: "https://raw.githubusercontent.com/michadenheijer/MagicMirrorCompliments/main/de.json"
}
},
// {
// module: "MMM-FRITZ-Box-Callmonitor",
// position: "lower_third", // This can be any of the regions. Best results in left or right regions.
// header: "Kürzliche Anrufe", // This is optional
// config: { // See 'Configuration options' for more information.
// vCard: "/home/pi/MagicMirror/modules/MMM-FRITZ-Box-Callmonitor/Telefonbuch.vcf",
// password: "",
// username: "",
// showContactsStatus: true,
// fritzIP: "192.168.178.1",
// debug: true
// }
// },
// {
// module: "MMM-Callmonitor-Current-Call",
// position: "lower_third", // This can be any of the regions. Best results in left or right regions.
// header: "Aktive Anrufe", // This is optional
// config: {
// }
// },
/***************************** Spiegel unten **************************************/
{
module: "MMM-HH-LocalTransport",
position: "bottom_left",
header: "HVV - Nächste Verbindungen",
config: {
id: "Master:8002558", // Trainstation ID hier für Rahlstedt BF
apiKey: "", //"G8RJXiq2B2UwLedQPbNb+0IDNNU=", // Add your apiKey
apiUser: "", // Add your apiUser
maximumEntries: "5" // Max departures displayed 10=default
}
},
{
module: "newsfeed",
position: "bottom_bar",
config: {
feeds: [
{
title: "Tagesschau Newsticker",
url: "http://www.tagesschau.de/xml/rss2"
},
{
title: "n-TV Newsticker",
url: "https://www.n-tv.de/rss"
}
],
showSourceTitle: true,
showPublishDate: true,
broadcastNewsFeeds: true,
broadcastNewsUpdates: true
}
},
// {
// disabled: false,
// module: "MMM-NewsFeedTicker",
// position: "bottom_bar",
// //classes: "day_scheduler",
// config: {
// feeds: [
// {
// title: "Tagesschau Newsticker",
// url: "http://www.tagesschau.de/xml/rss2",
// customLogo: "ts_printlogo.png"
// },
// {
// title: "USA Today",
// url: "http://rssfeeds.usatoday.com/UsatodaycomNation-TopStories",
// customLogo: "RSS_Syndication_Logo-USATN.png"
// },
// {
// title: "BBC World News",
// url: "http://feeds.bbci.co.uk/news/world/rss.xml#",
// customLogo: "bbc_news_120x60.gif"
// },
// ],
// }
// },
]
};
/*************** DO NOT EDIT THE LINE BELOW ***************/
if (typeof module !== "undefined") {module.exports = config;}
No response
Danke für die Hilfe neulich, das Hauptproblem lag vermutlich am MagicMirrorOS - eine "normale" Installation war perfekt, deine App ist toll.
Wie sieht es aus, besteht die Möglichkeit die ganzen Corona-Warnmeldungen auszublenden? Im Prinzip sowas:
if ($stringContains == *corona*) {
showWarning = false;
}
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.