NEWS
Test Adapter drops-weather 1.2.x
-
sehr schön ... läuft...
-
Ich bekomme bei mir im Moment noch die folgende Fehlermeldung:
drops-weather.0 2025-06-05 08:31:02.220 error Error: DB closed drops-weather.0 2025-06-05 08:31:02.220 error Error: DB closed drops-weather.0 2025-06-05 08:31:02.077 warn get state error: Connection is closed. drops-weather.0 2025-06-05 08:31:02.077 warn Could not perform strict object check of state drops-weather.0.data_1h.actualRain: DB closed drops-weather.0 2025-06-05 08:31:02.077 warn get state error: Connection is closed. drops-weather.0 2025-06-05 08:31:02.076 warn Could not perform strict object check of state drops-weather.0.data_5min.actualRain: DB closed drops-weather.0 2025-06-05 08:31:01.121 info Terminated (NO_ERROR): Without reason drops-weather.0 2025-06-05 08:30:51.248 info starting. Version 1.2.4 (non-npm: iobroker-community-adapters/ioBroker.drops-weather#d2e17ec6cddd59c7cad2b96530c18615393cbe2c) in /opt/iobroker/node_modules/iobroker.drops-weather, node: v20.16.0, js-controller: 7.0.6
-
@icebear said in Test Adapter drops-weather 1.2.x:
non-npm: iobroker-community-adapters/ioBroker.drops-weather#d2e17ec6cddd59c7cad2b96530c18615393cbe2c):
Installier bitte zuerst mal die Version aus dem (latest / beta) repository.
Dann bitte das logging auf DEBUG stellen und output posten. -
@mcm1957 said in Test Adapter drops-weather 1.2.x:
Installier bitte zuerst mal die Version aus dem (latest / beta) repository.
O.K. Ich hab den Adapter jetzt erstnochmal gelöscht und dann wieder installiert.
Jetzt funktioniert es. Danke.
-
Warum läuft der bei mir nicht mehr? Habe jetzt schon mehrmals alles gelöscht und neu installiert. iob neugestartet, den fix ausgeführt. Aber immer das gleiche.
Bei den anderen logs war der timeout bei60000
bei mir immer
TimeoutError: Navigation timeout of 30000 ms exceeded
Andere sprache getest, andere Stadt, immer der selbe Fehler....
drops-weather.0 2025-06-05 17:06:22.578 info Terminated (NO_ERROR): Without reason drops-weather.0 2025-06-05 17:06:22.529 debug pages 2 drops-weather.0 2025-06-05 17:06:22.520 debug destroy browser drops-weather.0 2025-06-05 17:06:22.519 warn TimeoutError: Navigation timeout of 30000 ms exceeded drops-weather.0 2025-06-05 17:05:52.366 debug creating new page ... drops-weather.0 2025-06-05 17:05:52.364 debug Reading data from : https://www.niederschlagsradar.de/de-de/city/xxx drops-weather.0 2025-06-05 17:05:51.951 debug puppeteer.lauch invoked with {"headless":true,"defaultViewport":null,"userDataDir":"/dev/null","args":["--periodic-task","--no-sandbox","--disable-setuid-sandbox","--disable-dev-shm-usage","--disable-accelerated-2d-canvas","--no-first-run","--no-zygote","--single-process","--disable-gpu","--ignore-certificate-errors","--disable-extensions","--disable-component-extensions-with-background-pages","--disable-default-apps","--mute-audio","--no-default-browser-check","--autoplay-policy=user-gesture-required","--disable-background-timer-throttling","--disable-backgrounding-occluded-windows","--disable-notifications","--disable-background-networking","--disable-breakpad","--disable-component-update","--disable-domain-reliability","--disable-sync"]} drops-weather.0 2025-06-05 17:05:51.949 debug browserPath set to puppeteer default drops-weather.0 2025-06-05 17:05:51.949 debug browserMode set to automatic, running on linux / x64 drops-weather.0 2025-06-05 17:05:51.932 info starting. Version 1.2.4 in /opt/iobroker/node_modules/iobroker.drops-weather, node: v20.19.2, js-controller: 7.0.6 drops-weather.0 2025-06-05 17:01:29.256 info Terminated (NO_ERROR): Without reason drops-weather.0 2025-06-05 17:01:29.254 debug pages 2 drops-weather.0 2025-06-05 17:01:29.244 debug destroy browser drops-weather.0 2025-06-05 17:01:29.243 warn TimeoutError: Navigation timeout of 30000 ms exceeded drops-weather.0 2025-06-05 17:00:59.089 debug creating new page ... drops-weather.0 2025-06-05 17:00:59.089 debug Reading data from : https://www.niederschlagsradar.de/de-de/city/xxx drops-weather.0 2025-06-05 17:00:58.482 debug puppeteer.lauch invoked with {"headless":true,"defaultViewport":null,"userDataDir":"/dev/null","args":["--periodic-task","--no-sandbox","--disable-setuid-sandbox","--disable-dev-shm-usage","--disable-accelerated-2d-canvas","--no-first-run","--no-zygote","--single-process","--disable-gpu","--ignore-certificate-errors","--disable-extensions","--disable-component-extensions-with-background-pages","--disable-default-apps","--mute-audio","--no-default-browser-check","--autoplay-policy=user-gesture-required","--disable-background-timer-throttling","--disable-backgrounding-occluded-windows","--disable-notifications","--disable-background-networking","--disable-breakpad","--disable-component-update","--disable-domain-reliability","--disable-sync"]} drops-weather.0 2025-06-05 17:00:58.480 debug browserPath set to puppeteer default drops-weather.0 2025-06-05 17:00:58.478 debug browserMode set to automatic, running on linux / x64 drops-weather.0 2025-06-05 17:00:58.448 info starting. Version 1.2.4 in /opt/iobroker/node_modules/iobroker.drops-weather, node: v20.19.2, js-controller: 7.0.6
-
@chris76e
Schau ob https://www.niederschlagsradar.de/de-de/city/xxx bei dir erreichbar ist.Dass bei dir das timeout 30s beträgt ist überraschend. Im code steht hardcoded 60000.
https://github.com/iobroker-community-adapters/ioBroker.drops-weather/blob/d2e17ec6cddd59c7cad2b96530c18615393cbe2c/main.js#L27C14-L27C25 -
der link ist erreichbar. Wie entferne ich den Apater am besten für eine neuinstallation? Gibt es vieleicht nen befehl über die Commando Zeile damit wirklich alles entfernt wird?
Das ist die main.js bei meinem System
'use strict'; const utils = require('@iobroker/adapter-core'); const os = require('node:os'); const puppeteer = require('puppeteer-extra'); const StealthPlugin = require('puppeteer-extra-plugin-stealth'); // add the stealth plugin puppeteer.use(StealthPlugin()); let watchdog = null; let browser = null; class DropsWeather extends utils.Adapter { /** * @param options ioBroker optionen */ constructor(options) { super({ ...options, name: 'drops-weather', }); this.mainURLEN = 'https://www.meteox.com/'; this.mainURLDE = 'https://www.niederschlagsradar.de/'; this.pageTimeout = 60000; this.on('ready', this.onReady.bind(this)); this.on('unload', this.onUnload.bind(this));
-
Hallo,
neue Meldungen:
drops-weather.0 2025-06-06 03:33:16.154 error Network.enable timed out. Increase the 'protocolTimeout' setting in launch/connect calls for a higher timeout if needed. drops-weather.0 2025-06-06 03:33:16.154 error ProtocolError: Network.enable timed out. Increase the 'protocolTimeout' setting in launch/connect calls for a higher timeout if needed. at <instance_members_initializer> (C:\SmartHome\node_modules\puppeteer-core\lib\cjs\puppeteer\common\CallbackRegistry.js:102:14) at new Callback (C:\SmartHome\node_modules\puppeteer-core\lib\cjs\puppeteer\common\CallbackRegistry.js:106:16) at CallbackRegistry.create (C:\SmartHome\node_modules\puppeteer-core\lib\cjs\puppeteer\common\CallbackRegistry.js:24:26) at Connection._rawSend (C:\SmartHome\node_modules\puppeteer-core\lib\cjs\puppeteer\cdp\Connection.js:99:26) at CdpCDPSession.send (C:\SmartHome\node_modules\puppeteer-core\lib\cjs\puppeteer\cdp\CdpSession.js:73:33) at NetworkManager.addClient (C:\SmartHome\node_modules\puppeteer-core\lib\cjs\puppeteer\cdp\NetworkManager.js:62:20) at FrameManager.initialize (C:\SmartHome\node_modules\puppeteer-core\lib\cjs\puppeteer\cdp\FrameManager.js:174:38) at #initialize (C:\SmartHome\node_modules\puppeteer-core\lib\cjs\puppeteer\cdp\Page.js:291:36) at CdpPage._create (C:\SmartHome\node_modules\puppeteer-core\lib\cjs\puppeteer\cdp\Page.js:103:31) at C:\SmartHome\node_modules\puppeteer-core\lib\cjs\puppeteer\cdp\Target.js:205:42 drops-weather.0 2025-06-06 03:33:16.154 error unhandled promise rejection: Network.enable timed out. Increase the 'protocolTimeout' setting in launch/connect calls for a higher timeout if needed. drops-weather.0 2025-06-06 03:33:16.153 error 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(). drops-weather.0 2025-06-06 03:33:16.149 warn ProtocolError: Network.enable timed out. Increase the 'protocolTimeout' setting in launch/connect calls for a higher timeout if needed.
-
und bei mir war erst alles gut, aber jetzt kommt andauernd wieder:
drops-weather.0 2025-06-06 07:50:46.756 error Error: DB closed drops-weather.0 2025-06-06 07:50:46.755 error Error: DB closed drops-weather.0 2025-06-06 07:50:46.748 warn get state error: Connection is closed. drops-weather.0 2025-06-06 07:50:46.747 warn Could not perform strict object check of state drops-weather.0.data_1h.chartRain: DB closed drops-weather.0 2025-06-06 07:50:46.746 warn get state error: Connection is closed. drops-weather.0 2025-06-06 07:50:46.746 warn Could not perform strict object check of state drops-weather.0.data_5min.chartRain: DB closed drops-weather.0 2025-06-06 07:50:46.602 warn get state error: Connection is closed. drops-weather.0 2025-06-06 07:50:46.501 warn get state error: Connection is closed. drops-weather.0 2025-06-06 07:50:45.763 info Terminated (NO_ERROR): Without reason
deinstallieren und neu installieren hab ich schon gemacht, Language hab ich trotz neu Installation auch nochmal von 'de' auf 'en' und wieder zurück gestellt, ändert aber nix.
EDIT:
Hier noch die Ausgabe vom Debug-Mode:
drops-weather.0 2025-06-06 08:11:10.354 error Error: DB closed drops-weather.0 2025-06-06 08:11:10.353 error Error: DB closed drops-weather.0 2025-06-06 08:11:10.351 debug redis get drops-weather.0.data_1h.chartRain, error - DB closed drops-weather.0 2025-06-06 08:11:10.350 debug redis get drops-weather.0.data_5min.chartRain, error - Connection is closed. drops-weather.0 2025-06-06 08:11:10.342 debug Rain (data_1h): [{"label":"10:00","value":"0"},{"label":"11:00","value":"0"},{"label":"12:00","value":"0"},{"label":"13:00","value":"0"},{"label":"14:00","value":"0"},{"label":"15:00","value":"0.1"},{"label":"16:00","value":"0"},{"label":"17:00","value":"0.3"},{"label":"18:00","value":"0.1"},{"label":"19:00","value":"0"},{"label":"20:00","value":"0.1"},{"label":"21:00","value":"0"},{"label":"22:00","value":"0.1"},{"label":"23:00","value":"0"},{"label":"00:00","value":"0"},{"label":"01:00","value":"0"},{"label":"02:00","value":"0"},{"label":"03:00","value":"0"},{"label":"04:00","value":"0"},{"label":"05:00","value":"0.2"},{"label":"06:00","value":"0.3"},{"label":"07:00","value":"0.1"},{"label":"08:00","value":"0.1"},{"label":"09:00","value":"0.2"}] drops-weather.0 2025-06-06 08:11:10.319 warn get state error: Connection is closed. drops-weather.0 2025-06-06 08:11:10.314 debug Rain (data_5min): [{"label":"08:10","value":"0"},{"label":"08:15","value":"0"},{"label":"08:20","value":"0"},{"label":"08:25","value":"0"},{"label":"08:30","value":"0"},{"label":"08:35","value":"0"},{"label":"08:40","value":"0"},{"label":"08:45","value":"0"},{"label":"08:50","value":"0"},{"label":"08:55","value":"0"},{"label":"09:00","value":"0"},{"label":"09:05","value":"0"},{"label":"09:10","value":"0"},{"label":"09:15","value":"0"},{"label":"09:20","value":"0"},{"label":"09:25","value":"0"},{"label":"09:30","value":"0"},{"label":"09:35","value":"0"},{"label":"09:40","value":"0"},{"label":"09:45","value":"0"},{"label":"09:50","value":"0"},{"label":"09:55","value":"0"},{"label":"10:00","value":"0"},{"label":"10:05","value":"0"},{"label":"10:10","value":"0"},{"label":"10:15","value":"0"},{"label":"10:20","value":"0"},{"label":"10:25","value":"0"},{"label":"10:30","value":"0"},{"label":"10:35","value":"0"},{"label":"10:40","value":"0"},{"label":"10:45","value":"0"},{"label":"10:50","value":"0"},{"label":"10:55","value":"0"},{"label":"11:00","value":"0"},{"label":"11:05","value":"0"},{"label":"11:10","value":"0"},{"label":"11:15","value":"0"}] host.iobroker 2025-06-06 08:11:10.489 info instance system.adapter.drops-weather.0 having pid 26365 terminated with code 0 (NO_ERROR) drops-weather.0 2025-06-06 08:11:09.536 info Terminated (NO_ERROR): Without reason drops-weather.0 2025-06-06 08:11:09.173 debug pages 2 drops-weather.0 2025-06-06 08:11:09.141 debug destroy browser drops-weather.0 2025-06-06 08:11:09.135 debug creating 1 hour states drops-weather.0 2025-06-06 08:11:09.134 debug creating 5 min states drops-weather.0 2025-06-06 08:11:09.134 debug weatherData found drops-weather.0 2025-06-06 08:11:09.131 debug got labeltext "Es bleibt vorläufig trocken" drops-weather.0 2025-06-06 08:11:09.127 debug got scriptContents "[""," document.addEventListener(\"DOMContentLoaded\", () =>"," RainGraph.create({"," id: 0,"," series: {\"2h\":{\"data\":[{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T06:10:00Z\",\"timestamp\":1749190200},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T06:15:00Z\",\"timestamp\":1749190500},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T06:20:00Z\",\"timestamp\":1749190800},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T06:25:00Z\",\"timestamp\":1749191100},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T06:30:00Z\",\"timestamp\":1749191400},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T06:35:00Z\",\"timestamp\":1749191700},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T06:40:00Z\",\"timestamp\":1749192000},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T06:45:00Z\",\"timestamp\":1749192300},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T06:50:00Z\",\"timestamp\":1749192600},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T06:55:00Z\",\"timestamp\":1749192900},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T07:00:00Z\",\"timestamp\":1749193200},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T07:05:00Z\",\"timestamp\":1749193500},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T07:10:00Z\",\"timestamp\":1749193800},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T07:15:00Z\",\"timestamp\":1749194100},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T07:20:00Z\",\"timestamp\":1749194400},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T07:25:00Z\",\"timestamp\":1749194700},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T07:30:00Z\",\"timestamp\":1749195000},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T07:35:00Z\",\"timestamp\":1749195300},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T07:40:00Z\",\"timestamp\":1749195600},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T07:45:00Z\",\"timestamp\":1749195900},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T07:50:00Z\",\"timestamp\":1749196200},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T07:55:00Z\",\"timestamp\":1749196500},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T08:00:00Z\",\"timestamp\":1749196800},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T08:05:00Z\",\"timestamp\":1749197100},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T08:10:00Z\",\"timestamp\":1749197400},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T08:15:00Z\",\"timestamp\":1749197700},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T08:20:00Z\",\"timestamp\":1749198000},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T08:25:00Z\",\"timestamp\":1749198300},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T08:30:00Z\",\"timestamp\":1749198600},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T08:35:00Z\",\"timestamp\":1749198900},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T08:40:00Z\",\"timestamp\":1749199200},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T08:45:00Z\",\"timestamp\":1749199500},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T08:50:00Z\",\"timestamp\":1749199800},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T08:55:00Z\",\"timestamp\":1749200100},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T09:00:00Z\",\"timestamp\":1749200400},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T09:05:00Z\",\"timestamp\":1749200700},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T09:10:00Z\",\"timestamp\":1749201000},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T09:15:00Z\",\"timestamp\":1749201300}],\"daypart\":[{\"precipitationrate\":0.03,\"time\":\"2025-06-06T05:00:00Z\",\"timestamp\":1749186000,\"weathericon\":[1,0,-1,-1,0,-1,-1,-1,-1]},{\"precipitationrate\":0.04,\"time\":\"2025-06-06T06:00:00Z\",\"timestamp\":1749189600,\"weathericon\":[1,0,-1,-1,0,-1,-1,-1,-1]},{\"precipitationrate\":0.0,\"time\":\"2025-06-06T07:00:00Z\",\"timestamp\":1749193200,\"weathericon\":[0,0,-1,-1,-1,-1,-1,-1,-1]},{\"precipitationrate\":0.0,\"time\":\"2025-06-06T08:00:00Z\",\"timestamp\":1749196800,\"weathericon\":[0,0,-1,-1,-1,-1,-1,-1,-1]},{\"precipitationrate\":0.0,\"time\":\"2025-06-06T09:00:00Z\",\"timestamp\":1749200400,\"weathericon\":[0,0,-1,-1,-1,-1,-1,-1,-1]}],\"nowcastmessage\":{\"de\":{\"valuekind\":3},\"el\":{\"valuekind\":3},\"en\":{\"valuekind\":3},\"es\":{\"valuekind\":3},\"fr\":{\"valuekind\":3},\"hr\":{\"valuekind\":3},\"hu\":{\"valuekind\":3},\"ispush\":{\"valuekind\":4},\"it\":{\"valuekind\":3},\"nl\":{\"valuekind\":3},\"pl\":{\"valuekind\":3},\"pt\":{\"valuekind\":3},\"sv\":{\"valuekind\":3},\"tags\":{\"valuekind\":2},\"tr\":{\"valuekind\":3}},\"summary\":{\"available\":true,\"latitude\":50.5,\"longitude\":6.86,\"quadindex\":\"BCACADCABDBAAAC\",\"source\":\"radar-nl\",\"timestamp\":1749189600}},\"24h\":{\"data\":[{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T08:00:00Z\",\"timestamp\":1749196800},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T09:00:00Z\",\"timestamp\":1749200400},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T10:00:00Z\",\"timestamp\":1749204000},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T11:00:00Z\",\"timestamp\":1749207600},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T12:00:00Z\",\"timestamp\":1749211200},{\"lightningclass\":-1,\"precipitationrate\":0.1,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T13:00:00Z\",\"timestamp\":1749214800},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T14:00:00Z\",\"timestamp\":1749218400},{\"lightningclass\":-1,\"precipitationrate\":0.3,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T15:00:00Z\",\"timestamp\":1749222000},{\"lightningclass\":-1,\"precipitationrate\":0.1,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T16:00:00Z\",\"timestamp\":1749225600},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T17:00:00Z\",\"timestamp\":1749229200},{\"lightningclass\":-1,\"precipitationrate\":0.1,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T18:00:00Z\",\"timestamp\":1749232800},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T19:00:00Z\",\"timestamp\":1749236400},{\"lightningclass\":-1,\"precipitationrate\":0.1,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T20:00:00Z\",\"timestamp\":1749240000},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T21:00:00Z\",\"timestamp\":1749243600},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T22:00:00Z\",\"timestamp\":1749247200},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-06T23:00:00Z\",\"timestamp\":1749250800},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-07T00:00:00Z\",\"timestamp\":1749254400},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-07T01:00:00Z\",\"timestamp\":1749258000},{\"lightningclass\":-1,\"precipitationrate\":0.0,\"precipitationtype\":\"rain\",\"time\":\"2025-06-07T02:00:00Z\",\"timestamp\":1749261600},{\"lightningclass\":-1,\"precipitationrate\":0.2,\"precipitationtype\":\"rain\",\"time\":\"2025-06-07T03:00:00Z\",\"timestamp\":1749265200},{\"lightningclass\":-1,\"precipitationrate\":0.3,\"precipitationtype\":\"rain\",\"time\":\"2025-06-07T04:00:00Z\",\"timestamp\":1749268800},{\"lightningclass\":-1,\"precipitationrate\":0.1,\"precipitationtype\":\"rain\",\"time\":\"2025-06-07T05:00:00Z\",\"timestamp\":1749272400},{\"lightningclass\":-1,\"precipitationrate\":0.1,\"precipitationtype\":\"rain\",\"time\":\"2025-06-07T06:00:00Z\",\"timestamp\":1749276000},{\"lightningclass\":-1,\"precipitationrate\":0.2,\"precipitationtype\":\"rain\",\"time\":\"2025-06-07T07:00:00Z\",\"timestamp\":1749279600}],\"daypart\":null,\"nowcastmessage\":{\"de\":{\"valuekind\":3},\"en\":{\"valuekind\":3},\"nl\":{\"valuekind\":3}},\"summary\":{\"available\":true,\"latitude\":50.504,\"longitude\":6.855,\"quadindex\":\"BCACADCABDABB\",\"source\":\"weathercomputer\",\"timestamp\":1749190261}}},"," timezoneOffset: 120,"," locals: {\"labels\":[[0,\"trocken\"],[0.1,\"Nieselregen\"],[1,\"leichter Regen\"],[2,\"Starkregen\"]],\"language\":\"de\",\"strings\":{\"unavailable\":\"Etwas ist schief gelaufen\",\"mmph\":\"mm pro Std.\",\"now\":\"Jetzt\"}} ?? [],"," timezone: \"Europe/Berlin\","," show2h: true,"," show24h: true,"," sendEvents: \"False\","," is3HourRadar: \"True\","," useUserLocation: \"False\","," show24Default: \"False\","," })"," );",""]" drops-weather.0 2025-06-06 08:11:09.121 debug domcontent loaded, evaluate page drops-weather.0 2025-06-06 08:11:00.788 debug creating new page ... drops-weather.0 2025-06-06 08:11:00.786 debug Reading data from : https://www.niederschlagsradar.de/de-de/city/2821520 drops-weather.0 2025-06-06 08:10:59.356 debug puppeteer.lauch invoked with {"headless":true,"defaultViewport":null,"userDataDir":"/dev/null","args":["--periodic-task","--no-sandbox","--disable-setuid-sandbox","--disable-dev-shm-usage","--disable-accelerated-2d-canvas","--no-first-run","--no-zygote","--single-process","--disable-gpu","--ignore-certificate-errors","--disable-extensions","--disable-component-extensions-with-background-pages","--disable-default-apps","--mute-audio","--no-default-browser-check","--autoplay-policy=user-gesture-required","--disable-background-timer-throttling","--disable-backgrounding-occluded-windows","--disable-notifications","--disable-background-networking","--disable-breakpad","--disable-component-update","--disable-domain-reliability","--disable-sync"]} drops-weather.0 2025-06-06 08:10:59.355 debug browserPath set to puppeteer default drops-weather.0 2025-06-06 08:10:59.354 debug browserMode set to automatic, running on linux / x64 drops-weather.0 2025-06-06 08:10:59.323 info starting. Version 1.2.4 in /opt/iobroker/node_modules/iobroker.drops-weather, node: v20.16.0, js-controller: 7.0.6
-
Mal eine Frage zum Datenumfang.
Ist es eventuell geplant die Wind Richtung und Windstärke mit einzufangen?
-
@marco-3 said in Test Adapter drops-weather 1.2.x:
Mal eine Frage zum Datenumfang.
Ist es eventuell geplant die Wind Richtung und Windstärke mit einzufangen?
Erstell für Erweiterungswünsche gener ein Issue.
ABER - solange der Adapeter immer wieder merkbare Stabilitätsprobleme zeigt muss man überlegen wieviel Aufwand man da noch reinsteckt. Leider steht ja kein definiertes API zur Verfügung sondern es muss bzw. wird versucht die Webseite zu scrapen - was schon be geringen Änderungen der Webseite zu Stabilitätsproblemen und Anpassungsbedarf führt.