iobroker-community-adapters / ioBroker.weatherunderground

ioBroker Adapter to load weather forecast from Weather Underground
MIT License
18 stars 12 forks source link

Invalid Date for daily forcast / Forecast Period #120

Closed Kopierwichtel closed 2 years ago

Kopierwichtel commented 2 years ago

Describe the bug
Since a few days instead of the date of the forcast only Invalid Date is shown. I reainstalled weather underground but this did not help I'm not aware of a change in my system

To Reproduce
Open Object Explorer Expand the tree WeatherUnderground / 0 Expand the subfolder and check the date field

Expected behavior
The date of the forcast is shown

Screenshots & Logfiles
If applicable, add screenshots and logfiles to help explain your problem.

Versions:

Additional context
Add any other context about the problem here.

Apollon77 commented 2 years ago

Please provide a screenshot of what you mean

Kopierwichtel commented 2 years ago

2021-12-15 16_37_10-Window

Apollon77 commented 2 years ago

Please provide a debug level log (Admin - Instances - enable expertmode - set loglevel of instace to debug

Kopierwichtel commented 2 years ago

changed the log to level to debug hopefully this is the right content. The log contains everything from 15:00 hours onvards

Debug.log

Kopierwichtel commented 2 years ago

I'm using the value in my VIS to show the forecast. In the vis NaN.NaN.NaN is shown now . I used TimeStampValue widget to get the date. But now its working when i use the widget String. So for me its working again with this workaroiund 2021-12-15 22_13_34-Window

ChrissT23 commented 2 years ago

Bei mir das gleiche, immer mal wieder invalid Date Anzeige und dadurch wird mein System in dem Moment auch sehr langsam.

Adapter Version : 3.3.1 Node: 14.18.2 Host: 3.3.22

Apollon77 commented 2 years ago

Was bitte hat "invalid Date" mit "langsamem System " zu tun?

ChrissT23 commented 2 years ago

Dadurch das der Log dann voll läuft und der Adapter neugestartet wird. Dann kommt die Meldung „slow Connection to objects DB“ Ich merke es immer daran das z.B mein Licht im Bad verzögert angeht. Wenn ich dann in den LOG schaue ist dieser voll mit Warn Meldungen von Weatherunderground.

Apollon77 commented 2 years ago

Also jetzt bin ich raus? Welches Log läuft zu?? Warum? Garantiert nicht von diesem Adapter ... Das log würde ich gern mal sehen, am besten mit WU Adapter im Debug Log Modus

ChrissT23 commented 2 years ago

Der Fehlerlog im IoBroker ist dann voll mit Warn und error Meldungen vom Adapter. Das System ist dann sehr langsam, wenn ich den Adpater dann Stoppe oder Neustarte funktioniert alles wieder. Da der Fehler sehr unregelmäßig auftritt, ca 1mal pro Woche, kann ich nur dann versuchen das LOG zu speichern. Ansonsten funktioniert alles super und ohne irgendwelche Auffälligkeiten.

Apollon77 commented 2 years ago

Sämtliche Meldungen bisherwaren das in dem State ein"Invalid Date" stand, sonst nichts ... ich wüsste auch nicht was der Adapter in so einem Fall massic loggen sollte ... daher enn es passiert bitte mal posten

ChrissT23 commented 2 years ago

Hallo, jetzt kamen mal wieder die Fehler, hier der LOG dazu. Mein System ist dann für ca 2-3min ausgelastet, danach geht wieder alles normal.

`

       
host.raspberrypi 2022-02-12 22:12:19.659 info instance system.adapter.weatherunderground.0 terminated with code 0 (NO_ERROR)
weatherunderground.0 2022-02-12 22:12:19.086 info (15049) Terminated (NO_ERROR): Without reason
weatherunderground.0 2022-02-12 22:12:03.205 info (15049) starting. Version 3.3.1 in /opt/iobroker/node_modules/iobroker.weatherunderground, node: v14.18.2, js-controller: 3.3.22
host.raspberrypi 2022-02-12 22:12:00.313 info instance system.adapter.weatherunderground.0 started with pid 15049
host.raspberrypi 2022-02-12 21:42:07.946 info instance system.adapter.weatherunderground.1 terminated with code 0 (NO_ERROR)
weatherunderground.1 2022-02-12 21:42:07.406 info (12089) Terminated (NO_ERROR): Without reason
weatherunderground.1 2022-02-12 21:42:02.719 info (12089) starting. Version 3.3.1 in /opt/iobroker/node_modules/iobroker.weatherunderground, node: v14.18.2, js-controller: 3.3.22
host.raspberrypi 2022-02-12 21:42:00.099 info instance system.adapter.weatherunderground.1 started with pid 12089
host.raspberrypi 2022-02-12 21:14:00.585 info instance system.adapter.weatherunderground.0 terminated with code 11 (ADAPTER_REQUESTED_TERMINATION)
weatherunderground.0 2022-02-12 21:14:00.248 error (1408) Could not parse hourly Forecast-Data: Error: DB closed
weatherunderground.0 2022-02-12 21:14:00.247 warn (1408) get state error: Connection is closed.
weatherunderground.0 2022-02-12 21:14:00.246 warn (1408) Could not perform strict object check of state weatherunderground.0.forecastHourly.35h.time: Connection is closed.
weatherunderground.0 2022-02-12 21:14:00.244 error (1408) Could not parse hourly Forecast-Data: Error: DB closed
weatherunderground.0 2022-02-12 21:14:00.208 warn (1408) get state error: Connection is closed.
weatherunderground.0 2022-02-12 21:14:00.207 warn (1408) Could not perform strict object check of state weatherunderground.0.forecastHourly.34h.time: Connection is closed.
weatherunderground.0 2022-02-12 21:14:00.205 error (1408) Could not parse hourly Forecast-Data: Error: DB closed
weatherunderground.0 2022-02-12 21:14:00.203 warn (1408) get state error: Connection is closed.
weatherunderground.0 2022-02-12 21:14:00.182 warn (1408) Could not perform strict object check of state weatherunderground.0.forecastHourly.33h.time: Connection is closed.
weatherunderground.0 2022-02-12 21:14:00.180 error (1408) Could not parse hourly Forecast-Data: Error: DB closed
weatherunderground.0 2022-02-12 21:14:00.179 warn (1408) get state error: Connection is closed.
weatherunderground.0 2022-02-12 21:14:00.178 warn (1408) Could not perform strict object check of state weatherunderground.0.forecastHourly.32h.time: Connection is closed.
weatherunderground.0 2022-02-12 21:14:00.176 error (1408) Could not parse hourly Forecast-Data: Error: DB closed
weatherunderground.0 2022-02-12 21:14:00.175 warn (1408) get state error: Connection is closed.
weatherunderground.0 2022-02-12 21:14:00.174 warn (1408) Could not perform strict object check of state weatherunderground.0.forecastHourly.31h.time: Connection is closed.
weatherunderground.0 2022-02-12 21:14:00.151 error (1408) Could not parse hourly Forecast-Data: Error: DB closed
weatherunderground.0 2022-02-12 21:14:00.148 warn (1408) get state error: Connection is closed.
weatherunderground.0 2022-02-12 21:14:00.147 warn (1408) Could not perform strict object check of state weatherunderground.0.forecastHourly.30h.time: Connection is closed.
weatherunderground.0 2022-02-12 21:14:00.145 error (1408) Could not parse hourly Forecast-Data: Error: DB closed
weatherunderground.0 2022-02-12 21:14:00.143 warn (1408) get state error: Connection is closed.
weatherunderground.0 2022-02-12 21:14:00.126 warn (1408) Could not perform strict object check of state weatherunderground.0.forecastHourly.29h.time: Connection is closed.
weatherunderground.0 2022-02-12 21:14:00.124 error (1408) Could not parse hourly Forecast-Data: Error: DB closed
weatherunderground.0 2022-02-12 21:14:00.112 warn (1408) get state error: Connection is closed.
weatherunderground.0 2022-02-12 21:14:00.111 warn (1408) Could not perform strict object check of state weatherunderground.0.forecastHourly.28h.time: Connection is closed.
weatherunderground.0 2022-02-12 21:14:00.109 error (1408) Could not parse hourly Forecast-Data: Error: DB closed
weatherunderground.0 2022-02-12 21:14:00.108 warn (1408) get state error: Connection is closed.
weatherunderground.0 2022-02-12 21:14:00.107 warn (1408) Could not perform strict object check of state weatherunderground.0.forecastHourly.27h.time: Connection is closed.
weatherunderground.0 2022-02-12 21:14:00.106 error (1408) Could not parse hourly Forecast-Data: Error: DB closed
weatherunderground.0 2022-02-12 21:14:00.104 warn (1408) get state error: Connection is closed.
weatherunderground.0 2022-02-12 21:14:00.103 warn (1408) Could not perform strict object check of state weatherunderground.0.forecastHourly.26h.time: Connection is closed.
weatherunderground.0 2022-02-12 21:14:00.091 error (1408) Could not parse hourly Forecast-Data: Error: DB closed
weatherunderground.0 2022-02-12 21:14:00.090 warn (1408) get state error: Connection is closed.
weatherunderground.0 2022-02-12 21:14:00.089 warn (1408) Could not perform strict object check of state weatherunderground.0.forecastHourly.25h.time: Connection is closed.
weatherunderground.0 2022-02-12 21:14:00.086 error (1408) Could not parse hourly Forecast-Data: Error: DB closed
weatherunderground.0 2022-02-12 21:14:00.085 warn (1408) get state error: Connection is closed.
weatherunderground.0 2022-02-12 21:14:00.084 warn (1408) Could not perform strict object check of state weatherunderground.0.forecastHourly.24h.time: Connection is closed.
weatherunderground.0 2022-02-12 21:14:00.043 error (1408) Could not parse hourly Forecast-Data: Error: DB closed
weatherunderground.0 2022-02-12 21:14:00.041 warn (1408) get state error: Connection is closed.
weatherunderground.0 2022-02-12 21:14:00.041 warn (1408) Could not perform strict object check of state weatherunderground.0.forecastHourly.23h.time: Connection is closed.
weatherunderground.0 2022-02-12 21:14:00.038 error (1408) Could not parse hourly Forecast-Data: Error: DB closed
weatherunderground.0 2022-02-12 21:14:00.037 warn (1408) get state error: Connection is closed.
weatherunderground.0 2022-02-12 21:14:00.036 warn (1408) Could not perform strict object check of state weatherunderground.0.forecastHourly.22h.time: Connection is closed.
weatherunderground.0 2022-02-12 21:14:00.034 error (1408) Could not parse hourly Forecast-Data: Error: DB closed
weatherunderground.0 2022-02-12 21:14:00.012 warn (1408) get state error: Connection is closed.
weatherunderground.0 2022-02-12 21:14:00.011 warn (1408) Could not perform strict object check of state weatherunderground.0.forecastHourly.21h.time: Connection is closed.
weatherunderground.0 2022-02-12 21:14:00.009 error (1408) Could not parse hourly Forecast-Data: Error: DB closed
weatherunderground.0 2022-02-12 21:14:00.008 warn (1408) get state error: Connection is closed.
weatherunderground.0 2022-02-12 21:14:00.007 warn (1408) Could not perform strict object check of state weatherunderground.0.forecastHourly.20h.time: Connection is closed.
weatherunderground.0 2022-02-12 21:14:00.005 error (1408) Could not parse hourly Forecast-Data: Error: DB closed
weatherunderground.0 2022-02-12 21:13:59.970 warn (1408) get state error: Connection is closed.
weatherunderground.0 2022-02-12 21:13:59.970 warn (1408) Could not perform strict object check of state weatherunderground.0.forecastHourly.19h.time: Connection is closed.
weatherunderground.0 2022-02-12 21:13:59.967 error (1408) Could not parse hourly Forecast-Data: Error: DB closed
weatherunderground.0 2022-02-12 21:13:59.966 warn (1408) get state error: Connection is closed.
weatherunderground.0 2022-02-12 21:13:59.965 warn (1408) Could not perform strict object check of state weatherunderground.0.forecastHourly.18h.time: Connection is closed.
weatherunderground.0 2022-02-12 21:13:59.950 error (1408) Could not parse hourly Forecast-Data: Error: DB closed
weatherunderground.0 2022-02-12 21:13:59.949 warn (1408) get state error: Connection is closed.
weatherunderground.0 2022-02-12 21:13:59.948 warn (1408) Could not perform strict object check of state weatherunderground.0.forecastHourly.17h.time: Connection is closed.
weatherunderground.0 2022-02-12 21:13:59.946 error (1408) Could not parse hourly Forecast-Data: Error: DB closed
weatherunderground.0 2022-02-12 21:13:59.932 warn (1408) get state error: Connection is closed.
weatherunderground.0 2022-02-12 21:13:59.931 warn (1408) Could not perform strict object check of state weatherunderground.0.forecastHourly.16h.time: Connection is closed.
weatherunderground.0 2022-02-12 21:13:59.929 error (1408) Could not parse hourly Forecast-Data: Error: DB closed
weatherunderground.0 2022-02-12 21:13:59.928 warn (1408) get state error: Connection is closed.
weatherunderground.0 2022-02-12 21:13:59.926 warn (1408) Could not perform strict object check of state weatherunderground.0.forecastHourly.15h.time: Connection is closed.
weatherunderground.0 2022-02-12 21:13:59.923 error (1408) Could not parse hourly Forecast-Data: Error: DB closed
weatherunderground.0 2022-02-12 21:13:59.911 warn (1408) get state error: Connection is closed.
weatherunderground.0 2022-02-12 21:13:59.896 warn (1408) Could not perform strict object check of state weatherunderground.0.forecastHourly.14h.time: Connection is closed.
weatherunderground.0 2022-02-12 21:13:59.894 error (1408) Could not parse hourly Forecast-Data: Error: DB closed
weatherunderground.0 2022-02-12 21:13:59.892 warn (1408) get state error: Connection is closed.
weatherunderground.0 2022-02-12 21:13:59.891 warn (1408) Could not perform strict object check of state weatherunderground.0.forecastHourly.13h.time: Connection is closed.
weatherunderground.0 2022-02-12 21:13:59.889 error (1408) Could not parse hourly Forecast-Data: Error: DB closed
weatherunderground.0 2022-02-12 21:13:59.870 warn (1408) get state error: Connection is closed.
weatherunderground.0 2022-02-12 21:13:59.869 warn (1408) Could not perform strict object check of state weatherunderground.0.forecastHourly.12h.time: Connection is closed.
weatherunderground.0 2022-02-12 21:13:59.867 error (1408) Could not parse hourly Forecast-Data: Error: DB closed
weatherunderground.0 2022-02-12 21:13:59.865 warn (1408) get state error: Connection is closed.
weatherunderground.0 2022-02-12 21:13:59.864 warn (1408) Could not perform strict object check of state weatherunderground.0.forecastHourly.11h.time: Connection is closed.
weatherunderground.0 2022-02-12 21:13:59.852 error (1408) Could not parse hourly Forecast-Data: Error: DB closed
weatherunderground.0 2022-02-12 21:13:59.850 warn (1408) get state error: Connection is closed.
weatherunderground.0 2022-02-12 21:13:59.849 warn (1408) Could not perform strict object check of state weatherunderground.0.forecastHourly.10h.time: Connection is closed.
weatherunderground.0 2022-02-12 21:13:59.847 error (1408) Could not parse hourly Forecast-Data: Error: DB closed
weatherunderground.0 2022-02-12 21:13:59.846 warn (1408) get state error: Connection is closed.
weatherunderground.0 2022-02-12 21:13:59.845 warn (1408) Could not perform strict object check of state weatherunderground.0.forecastHourly.9h.time: Connection is closed.
weatherunderground.0 2022-02-12 21:13:59.832 error (1408) Could not parse hourly Forecast-Data: Error: DB closed
weatherunderground.0 2022-02-12 21:13:59.831 warn (1408) get state error: Connection is closed.
weatherunderground.0 2022-02-12 21:13:59.830 warn (1408) Could not perform strict object check of state weatherunderground.0.forecastHourly.8h.time: Connection is closed.
weatherunderground.0 2022-02-12 21:13:59.828 error (1408) Could not parse hourly Forecast-Data: Error: DB closed
weatherunderground.0 2022-02-12 21:13:59.826 warn (1408) get state error: Connection is closed.
weatherunderground.0 2022-02-12 21:13:59.826 warn (1408) Could not perform strict object check of state weatherunderground.0.forecastHourly.7h.time: Connection is closed.
weatherunderground.0 2022-02-12 21:13:59.820 error (1408) Could not parse hourly Forecast-Data: Error: DB closed
weatherunderground.0 2022-02-12 21:13:59.817 warn (1408) get state error: Connection is closed.
weatherunderground.0 2022-02-12 21:13:59.813 warn (1408) Could not perform strict object check of state weatherunderground.0.forecastHourly.6h.time: Connection is closed.
weatherunderground.0 2022-02-12 21:13:59.807 error (1408) Could not parse hourly Forecast-Data: Error: DB closed
weatherunderground.0 2022-02-12 21:13:59.801 warn (1408) get state error: Connection is closed.
weatherunderground.0 2022-02-12 21:13:59.800 warn (1408) Could not perform strict object check of state weatherunderground.0.forecastHourly.5h.time: Connection is closed.
weatherunderground.0 2022-02-12 21:13:59.755 error (1408) Could not parse hourly Forecast-Data: Error: DB closed
weatherunderground.0 2022-02-12 21:13:59.753 warn (1408) get state error: Connection is closed.
weatherunderground.0 2022-02-12 21:13:59.451 error (1408) Could not parse hourly Forecast-Data: Error: DB closed
weatherunderground.0 2022-02-12 21:13:59.450 warn (1408) get state error: Connection is closed.
weatherunderground.0 2022-02-12 21:13:59.264 error (1408) Could not parse hourly Forecast-Data: Error: DB closed
weatherunderground.0 2022-02-12 21:13:58.725 info (1408) Terminated (ADAPTER_REQUESTED_TERMINATION): Without reason
weatherunderground.0 2022-02-12 21:13:58.723 warn (1408) force terminate
weatherunderground.0 2022-02-12 21:12:34.117 info (1408) starting. Version 3.3.1 in /opt/iobroker/node_modules/iobroker.weatherunderground, node: v14.18.2, js-controller: 3.3.22
weatherunderground.0 2022-02-12 21:12:08.552 warn (1408) slow connection to states DB. Still waiting ...

`

Apollon77 commented 2 years ago

Ok this might be an issue, BUT it has NOTHING to do with the "Invalid date" topic and is worth its own issue

Apollon77 commented 2 years ago

duplicate #105