[Weather] Schon wieder Probleme?

Begonnen von Icinger, 19 Mai 2016, 21:32:57

Vorheriges Thema - Nächstes Thema

Icinger

Hi Leute, habt ihr auch schon wieder Probleme mit dem weather-Modul?

Seit ca. 19:15 wird mein Log geflutet:
2016.05.19 20:25:46 3: Weather: malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "<HTML>\n<HEAD>\n<TIT...") at FHEM/YahooWeatherAPI.pm line 242.

2016.05.19 20:26:47 3: Weather: malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "<HTML>\n<HEAD>\n<TIT...") at FHEM/YahooWeatherAPI.pm line 242.

2016.05.19 20:27:48 3: Weather: malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "<HTML>\n<HEAD>\n<TIT...") at FHEM/YahooWeatherAPI.pm line 242.

2016.05.19 20:28:49 3: Weather: malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "<HTML>\n<HEAD>\n<TIT...") at FHEM/YahooWeatherAPI.pm line 242.

2016.05.19 20:29:50 3: Weather: malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "<HTML>\n<HEAD>\n<TIT...") at FHEM/YahooWeatherAPI.pm line 242.

2016.05.19 20:30:50 3: Weather: malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "<HTML>\n<HEAD>\n<TIT...") at FHEM/YahooWeatherAPI.pm line 242.

2016.05.19 20:31:52 3: Weather: malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "<HTML>\n<HEAD>\n<TIT...") at FHEM/YahooWeatherAPI.pm line 242.

2016.05.19 20:32:53 3: Weather: malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "<HTML>\n<HEAD>\n<TIT...") at FHEM/YahooWeatherAPI.pm line 242.

2016.05.19 20:33:53 3: Weather: malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "<HTML>\n<HEAD>\n<TIT...") at FHEM/YahooWeatherAPI.pm line 242.

2016.05.19 20:34:56 3: Weather: malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "<HTML>\n<HEAD>\n<TIT...") at FHEM/YahooWeatherAPI.pm line 242.

2016.05.19 20:35:57 3: Weather: malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "<HTML>\n<HEAD>\n<TIT...") at FHEM/YahooWeatherAPI.pm line 242.

2016.05.19 20:36:58 3: Weather: malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "<HTML>\n<HEAD>\n<TIT...") at FHEM/YahooWeatherAPI.pm line 242.

2016.05.19 20:38:00 3: Weather: malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "<HTML>\n<HEAD>\n<TIT...") at FHEM/YahooWeatherAPI.pm line 242.

2016.05.19 20:38:33 3: CUL_HM set CUL_HM_HM_LC_SW2_FM_278991_Sw_02 on-for-timer 600
2016.05.19 20:39:03 3: Weather: malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "<HTML>\n<HEAD>\n<TIT...") at FHEM/YahooWeatherAPI.pm line 242.

2016.05.19 20:40:07 3: Weather: malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "<HTML>\n<HEAD>\n<TIT...") at FHEM/YahooWeatherAPI.pm line 242.

2016.05.19 20:41:08 3: Weather: query.yahooapis.com: Connection refused
2016.05.19 20:42:08 3: Weather: query.yahooapis.com: Connection refused
2016.05.19 20:43:30 3: Weather: read from to https://query.yahooapis.com:443 timed out
2016.05.19 20:44:33 3: Weather: query.yahooapis.com: Connection refused
2016.05.19 20:46:02 3: Weather: read from to https://query.yahooapis.com:443 timed out
2016.05.19 20:47:24 3: Weather: read from to https://query.yahooapis.com:443 timed out
2016.05.19 20:48:52 3: Weather: read from to https://query.yahooapis.com:443 timed out
2016.05.19 20:50:28 3: Weather: read from to https://query.yahooapis.com:443 timed out
2016.05.19 20:51:31 3: Weather: malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "<HTML>\n<HEAD>\n<TIT...") at FHEM/YahooWeatherAPI.pm line 242.

2016.05.19 20:52:46 3: Weather: https://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20weather.forecast%20where%20woeid=541772%20and%20u=%27c%27&format=json&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys: Can't connect(2) to https://query.yahooapis.com:443:  SSL wants a read first
2016.05.19 20:54:05 3: Weather: malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "<!DOCTYPE html>\n<ht...") at FHEM/YahooWeatherAPI.pm line 242.

2016.05.19 20:55:08 3: Weather: malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "<HTML>\n<HEAD>\n<TIT...") at FHEM/YahooWeatherAPI.pm line 242.

2016.05.19 20:56:24 3: Weather: read from to https://query.yahooapis.com:443 timed out
2016.05.19 20:57:40 3: Weather: read from to https://query.yahooapis.com:443 timed out
2016.05.19 20:58:56 3: Weather: read from to https://query.yahooapis.com:443 timed out
2016.05.19 21:00:17 3: Weather: read from to https://query.yahooapis.com:443 timed out
2016.05.19 21:01:42 3: Weather: read from to https://query.yahooapis.com:443 timed out
2016.05.19 21:03:10 3: Weather: read from to https://query.yahooapis.com:443 timed out
2016.05.19 21:04:15 3: Weather: malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "<!DOCTYPE html>\n<ht...") at FHEM/YahooWeatherAPI.pm line 242.

