NEWS
Test Adapter Weather-Warnings
-
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"}]
-
@thomas-braun
Das hab ich oben beantwortet. Das ist ein ADMIN Fehler.Bei mir läufts... Kannst du deinen iob mal neustartet? Oder den Adapter auf Debug stellen und starten. Die Fehler die du hattest lassen sich vom Code nicht wirklich erklären... Oder mal adapter upload... halt was du all den leuten räts wenn ein adapter spinnt.
-
Neustart, Upload, alles durch. Funktioniert nicht. Ich bekomme keine Nachricht, weder über Whatsapp noch über die Alexa.
-
-
Aber der Adapter hat jetzt keine Fehler mehr?
-
ging whatsapp schon mal?
-
Alexa geht bei mir.
bist du in der telegramm gruppe? Weil das hier ist eher ein chat als forum
-
-
Irgendwie immer noch Schweigen im Walde.
Aber im Log steht nix mehr. -
-
@thomas-braun
ging whatsapp mit der beta? -
Nein, ich hab noch nie irgendeine Nachricht über irgendeinen Kanal erhalten.
-
@ticaki sagte in Test Adapter Weather-Warnings:
telegramm gruppe
Sorry für OT.
Welche TG-Gruppe ist das? Hast einen Einladungslink? -
@negalein sagte in Test Adapter Weather-Warnings:
@ticaki sagte in Test Adapter Weather-Warnings:
telegramm gruppe
Sorry für OT.
Welche TG-Gruppe ist das? Hast einen Einladungslink? -
@thomas-braun sagte in Test Adapter Weather-Warnings:
Nein, ich hab noch nie irgendeine Nachricht über irgendeinen Kanal erhalten.
Alexa:
- Ändere mal in meinem Adapter das Ausgabe gerät und benutze dann: weather-warnings.0.command.alexa2
- Überprüfe ob alle eingestellten Vorlagen existieren
- Gehe zu folgendem State: alexa2.0.Echo-Devices.
G023535435641J8R
.Commands.speak - wobei die Zahl da in der Mitte eine Seriennummer ist, nimm den wo in der Namenspalteüberall
steht und schreibe irgendwas in das Feld. Dieser Adapter hier schreibt genau in dieses Feld.
whatsapp:
- drücke auf: weather-warnings.0.command.whatsapp
- Erstelle ein Javascript mit diesem Code und führe es aus - dann berichten:
sendTo('whatsapp-cmb.0', 'send', {text: 'test'});
- überprüfe ob dein Whatsapp richtig eingerichtet ist.
-
@ticaki sagte in Test Adapter Weather-Warnings:
Ändere mal in meinem Adapter das Ausgabe gerät und benutze dann: weather-warnings.0.command.alexa2
Stumm.
Überprüfe ob alle eingestellten Vorlagen existieren
Da hab ich nix angepackt.
Gehe zu folgendem State: alexa2.0.Echo-Devices.G023535435641J8R.Commands.speak - wobei die Zahl da in der Mitte eine Seriennummer ist, nimm den wo in der Namenspalte überall steht und schreibe irgendwas in das Feld. Dieser Adapter hier schreibt genau in dieses Feld.
Da quasseln alle Alexen los.
-
@ticaki sagte in Test Adapter Weather-Warnings:
whatsapp:
drücke auf: weather-warnings.0.command.whatsapp
Passiert nix.
Erstelle ein Javascript mit diesem Code und führe es aus - dann berichten:
sendTo('whatsapp-cmb.0', 'send', {text: 'test'});Text kommt an.
überprüfe ob dein Whatsapp richtig eingerichtet ist.
Ist es.
-
@thomas-braun
Das Whatsapp problem liegt an falschen Vorlagen. Ich hab die mal geänderte gehabt. Klicke mal auf Vorlagen wiederherstellen, speichern & schließen und dann stelle es so ein:Geht nur um die unteren Vorlagen
EDIT: Das Alexaproblem lösen wir morgen abend oder am Sonntag, das sieht alles richtig in deiner Konfiguration aus. Vielleicht bekomme ich noch nen Geistesblitz.