NEWS
Test Adapter Weather-Warnings
-
@thomas-braun sagte in Test Adapter Weather-Warnings:
@ticaki sagte in Test Adapter Weather-Warnings:
Was passiert wenn du da drauf drückst: weather-warnings.0.command.alexa2
Nix.
ok. Was passiert wenn du alexa2.0.Echo-Devices in dem Echogerät das den common.name Überall hat ind diesen State:
alexa2.0.Echo-Devices.IDIDIDID.Commands.speak
irgendwas rein schreibst.Ich denke mal auch nix, dann wähle einen andere Gruppe oder einzelne Geräte oder überprüfe in der Alexa App deine Gruppe überall.
-
Komm ich nicht mit klar.
Bei Ruhezeiten werden irgendwelche Werte reingelesen, die ich nie angegeben habe.2023-11-03 21:47:31.386 - info: weather-warnings.0 (4678) starting. Version 0.4.8 in /opt/iobroker/node_modules/iobroker.weather-warnings, node: v21.1.0, js-controller: 5.0.16 2023-11-03 21:47:36.472 - info: weather-warnings.0 (4678) Refresh Interval: 15 minutes 2023-11-03 21:47:36.739 - info: weather-warnings.0 (4678) DWD activated. Retrieve data. 2023-11-03 21:47:36.749 - info: weather-warnings.0 (4678) UWZ activated. Retrieve data. 2023-11-03 21:47:36.472 - info: weather-warnings.0 (4678) Refresh Interval: 15 minutes 2023-11-03 21:47:36.739 - info: weather-warnings.0 (4678) DWD activated. Retrieve data. 2023-11-03 21:47:36.749 - info: weather-warnings.0 (4678) UWZ activated. Retrieve data. 2023-11-03 21:47:42.645 - info: weather-warnings.0 (4678) [provider] Silent time added: Profil: Test start: NaN end: NaN days: null 2023-11-03 21:47:42.646 - info: weather-warnings.0 (4678) [provider] Silent time added: Profil: Test start: NaN end: NaN days: null 2023-11-03 21:47:42.645 - info: weather-warnings.0 (4678) [provider] Silent time added: Profil: Test start: NaN end: NaN days: null 2023-11-03 21:47:42.646 - info: weather-warnings.0 (4678) [provider] Silent time added: Profil: Test start: NaN end: NaN days: null 2023-11-03 21:48:01.339 - error: weather-warnings.0 (4678) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2023-11-03 21:48:01.340 - error: weather-warnings.0 (4678) unhandled promise rejection: Cannot read properties of null (reading 'indexOf') 2023-11-03 21:48:01.580 - error: weather-warnings.0 (4678) TypeError: Cannot read properties of null (reading 'indexOf') at ProviderController.setSpeakAllowed (/opt/iobroker/node_modules/iobroker.weather-warnings/src/lib/provider.ts:937:31) at updateAlertEndless (/opt/iobroker/node_modules/iobroker.weather-warnings/src/lib/provider.ts:795:20) at Timeout._onTimeout (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:2581:17) at listOnTimeout (node:internal/timers:573:17) at processTimers (node:internal/timers:514:7) 2023-11-03 21:48:01.582 - error: weather-warnings.0 (4678) Cannot read properties of null (reading 'indexOf') 2023-11-03 21:48:01.599 - info: weather-warnings.0 (4678) terminating 2023-11-03 21:48:01.600 - warn: weather-warnings.0 (4678) Terminated (UNCAUGHT_EXCEPTION): Without reason 2023-11-03 21:48:02.103 - info: weather-warnings.0 (4678) terminating 2023-11-03 21:48:02.249 - error: host.chet instance system.adapter.weather-warnings.0 terminated with code 6 (UNCAUGHT_EXCEPTION) 2023-11-03 21:48:01.339 - error: weather-warnings.0 (4678) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2023-11-03 21:48:01.340 - error: weather-warnings.0 (4678) unhandled promise rejection: Cannot read properties of null (reading 'indexOf') 2023-11-03 21:48:01.580 - error: weather-warnings.0 (4678) TypeError: Cannot read properties of null (reading 'indexOf') at ProviderController.setSpeakAllowed (/opt/iobroker/node_modules/iobroker.weather-warnings/src/lib/provider.ts:937:31) at updateAlertEndless (/opt/iobroker/node_modules/iobroker.weather-warnings/src/lib/provider.ts:795:20) at Timeout._onTimeout (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:2581:17) at listOnTimeout (node:internal/timers:573:17) at processTimers (node:internal/timers:514:7) 2023-11-03 21:48:01.582 - error: weather-warnings.0 (4678) Cannot read properties of null (reading 'indexOf') 2023-11-03 21:48:01.599 - info: weather-warnings.0 (4678) terminating 2023-11-03 21:48:01.600 - warn: weather-warnings.0 (4678) Terminated (UNCAUGHT_EXCEPTION): Without reason 2023-11-03 21:48:02.103 - info: weather-warnings.0 (4678) terminating 2023-11-03 21:48:02.249 - error: host.chet instance system.adapter.weather-warnings.0 terminated with code 6 (UNCAUGHT_EXCEPTION) 2023-11-03 21:48:34.256 - info: weather-warnings.0 (4757) starting. Version 0.4.8 in /opt/iobroker/node_modules/iobroker.weather-warnings, node: v21.1.0, js-controller: 5.0.16 2023-11-03 21:48:39.124 - info: weather-warnings.0 (4757) Refresh Interval: 15 minutes 2023-11-03 21:48:39.333 - info: weather-warnings.0 (4757) DWD activated. Retrieve data. 2023-11-03 21:48:39.343 - info: weather-warnings.0 (4757) UWZ activated. Retrieve data. 2023-11-03 21:48:39.124 - info: weather-warnings.0 (4757) Refresh Interval: 15 minutes 2023-11-03 21:48:39.333 - info: weather-warnings.0 (4757) DWD activated. Retrieve data. 2023-11-03 21:48:39.343 - info: weather-warnings.0 (4757) UWZ activated. Retrieve data. 2023-11-03 21:48:44.524 - info: weather-warnings.0 (4757) [provider] Silent time added: Profil: Test start: NaN end: NaN days: null 2023-11-03 21:48:44.529 - info: weather-warnings.0 (4757) [provider] Silent time added: Profil: Test start: NaN end: NaN days: null 2023-11-03 21:48:44.524 - info: weather-warnings.0 (4757) [provider] Silent time added: Profil: Test start: NaN end: NaN days: null 2023-11-03 21:48:44.529 - info: weather-warnings.0 (4757) [provider] Silent time added: Profil: Test start: NaN end: NaN days: null
-
@thomas-braun
Jetzt stehe ich gerade auf dem Schlauch. Wieso hast du jetzt einen Fehler da? Das passt nicht wirklich zu unserem aktuellen Gesprächsverlauf. -
Ich klick hier wild durch das GUI. Und das kommt halt im LogFile ums Eck.
LOL. Jetzt hab ich es kaputt gemacht und es will nicht mehr:
2023-11-03 21:50:02.307 - warn: host.chet Do not restart adapter system.adapter.weather-warnings.0 because restart loop detected
-
@thomas-braun
Ich arbeite an einer Lösung dafür, aber echt kein Plan wieso weshalb warum... Jetzt werden die Daten von der Config noch genauer geprüft. -
Jetzt klemmt alles.
Ruhezeiten kann ich nicht aktualisieren:Optionen können nicht abgerufen werden, da die Instanz offline ist
Sie startet aber auch nicht mehr.
-
@thomas-braun
Ist deine Version von latest oder github?Wenn github für dich ok ist, installiere mal die aktuelle Version von da. Und keine Panik, dass da ist alles einfach zu lösen.
Und falls nicht, lade deine Adapterkonfigruation runter, poste sie hier, ich repariere se in ner Minute und du läds sie wieder hoch.
-
@ticaki sagte in Test Adapter Weather-Warnings:
Und keine Panik, dass da ist alles einfach zu lösen.
Panik verursachen bei mir andere Dinge als nicht startende ioB-Adapter.
{ "dwdSelectId": "105315000", "zamgSelectID": "", "uwzSelectID": "DE50968", "useTestWarnings": false, "dwdEnabled": true, "uwzEnabled": true, "zamgEnabled": false, "refreshTime": 15, "messageTemplate": [], "templateTable": [ { "templateKey": "NewMessage", "template": "Warnung: ${Warntypename} ab ${starttime}, Stufe: ${warnlevelcolorname}" }, { "templateKey": "RemoveMessage", "template": "Entwarnung: ${Warntypename}, Stufe: ${warnlevelcolorname}" }, { "templateKey": "RemoveAllMessage", "template": "Entwarnung!" }, { "templateKey": "NewJson", "template": "{ „action“: „${status}“, „start“: „${starttime}“, „ende“: „${endtime}“, \"type\": „${warntypename}“ \\}" }, { "templateKey": "RemoveJson", "template": "{ „headline“: „${Headline}“, „status“: „${status}“\\}" }, { "templateKey": "RemoveAllJson", "template": "{ \"status\": \"Entwarnung!\"\\}" }, { "templateKey": "EmailHeader", "template": "template.EmailHeader" }, { "templateKey": "EmailMessage", "template": "template.EmailMessage" }, { "templateKey": "EmailFooter", "template": "template.EmailFooter" }, { "templateKey": "NewMessageWithArray", "template": "Luke, wir haben eine neue Warnung ${Warntypename} ab ${starttime} erhalten, sieht aus wie ein ${_CustomArray}" }, { "templateKey": "_CustomArray", "template": "${[Keks,Sturmtrooper,Tie-Jäger,Imperialer Kreuzer,Todesstern]warnlevelnumber}" } ], "dwdLanguage": "ger", "uwzLanguage": "DE", "zamgLanguage": "de", "dwdTypeFilter": [], "zamgTypeFilter": [], "uwzTypeFilter": [], "dwdLevelFilter": 0, "uwzLevelFilter": 0, "zamgLevelFilter": 0, "telegram_DwdEnabled": true, "telegram_UwzEnabled": true, "telegram_ZamgEnabled": true, "telegram_TypeFilter": [], "telegram_LevelFilter": 0, "telegram_Enabled": false, "telegram_Adapter": "none", "telegram_MessageNew": "addedPush", "telegram_MessageRemove": "removePush", "telegram_MessageAllRemove": "removeAllPush", "whatsapp_DwdEnabled": true, "whatsapp_UwzEnabled": true, "whatsapp_ZamgEnabled": true, "whatsapp_TypeFilter": [], "whatsapp_LevelFilter": 0, "whatsapp_Enabled": true, "whatsapp_Adapter": "whatsapp-cmb.0", "whatsapp_MessageNew": "addedPush", "whatsapp_MessageRemove": "removePush", "whatsapp_MessageAllRemove": "removeAllPush", "pushover_DwdEnabled": true, "pushover_UwzEnabled": true, "pushover_ZamgEnabled": true, "pushover_TypeFilter": [], "pushover_LevelFilter": 0, "pushover_Enabled": false, "pushover_Adapter": "none", "pushover_MessageNew": "addedPush", "pushover_MessageRemove": "removePush", "pushover_MessageAllRemove": "removeAllPush", "json_DwdEnabled": true, "json_UwzEnabled": true, "json_ZamgEnabled": true, "json_TypeFilter": [], "json_LevelFilter": 0, "json_Enabled": false, "json_MessageNew": "addedPush", "json_MessageAllRemove": "removeAllPush", "json_parse": false, "history_DwdEnabled": true, "history_UwzEnabled": true, "history_ZamgEnabled": true, "history_TypeFilter": [], "history_LevelFilter": 0, "history_Enabled": false, "history_MessageNew": "addedPush", "history_MessageRemove": "removePush", "allowedDirs": [ { "providerService": "DWD", "dpWarning": true, "dpMessage": true, "dpFormated": true, "dpAlerts": true }, { "providerService": "ZAMG", "dpWarning": true, "dpMessage": true, "dpFormated": true, "dpAlerts": true }, { "providerService": "UWZ", "dpWarning": true, "dpMessage": true, "dpFormated": true, "dpAlerts": true } ], "useJsonHistory": false, "dwdwarncellTable": [ { "dwdSelectId": "805315000", "dwdCityname": "Köln-Bayenthal" } ], "uwzwarncellTable": [ { "uwzSelectId": "DE50968", "uwzCityname": "Köln-Bayenthal" } ], "zamgwarncellTable": [], "history_allinOne": false, "email_Adapter": "none", "email_line_break": "\n", "email_DwdEnabled": true, "email_UwzEnabled": true, "email_ZamgEnabled": true, "email_TypeFilter": [], "email_LevelFilter": 0, "email_Enabled": false, "email_MessageNew": "addedPush", "email_MessageRemove": "removePush", "email_allinOne": false, "notPushAtStart": true, "email_Header": "none", "email_Footer": "none", "json_MessageAll": "tableNew", "alexa2_Adapter": "alexa2.0", "alexa2_DwdEnabled": true, "alexa2_UwzEnabled": true, "alexa2_ZamgEnabled": true, "alexa2_device_ids": [ "f11bc24f45914615a92ba00dcb4ba9d5" ], "alexa2_TypeFilter": [], "alexa2_LevelFilter": 0, "alexa2_Enabled": true, "alexa2_MessageNew": "NewMessage", "alexa2_MessageRemove": "RemoveMessage", "alexa2_MessageAllRemove": "none", "alexa2_volumen": 50, "dwdHourFilter": 0, "uwzHourFilter": 0, "zamgHourFilter": 0, "telegram_ManualTypeFilter": [], "telegram_ManualLevelFilter": 0, "telegram_manualAll": "NewMessage", "whatsapp_ManualTypeFilter": [], "whatsapp_ManualLevelFilter": 0, "whatsapp_manualAll": "NewMessage", "pushover_ManualTypeFilter": [], "pushover_ManualLevelFilter": 0, "pushover_manualAll": "NewMessage", "email_ManualTypeFilter": [], "email_ManualLevelFilter": 0, "email_manualAll": "NewMessage", "alexa2_ManualTypeFilter": [], "alexa2_ManualLevelFilter": 0, "alexa2_manualAll": "NewMessage", "alexa2_sounds": [ { "warntypenumber": 1, "warntype": "Unbekannt", "sound": "" }, { "warntypenumber": 2, "warntype": "Sturm", "sound": "" }, { "warntypenumber": 3, "warntype": "Schneefall", "sound": "" }, { "warntypenumber": 4, "warntype": "Regen", "sound": "" }, { "warntypenumber": 5, "warntype": "Kälte", "sound": "" }, { "warntypenumber": 6, "warntype": "Waldbrand", "sound": "" }, { "warntypenumber": 7, "warntype": "Gewitter", "sound": "" }, { "warntypenumber": 8, "warntype": "Glatteis/rutschig", "sound": "" }, { "warntypenumber": 9, "warntype": "Hitze", "sound": "" }, { "warntypenumber": 10, "warntype": "Hagel", "sound": "" }, { "warntypenumber": 11, "warntype": "Nebel", "sound": "" }, { "warntypenumber": 12, "warntype": "Tauwetter", "sound": "" }, { "warntypenumber": 0, "warntype": "Entwarnung!", "sound": "" } ], "templateHelp": "Tokens:\n${altitude}: Warnung gilt ab einer Höhe von (in Metern).\n${cdfuture}: Countdown, Warnung steht bevor.\n${cdhour}: Restzeit-Stunden-Teil. Bis zu 30 * 24 Stunden\n${cdminute}: Restzeit-Minuten-Teil.\n${ceiling}: Warnung gilt ab einer Höhe von (in Metern).\n${countdown}: Zeit bis/vom Start\n${description}: Beschreibung der Warnung.\n${enddate}: Enddatum der Warnung\n${endday}: Tag des Warnungsendes\n${enddayofweek}: End Wochentag lang\n${enddayofweekshort}: End Wochentag kurz\n${enddaytime}: Ende: Tageszeit.\n${endmonth}: Monat des Warnungsendes\n${endtime}: Endzeit der Warnung\n${endtimems}: Endzeit als ms\n${headline}: Überschrift der Warnung\n${htmlicon}: Base64-codierte Symbole mit HTML-Tags.\n${iconurl}: URL zu Wettersymbolen.\n${impact}: Auswirkungen der Warnung.\n${instruction}: Handlungsempfehlungen der Warnung.\n${location}: Standort\n${locationcustom}: Benutzerstandort aus der Konfiguration.\n${provider}: Datenanbieter\n${startadverb}: Anfang: Temporaladverb.\n${startdate}: Beginndatum der Warnung\n${startday}: Tag des Warnstarts.\n${startdayofweek}: Start Wochentag lang\n${startdayofweekshort}: Start Wochentag kurz\n${startdaytime}: Beginn: Tageszeit.\n${startmonth}: Monat des Warnungsbeginns\n${starttime}: Startzeit HH:MM der Warnung\n${starttimems}: Startzeit als ms.\n${status}: Warnzustand.\n${warningcount}: Anzahl der Warnungen\n${warnlevelcolorhex}: Warnstufe als Farbe (hex)\n${warnlevelcolorname}: Warnstufe als Farbname\n${warnlevelname}: Warnstufe als Levelname\n${warnlevelnumber}: Warnstufe als Zahl\n${warntypegeneric}: Generischer Warnungstyp als Nummer.\n${warntypegenericname}: Der generischer Typ der Warnung als Text.\n${warntypename}: Die Art der Warnung als Text.\n${weatheremoji}: Emoji für den Warntyp dieser Nachricht.", "icon_color": "blue", "iobrokerUrl": "", "imExpert": true, "alexa2_Audio": "", "alexa2_sounds_enabled": false, "sayit_Enabled": false, "sayit_MessageNew": "NewMessage", "sayit_MessageRemove": "RemoveMessage", "sayit_MessageAllRemove": "RemoveAllMessage", "sayit_volumen": 15, "sayit_manualAll": "NewMessage", "icons_description": "none, unknown, storm, snowfall, rain, cold, forest_fire, thunderstorm, black_ice_slippery, heat, hail, fog, thaw", "pushover_Title": "none", "email_Title": "none", "silentTime": [ { "speakProfile": "Test", "silentTime": [] } ], "icons_prefix": "", "icons_suffix": ".png" }
-
@thomas-braun sagte in Test Adapter Weather-Warnings:
Müsste noch wissen ob dein Adapter repo lastest oder github ist
-
iobroker.weather-warnings@0.4.8 (git+ssh://git@github.com/ticaki/ioBroker.weather-warnings.git#ceeee0eeea798ae2b86796143e547397f1cc6963)
-
@thomas-braun sagte in Test Adapter Weather-Warnings:
iobroker.weather-warnings@0.4.8 (git+ssh://git@github.com/ticaki/ioBroker.weather-warnings.git#ceeee0eeea798ae2b86796143e547397f1cc6963)
Folgende Frage noch:
- Der ursprüngliche Fehler ist mit der fast aktuellen Version von Github aufgetreten?
- Du hast den Adapter manuell nach dem letzten Update von Github restartet?
{ "dwdSelectId": "105315000", "zamgSelectID": "", "uwzSelectID": "DE50968", "useTestWarnings": false, "dwdEnabled": true, "uwzEnabled": true, "zamgEnabled": false, "refreshTime": 15, "messageTemplate": [], "templateTable": [ { "templateKey": "NewMessage", "template": "Warnung: ${Warntypename} ab ${starttime}, Stufe: ${warnlevelcolorname}" }, { "templateKey": "RemoveMessage", "template": "Entwarnung: ${Warntypename}, Stufe: ${warnlevelcolorname}" }, { "templateKey": "RemoveAllMessage", "template": "Entwarnung!" }, { "templateKey": "NewJson", "template": "{ „action“: „${status}“, „start“: „${starttime}“, „ende“: „${endtime}“, \"type\": „${warntypename}“ \\}" }, { "templateKey": "RemoveJson", "template": "{ „headline“: „${Headline}“, „status“: „${status}“\\}" }, { "templateKey": "RemoveAllJson", "template": "{ \"status\": \"Entwarnung!\"\\}" }, { "templateKey": "EmailHeader", "template": "template.EmailHeader" }, { "templateKey": "EmailMessage", "template": "template.EmailMessage" }, { "templateKey": "EmailFooter", "template": "template.EmailFooter" }, { "templateKey": "NewMessageWithArray", "template": "Luke, wir haben eine neue Warnung ${Warntypename} ab ${starttime} erhalten, sieht aus wie ein ${_CustomArray}" }, { "templateKey": "_CustomArray", "template": "${[Keks,Sturmtrooper,Tie-Jäger,Imperialer Kreuzer,Todesstern]warnlevelnumber}" } ], "dwdLanguage": "ger", "uwzLanguage": "DE", "zamgLanguage": "de", "dwdTypeFilter": [], "zamgTypeFilter": [], "uwzTypeFilter": [], "dwdLevelFilter": 0, "uwzLevelFilter": 0, "zamgLevelFilter": 0, "telegram_DwdEnabled": true, "telegram_UwzEnabled": true, "telegram_ZamgEnabled": true, "telegram_TypeFilter": [], "telegram_LevelFilter": 0, "telegram_Enabled": false, "telegram_Adapter": "none", "telegram_MessageNew": "addedPush", "telegram_MessageRemove": "removePush", "telegram_MessageAllRemove": "removeAllPush", "whatsapp_DwdEnabled": true, "whatsapp_UwzEnabled": true, "whatsapp_ZamgEnabled": true, "whatsapp_TypeFilter": [], "whatsapp_LevelFilter": 0, "whatsapp_Enabled": true, "whatsapp_Adapter": "whatsapp-cmb.0", "whatsapp_MessageNew": "addedPush", "whatsapp_MessageRemove": "removePush", "whatsapp_MessageAllRemove": "removeAllPush", "pushover_DwdEnabled": true, "pushover_UwzEnabled": true, "pushover_ZamgEnabled": true, "pushover_TypeFilter": [], "pushover_LevelFilter": 0, "pushover_Enabled": false, "pushover_Adapter": "none", "pushover_MessageNew": "addedPush", "pushover_MessageRemove": "removePush", "pushover_MessageAllRemove": "removeAllPush", "json_DwdEnabled": true, "json_UwzEnabled": true, "json_ZamgEnabled": true, "json_TypeFilter": [], "json_LevelFilter": 0, "json_Enabled": false, "json_MessageNew": "addedPush", "json_MessageAllRemove": "removeAllPush", "json_parse": false, "history_DwdEnabled": true, "history_UwzEnabled": true, "history_ZamgEnabled": true, "history_TypeFilter": [], "history_LevelFilter": 0, "history_Enabled": false, "history_MessageNew": "addedPush", "history_MessageRemove": "removePush", "allowedDirs": [ { "providerService": "DWD", "dpWarning": true, "dpMessage": true, "dpFormated": true, "dpAlerts": true }, { "providerService": "ZAMG", "dpWarning": true, "dpMessage": true, "dpFormated": true, "dpAlerts": true }, { "providerService": "UWZ", "dpWarning": true, "dpMessage": true, "dpFormated": true, "dpAlerts": true } ], "useJsonHistory": false, "dwdwarncellTable": [ { "dwdSelectId": "805315000", "dwdCityname": "Köln-Bayenthal" } ], "uwzwarncellTable": [ { "uwzSelectId": "DE50968", "uwzCityname": "Köln-Bayenthal" } ], "zamgwarncellTable": [], "history_allinOne": false, "email_Adapter": "none", "email_line_break": "\n", "email_DwdEnabled": true, "email_UwzEnabled": true, "email_ZamgEnabled": true, "email_TypeFilter": [], "email_LevelFilter": 0, "email_Enabled": false, "email_MessageNew": "addedPush", "email_MessageRemove": "removePush", "email_allinOne": false, "notPushAtStart": true, "email_Header": "none", "email_Footer": "none", "json_MessageAll": "tableNew", "alexa2_Adapter": "alexa2.0", "alexa2_DwdEnabled": true, "alexa2_UwzEnabled": true, "alexa2_ZamgEnabled": true, "alexa2_device_ids": [ "f11bc24f45914615a92ba00dcb4ba9d5" ], "alexa2_TypeFilter": [], "alexa2_LevelFilter": 0, "alexa2_Enabled": true, "alexa2_MessageNew": "NewMessage", "alexa2_MessageRemove": "RemoveMessage", "alexa2_MessageAllRemove": "none", "alexa2_volumen": 50, "dwdHourFilter": 0, "uwzHourFilter": 0, "zamgHourFilter": 0, "telegram_ManualTypeFilter": [], "telegram_ManualLevelFilter": 0, "telegram_manualAll": "NewMessage", "whatsapp_ManualTypeFilter": [], "whatsapp_ManualLevelFilter": 0, "whatsapp_manualAll": "NewMessage", "pushover_ManualTypeFilter": [], "pushover_ManualLevelFilter": 0, "pushover_manualAll": "NewMessage", "email_ManualTypeFilter": [], "email_ManualLevelFilter": 0, "email_manualAll": "NewMessage", "alexa2_ManualTypeFilter": [], "alexa2_ManualLevelFilter": 0, "alexa2_manualAll": "NewMessage", "alexa2_sounds": [ { "warntypenumber": 1, "warntype": "Unbekannt", "sound": "" }, { "warntypenumber": 2, "warntype": "Sturm", "sound": "" }, { "warntypenumber": 3, "warntype": "Schneefall", "sound": "" }, { "warntypenumber": 4, "warntype": "Regen", "sound": "" }, { "warntypenumber": 5, "warntype": "Kälte", "sound": "" }, { "warntypenumber": 6, "warntype": "Waldbrand", "sound": "" }, { "warntypenumber": 7, "warntype": "Gewitter", "sound": "" }, { "warntypenumber": 8, "warntype": "Glatteis/rutschig", "sound": "" }, { "warntypenumber": 9, "warntype": "Hitze", "sound": "" }, { "warntypenumber": 10, "warntype": "Hagel", "sound": "" }, { "warntypenumber": 11, "warntype": "Nebel", "sound": "" }, { "warntypenumber": 12, "warntype": "Tauwetter", "sound": "" }, { "warntypenumber": 0, "warntype": "Entwarnung!", "sound": "" } ], "templateHelp": "Tokens:\n${altitude}: Warnung gilt ab einer Höhe von (in Metern).\n${cdfuture}: Countdown, Warnung steht bevor.\n${cdhour}: Restzeit-Stunden-Teil. Bis zu 30 * 24 Stunden\n${cdminute}: Restzeit-Minuten-Teil.\n${ceiling}: Warnung gilt ab einer Höhe von (in Metern).\n${countdown}: Zeit bis/vom Start\n${description}: Beschreibung der Warnung.\n${enddate}: Enddatum der Warnung\n${endday}: Tag des Warnungsendes\n${enddayofweek}: End Wochentag lang\n${enddayofweekshort}: End Wochentag kurz\n${enddaytime}: Ende: Tageszeit.\n${endmonth}: Monat des Warnungsendes\n${endtime}: Endzeit der Warnung\n${endtimems}: Endzeit als ms\n${headline}: Überschrift der Warnung\n${htmlicon}: Base64-codierte Symbole mit HTML-Tags.\n${iconurl}: URL zu Wettersymbolen.\n${impact}: Auswirkungen der Warnung.\n${instruction}: Handlungsempfehlungen der Warnung.\n${location}: Standort\n${locationcustom}: Benutzerstandort aus der Konfiguration.\n${provider}: Datenanbieter\n${startadverb}: Anfang: Temporaladverb.\n${startdate}: Beginndatum der Warnung\n${startday}: Tag des Warnstarts.\n${startdayofweek}: Start Wochentag lang\n${startdayofweekshort}: Start Wochentag kurz\n${startdaytime}: Beginn: Tageszeit.\n${startmonth}: Monat des Warnungsbeginns\n${starttime}: Startzeit HH:MM der Warnung\n${starttimems}: Startzeit als ms.\n${status}: Warnzustand.\n${warningcount}: Anzahl der Warnungen\n${warnlevelcolorhex}: Warnstufe als Farbe (hex)\n${warnlevelcolorname}: Warnstufe als Farbname\n${warnlevelname}: Warnstufe als Levelname\n${warnlevelnumber}: Warnstufe als Zahl\n${warntypegeneric}: Generischer Warnungstyp als Nummer.\n${warntypegenericname}: Der generischer Typ der Warnung als Text.\n${warntypename}: Die Art der Warnung als Text.\n${weatheremoji}: Emoji für den Warntyp dieser Nachricht.", "icon_color": "blue", "iobrokerUrl": "", "imExpert": true, "alexa2_Audio": "", "alexa2_sounds_enabled": false, "sayit_Enabled": false, "sayit_MessageNew": "NewMessage", "sayit_MessageRemove": "RemoveMessage", "sayit_MessageAllRemove": "RemoveAllMessage", "sayit_volumen": 15, "sayit_manualAll": "NewMessage", "icons_description": "none, unknown, storm, snowfall, rain, cold, forest_fire, thunderstorm, black_ice_slippery, heat, hail, fog, thaw", "pushover_Title": "none", "email_Title": "none", "silentTime": [], "icons_prefix": "", "icons_suffix": ".png" }
Ich verstehe nicht wie der 4 Zeiten durchlaufen kann. Da war NIX.
-
@ticaki sagte in Test Adapter Weather-Warnings:
Der ursprüngliche Fehler ist mit der fast aktuellen Version von Github aufgetreten?
Nein, das war mit der Beta-Version
Du hast den Adapter manuell nach dem letzten Update von Github restartet?
Ja. Aber der fällt immer in den RebootLoop.
-
@thomas-braun sagte in Test Adapter Weather-Warnings:
@ticaki sagte in Test Adapter Weather-Warnings:
Der ursprüngliche Fehler ist mit der fast aktuellen Version von Github aufgetreten?
Nein, das war mit der Beta-Version
Du hast den Adapter manuell nach dem letzten Update von Github restartet?
Ja. Aber der fällt immer in den RebootLoop.
Ok dann muß ich am Sonntag die Überprüfungen durch gehen. Bei dem Reboot loop hat der Adapter nichts aussergewöhnliches ins Log geschrieben?
-
Knallt mir auch mit der neuen json auf die Füße:
2023-11-03 22:29:29.715 - info: weather-warnings.0 (7695) starting. Version 0.4.8 (non-npm: ticaki/ioBroker.weather-warnings) in /opt/iobroker/node_modules/iobroker.weather-warnings, node: v21.1.0, js-controller: 5.0.16 2023-11-03 22:29:34.594 - info: weather-warnings.0 (7695) Refresh Interval: 15 minutes 2023-11-03 22:29:34.829 - info: weather-warnings.0 (7695) DWD activated. Retrieve data. 2023-11-03 22:29:35.279 - error: weather-warnings.0 (7695) No valid warncell found for ["DE50968"] 2023-11-03 22:29:35.280 - info: weather-warnings.0 (7695) UWZ activated. Retrieve data. 2023-11-03 22:29:35.292 - error: weather-warnings.0 (7695) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2023-11-03 22:29:35.293 - error: weather-warnings.0 (7695) unhandled promise rejection: Cannot read properties of undefined (reading 'join') 2023-11-03 22:29:35.373 - error: weather-warnings.0 (7695) TypeError: Cannot read properties of undefined (reading 'join') at new BaseProvider (/opt/iobroker/node_modules/iobroker.weather-warnings/src/lib/provider.ts:49:104) at new UWZProvider (/opt/iobroker/node_modules/iobroker.weather-warnings/src/lib/provider.ts:453:9) at ProviderController.createProviderIfNotExist (/opt/iobroker/node_modules/iobroker.weather-warnings/src/lib/provider.ts:763:25) at /opt/iobroker/node_modules/iobroker.weather-warnings/src/main.ts:505:49 at processTicksAndRejections (node:internal/process/task_queues:95:5) 2023-11-03 22:29:35.375 - error: weather-warnings.0 (7695) Cannot read properties of undefined (reading 'join') 2023-11-03 22:29:35.389 - info: weather-warnings.0 (7695) terminating 2023-11-03 22:29:35.391 - warn: weather-warnings.0 (7695) Terminated (UNCAUGHT_EXCEPTION): Without reason 2023-11-03 22:29:35.894 - info: weather-warnings.0 (7695) terminating 2023-11-03 22:29:35.913 - error: weather-warnings.0 (7695) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2023-11-03 22:29:35.916 - error: weather-warnings.0 (7695) unhandled promise rejection: DB closed 2023-11-03 22:29:35.919 - error: weather-warnings.0 (7695) Error: DB closed at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25) at Socket.<anonymous> (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20) at Object.onceWrapper (node:events:630:26) at Socket.emit (node:events:515:28) at TCP.<anonymous> (node:net:337:12) 2023-11-03 22:29:35.920 - error: weather-warnings.0 (7695) DB closed 2023-11-03 22:29:36.046 - error: host.chet instance system.adapter.weather-warnings.0 terminated with code 6 (UNCAUGHT_EXCEPTION) 2023-11-03 22:30:08.097 - info: weather-warnings.0 (7720) starting. Version 0.4.8 (non-npm: ticaki/ioBroker.weather-warnings) in /opt/iobroker/node_modules/iobroker.weather-warnings, node: v21.1.0, js-controller: 5.0.16 2023-11-03 22:30:13.006 - info: weather-warnings.0 (7720) Refresh Interval: 15 minutes 2023-11-03 22:30:13.257 - info: weather-warnings.0 (7720) DWD activated. Retrieve data. 2023-11-03 22:30:13.759 - error: weather-warnings.0 (7720) No valid warncell found for ["DE50968"] 2023-11-03 22:30:13.761 - info: weather-warnings.0 (7720) UWZ activated. Retrieve data. 2023-11-03 22:30:13.764 - error: weather-warnings.0 (7720) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2023-11-03 22:30:13.764 - error: weather-warnings.0 (7720) unhandled promise rejection: Cannot read properties of undefined (reading 'join') 2023-11-03 22:30:13.866 - error: weather-warnings.0 (7720) TypeError: Cannot read properties of undefined (reading 'join') at new BaseProvider (/opt/iobroker/node_modules/iobroker.weather-warnings/src/lib/provider.ts:49:104) at new UWZProvider (/opt/iobroker/node_modules/iobroker.weather-warnings/src/lib/provider.ts:453:9) at ProviderController.createProviderIfNotExist (/opt/iobroker/node_modules/iobroker.weather-warnings/src/lib/provider.ts:763:25) at /opt/iobroker/node_modules/iobroker.weather-warnings/src/main.ts:505:49 at processTicksAndRejections (node:internal/process/task_queues:95:5) 2023-11-03 22:30:13.867 - error: weather-warnings.0 (7720) Cannot read properties of undefined (reading 'join') 2023-11-03 22:30:13.875 - info: weather-warnings.0 (7720) terminating 2023-11-03 22:30:13.877 - warn: weather-warnings.0 (7720) Terminated (UNCAUGHT_EXCEPTION): Without reason 2023-11-03 22:30:14.381 - info: weather-warnings.0 (7720) terminating 2023-11-03 22:30:14.423 - error: weather-warnings.0 (7720) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2023-11-03 22:30:14.424 - error: weather-warnings.0 (7720) unhandled promise rejection: DB closed 2023-11-03 22:30:14.426 - error: weather-warnings.0 (7720) Error: DB closed at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25) at Socket.<anonymous> (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20) at Object.onceWrapper (node:events:630:26) at Socket.emit (node:events:515:28) at TCP.<anonymous> (node:net:337:12) 2023-11-03 22:30:14.427 - error: weather-warnings.0 (7720) DB closed 2023-11-03 22:30:14.540 - error: host.chet instance system.adapter.weather-warnings.0 terminated with code 6 (UNCAUGHT_EXCEPTION) 2023-11-03 22:30:13.006 - info: weather-warnings.0 (7720) Refresh Interval: 15 minutes 2023-11-03 22:30:13.257 - info: weather-warnings.0 (7720) DWD activated. Retrieve data. 2023-11-03 22:30:13.759 - error: weather-warnings.0 (7720) No valid warncell found for ["DE50968"] 2023-11-03 22:30:13.761 - info: weather-warnings.0 (7720) UWZ activated. Retrieve data. 2023-11-03 22:30:13.764 - error: weather-warnings.0 (7720) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2023-11-03 22:30:13.764 - error: weather-warnings.0 (7720) unhandled promise rejection: Cannot read properties of undefined (reading 'join') 2023-11-03 22:30:13.866 - error: weather-warnings.0 (7720) TypeError: Cannot read properties of undefined (reading 'join') at new BaseProvider (/opt/iobroker/node_modules/iobroker.weather-warnings/src/lib/provider.ts:49:104) at new UWZProvider (/opt/iobroker/node_modules/iobroker.weather-warnings/src/lib/provider.ts:453:9) at ProviderController.createProviderIfNotExist (/opt/iobroker/node_modules/iobroker.weather-warnings/src/lib/provider.ts:763:25) at /opt/iobroker/node_modules/iobroker.weather-warnings/src/main.ts:505:49 at processTicksAndRejections (node:internal/process/task_queues:95:5) 2023-11-03 22:30:13.867 - error: weather-warnings.0 (7720) Cannot read properties of undefined (reading 'join') 2023-11-03 22:30:13.875 - info: weather-warnings.0 (7720) terminating 2023-11-03 22:30:13.877 - warn: weather-warnings.0 (7720) Terminated (UNCAUGHT_EXCEPTION): Without reason 2023-11-03 22:30:14.381 - info: weather-warnings.0 (7720) terminating 2023-11-03 22:30:14.423 - error: weather-warnings.0 (7720) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2023-11-03 22:30:14.424 - error: weather-warnings.0 (7720) unhandled promise rejection: DB closed 2023-11-03 22:30:14.426 - error: weather-warnings.0 (7720) Error: DB closed at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25) at Socket.<anonymous> (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20) at Object.onceWrapper (node:events:630:26) at Socket.emit (node:events:515:28) at TCP.<anonymous> (node:net:337:12) 2023-11-03 22:30:14.427 - error: weather-warnings.0 (7720) DB closed 2023-11-03 22:30:14.540 - error: host.chet instance system.adapter.weather-warnings.0 terminated with code 6 (UNCAUGHT_EXCEPTION)
-
Konfiguriere bitte UWZ neu. Da bin ich gerade dran am arbeiten, da fehlen noch ein paar "wenn da blödsinn stehe, schreibe was sinnvolles ins log"
-
Frechheit!! Ich geb keinen Blödsinn ein!!
-
Ich hoffe es läuft jetzt.
Zu deinem Alexa vermute ich dass deine überall gruppe nicht funktioniert, wähle die Echos aus die sprechen sollen. Oder richte deine überall gruppe ein. Wie man letzteres macht weiß ich nicht mehr, hab ich vor x Jahren gemacht.
EDIT: und zum testen von Alexa auf das Kommando do oben ^ klicken.
-
@ticaki sagte in Test Adapter Weather-Warnings:
Nö, läuft nicht.
Oder richte deine überall gruppe ein.
Die ist eingerichtet.
2023-11-03 22:40:09.023 - info: weather-warnings.0 (8460) starting. Version 0.4.8 (non-npm: ticaki/ioBroker.weather-warnings) in /opt/iobroker/node_modules/iobroker.weather-warnings, node: v21.1.0, js-controller: 5.0.16 2023-11-03 22:40:13.996 - info: weather-warnings.0 (8460) Refresh Interval: 15 minutes 2023-11-03 22:40:14.180 - info: weather-warnings.0 (8460) DWD activated. Retrieve data. 2023-11-03 22:40:14.626 - info: weather-warnings.0 (8460) UWZ activated. Retrieve data. 2023-11-03 22:40:14.841 - info: weather-warnings.0 (8460) Got terminate signal TERMINATE_YOURSELF 2023-11-03 22:40:14.854 - info: weather-warnings.0 (8460) terminating 2023-11-03 22:40:14.855 - info: weather-warnings.0 (8460) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2023-11-03 22:40:15.357 - info: weather-warnings.0 (8460) terminating 2023-11-03 22:40:15.468 - error: weather-warnings.0 (8460) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2023-11-03 22:40:15.469 - error: weather-warnings.0 (8460) unhandled promise rejection: DB closed 2023-11-03 22:40:15.471 - error: weather-warnings.0 (8460) Error: DB closed at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25) at Socket.<anonymous> (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20) at Object.onceWrapper (node:events:630:26) at Socket.emit (node:events:515:28) at TCP.<anonymous> (node:net:337:12) 2023-11-03 22:40:15.471 - error: weather-warnings.0 (8460) DB closed 2023-11-03 22:40:15.475 - warn: weather-warnings.0 (8460) get state error: Connection is closed. 2023-11-03 22:40:15.478 - error: weather-warnings.0 (8460) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2023-11-03 22:40:15.478 - error: weather-warnings.0 (8460) unhandled promise rejection: DB closed 2023-11-03 22:40:15.706 - error: weather-warnings.0 (8460) Error: DB closed at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:636:24) at Redis.get (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25) at StateRedisClient.setState (/opt/iobroker/node_modules/@iobroker/db-states-redis/src/lib/states/statesInRedisClient.ts:726:40) at WeatherWarnings._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7710:33) 2023-11-03 22:40:15.706 - error: weather-warnings.0 (8460) DB closed 2023-11-03 22:40:15.723 - warn: weather-warnings.0 (8460) Could not perform strict object check of state weather-warnings.0.provider.dwd.805315000.warning.00.ONSET: DB closed 2023-11-03 22:40:15.726 - warn: weather-warnings.0 (8460) get state error: Connection is closed. 2023-11-03 22:40:15.729 - error: weather-warnings.0 (8460) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2023-11-03 22:40:15.729 - error: weather-warnings.0 (8460) unhandled promise rejection: DB closed 2023-11-03 22:40:15.731 - error: weather-warnings.0 (8460) Error: DB closed at Redis.sendCommand (/opt/iobroker/node_modules/ioredis/built/redis/index.js:636:24) at Redis.get (/opt/iobroker/node_modules/ioredis/built/commander.js:122:25) at StateRedisClient.setState (/opt/iobroker/node_modules/@iobroker/db-states-redis/src/lib/states/statesInRedisClient.ts:726:40) at WeatherWarnings._setState (/opt/iobroker/node_modules/@iobroker/js-controller-adapter/src/lib/adapter/adapter.ts:7710:33) at runNextTicks (node:internal/process/task_queues:60:5) at processImmediate (node:internal/timers:449:9) 2023-11-03 22:40:15.731 - error: weather-warnings.0 (8460) DB closed 2023-11-03 22:40:15.732 - error: weather-warnings.0 (8460) Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). 2023-11-03 22:40:15.732 - error: weather-warnings.0 (8460) unhandled promise rejection: DB closed 2023-11-03 22:40:15.733 - error: weather-warnings.0 (8460) Error: DB closed at close (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:184:25) at Socket.<anonymous> (/opt/iobroker/node_modules/ioredis/built/redis/event_handler.js:151:20) at Object.onceWrapper (node:events:630:26) at Socket.emit (node:events:515:28) at TCP.<anonymous> (node:net:337:12) 2023-11-03 22:40:15.733 - error: weather-warnings.0 (8460) DB closed 2023-11-03 22:40:19.756 - info: weather-warnings.0 (8482) starting. Version 0.4.8 (non-npm: ticaki/ioBroker.weather-warnings) in /opt/iobroker/node_modules/iobroker.weather-warnings, node: v21.1.0, js-controller: 5.0.16 2023-11-03 22:40:24.665 - info: weather-warnings.0 (8482) Refresh Interval: 15 minutes 2023-11-03 22:40:24.844 - info: weather-warnings.0 (8482) DWD activated. Retrieve data. 2023-11-03 22:40:25.440 - info: weather-warnings.0 (8482) UWZ activated. Retrieve data. 2023-11-03 22:41:47.190 - info: weather-warnings.0 (8482) Got terminate signal TERMINATE_YOURSELF 2023-11-03 22:41:47.193 - info: weather-warnings.0 (8482) terminating 2023-11-03 22:41:47.194 - info: weather-warnings.0 (8482) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason 2023-11-03 22:41:47.696 - info: weather-warnings.0 (8482) terminating 2023-11-03 22:41:52.138 - info: weather-warnings.0 (8614) starting. Version 0.4.8 (non-npm: ticaki/ioBroker.weather-warnings) in /opt/iobroker/node_modules/iobroker.weather-warnings, node: v21.1.0, js-controller: 5.0.16 2023-11-03 22:41:57.103 - info: weather-warnings.0 (8614) Refresh Interval: 15 minutes 2023-11-03 22:41:57.323 - info: weather-warnings.0 (8614) DWD activated. Retrieve data. 2023-11-03 22:41:57.813 - info: weather-warnings.0 (8614) UWZ activated. Retrieve data.
-
@thomas-braun
Ich installiere es gerade mal selbst auf dem echten iobroker. Nicht dass das wieder so ein dev-server != echter server dinges ist. -
Keine Ahnung was das Ding jetzt wieder hat...
2023-11-03 22:46:42.452 - warn: admin.0 (959) weather-warnings has an invalid jsonConfig: [{"instancePath":"/items/_basicconfig/items/allowedDirs/type","schemaPath":"#/definitions/componentType/enum","keyword":"enum","params":{"allowedValues":["alive","autocomplete","cron","text","textSendTo","number","port","color","checkbox","chips","header","slider","ip","user","room","func","select","icon","image","panel","password","file","sendTo","staticText","custom","pattern","table","instance","language","setState","certificate","certificates","staticImage","staticLink","divider","objectId","selectSendTo","autocompleteSendTo","checkLicense","uuid"]},"message":"must be equal to one of the allowed values"},{"instancePath":"/items/_basicconfig","schemaPath":"#/properties/items/patternProperties/%5E.%2B/allOf/8/if","keyword":"if","params":{"failingKeyword":"then"},"message":"must match \"then\" schema"}]