2016.05.19 21:05:32 3: Weather: read from to https://query.yahooapis.com:443 timed out
2016.05.19 21:06:33 3: Weather: malformed JSON string, neither array, object, number, string or atom, at character offset 0 (before "<HTML>\n<HEAD>\n<TIT...") at FHEM/YahooWeatherAPI.pm line 242.

2016.05.19 21:07:49 3: Weather: read from to https://query.yahooapis.com:443 timed out
2016.05.19 21:09:09 3: Weather: read from to https://query.yahooapis.com:443 timed out
2016.05.19 21:10:11 3: Weather: 0 result(s) retrieved
2016.05.19 21:11:28 3: Weather: read from to https://query.yahooapis.com:443 timed out
2016.05.19 21:12:31 3: Weather: 0 result(s) retrieved
2016.05.19 21:13:32 3: Weather: 0 result(s) retrieved
2016.05.19 21:14:21 3: CUL_HM set SZ_JalousieTaster 17
2016.05.19 21:14:21 3: CUL_HM set SZ_JalousieTaster 17
2016.05.19 21:14:49 3: Weather: read from to https://query.yahooapis.com:443 timed out
2016.05.19 21:16:07 3: Weather: read from to https://query.yahooapis.com:443 timed out
2016.05.19 21:17:24 3: Weather: read from to https://query.yahooapis.com:443 timed out
2016.05.19 21:18:27 3: Weather: 0 result(s) retrieved
2016.05.19 21:19:28 3: Weather: 0 result(s) retrieved
2016.05.19 21:20:47 3: Weather: read from to https://query.yahooapis.com:443 timed out
2016.05.19 21:22:03 3: Weather: read from to https://query.yahooapis.com:443 timed out
2016.05.19 21:23:03 3: Weather: query.yahooapis.com: Connection refused
2016.05.19 21:24:19 3: Weather: read from to https://query.yahooapis.com:443 timed out
2016.05.19 21:25:36 3: Weather: read from to https://query.yahooapis.com:443 timed out
2016.05.19 21:26:53 3: Weather: read from to https://query.yahooapis.com:443 timed out
2016.05.19 21:27:54 3: Weather: 0 result(s) retrieved
2016.05.19 21:29:10 3: Weather: read from to https://query.yahooapis.com:443 timed out
2016.05.19 21:30:32 3: Weather: read from to https://query.yahooapis.com:443 timed out


Was mir in diesem Zusammenhang grade auch aufgefallen ist:
Weather unterstützt das disable-Attribut nicht :((
Wollte es vorübergehend einfach ausschalten, aber damit schauts nu schlecht aus

lg, Stefan
Verwende deine Zeit nicht mit Erklärungen. Die Menschen hören (lesen) nur, was sie hören (lesen) wollen. (c) Paulo Coelho

octek0815


betateilchen

Zitat von: Icinger am 19 Mai 2016, 21:32:57
Was mir in diesem Zusammenhang grade auch aufgefallen ist:
Weather unterstützt das disable-Attribut nicht :((
Wollte es vorübergehend einfach ausschalten, aber damit schauts nu schlecht aus

Workaround: setze das Aktualisierungsintervall auf 1000000 Sekunden :)
-----------------------
Formuliere die Aufgabe möglichst einfach und
setze die Lösung richtig um - dann wird es auch funktionieren.
-----------------------
Lesen gefährdet die Unwissenheit!

octek0815

Es scheint wieder zu funktionieren. Zumindest bei mir.

isy

Ein Weg wird erst zu einem Weg, wenn man ihn geht

buennerbernd

Ich habe das Problem, dass Die Temperatur im Fhem bei mir gerade 13 Grad ist, aber auf der Website für den gleichen Ort 16 Grad.
Hat das noch jemand? Ist da etwas falsch gemappt?

https://de.nachrichten.yahoo.com/wetter/deutschland/brandenburg/seegefeld-694133
Modulentwickler von KLF200 und KLF200Node

Wichtel

Ähnliche Effekte bemerke ich immer wieder mal bei den 2 verschiedenen, unterschiedlich alten aber original von Apple mitgelieferten Wetter-Widgets in Mac OS X.
Das ist einmal das seit vielen Jahren im Dashboard integrierte, und dann das neuere in der "Mitteilungszentrale" die in den Bildschirmrand einblendbar ist.

Diejenige im Dashboard funktionierte auch wochenlang gar nicht, das neuere durchgehend.

Dietmar63

Sieht so aus als würde der Service von Yahoo manchmal kein Json sondern HTML liefern - ist beim Modul Twilight auch passiert.

Gruß Dietmar
FB7390, CUL, 2 FHT, FS20
modules: 98_WOL.pm, 98_Heating_Control.pm,   98_WeekdayTimer.pm, 98_RandomTimer.pm, 59_Twilight.pm