FHEM Forum

FHEM - Hausautomations-Systeme => Unterstützende Dienste => Wettermodule => Thema gestartet von: LuckyDay am 28 März 2016, 15:41:25

Titel: Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: LuckyDay am 28 März 2016, 15:41:25
     2016-03-28 02:30:49   lastError       read from to https://query.yahooapis.com:443 timed out
     2016-03-28 02:20:43   lat             48.998981
     2016-03-28 02:20:43   long            9.14123
     2016-03-28 02:20:43   pressure        984


Bei mir werden nach lastError keine neuen Versuche gestartet. Sieht aus wie wenn kein neuer Timer mehr gestartet wird
Nach set <Wettertest> update läuft es bis zum nächsten lastError read from to https://query.yahooapis.com:443 timed out
und bleibt wieder hängen.

Boris , es sind die Testversionen von heute Nacht. kann dir leider nicht im Devloperbereich schreiben
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: CoolTux am 28 März 2016, 15:44:15
Kann ich so nicht nachvollziehen. Ich bekomme trotz der Fehlermeldung bei weiteren Versuchen Daten. Teste gerade sehr intensiv.


Grüße
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: Dr. Boris Neubert am 28 März 2016, 15:49:08
Zitat von: fhem-hm-knecht am 28 März 2016, 15:41:25
Bei mir werden nach lastError keine neuen Versuche gestartet. Sieht aus wie wenn kein neuer Timer mehr gestartet wird

Hab's gefixt und eingecheckt.

Danke für den Hinweis.
Boris
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: CoolTux am 28 März 2016, 21:09:42
Nach nem Update bekomme ich nun steht und ständig diese Meldung das er in ein Timeout läuft. Selbst nach dem ich das timeout im API Modul hoch gesetzt habe auf 10s
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: Dr. Boris Neubert am 28 März 2016, 21:10:42
Update aus SVN oder Update per update auf der FHEM-Kommandozeile?
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: CoolTux am 28 März 2016, 21:14:47
per SVN. Ist die Version wo Du schon das $hash->{NOTIFYDEV} = "global"; ins Define gemacht hast
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: Dr. Boris Neubert am 28 März 2016, 21:21:46
Hallo,

ich bekomme derzeit auch Timeouts. Das liegt wohl an Yahoo, nicht am Modul, weil auch ein manuelles set ... update auf einen Timeout läuft.

Habe gerade noch eine neue Version eingecheckt, weil in der letzten das Reading code fehlte.

Grüße
Boris
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: CoolTux am 28 März 2016, 21:28:17
Vielen Dank für die Info.
Mache gleich mal ein Update.
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: Dr. Boris Neubert am 28 März 2016, 21:31:24
So, bei mir geht's wieder.

Ich klopfe mir auf die Schulter, weil ich den ganzen Kode zur Fehlerbehandlung und Aktualitätsprüfung dringelassen habe.
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: CoolTux am 28 März 2016, 21:34:11
 ;D

Ich klopfe mit weil Du es in so kurzer Zeit nicht nur angepasst sondern auch gleich noch ne API drumrum gebastelt hast.   ;D
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: franky08 am 28 März 2016, 22:24:32
Ich klopfe auch mit, danke Boris! Und das Ganze an den Feiertagen!

VG
Frank
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: Tom111 am 29 März 2016, 14:52:34
Hallo,

hab gerade ein Update gemacht und bekomme jetzt folgenden LOG-Eintrag:
2016.03.29 14:49:18 3: vetero: https://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20weather.forecast%20where%20woeid=20066406%20and%20u=%27c%27&format=json&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys: Can't connect(2) to https://query.yahooapis.com:443:  SSL Version SSLv2 not supported error:00000000:lib(0):func(0):reason(0)

???
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: dev0 am 29 März 2016, 14:59:59
ZitatSSL Version SSLv2 not supported
SSLv2 sollte man definitiv nicht mehr benutzen, was Yahoo auch nicht macht.
Hast Du vielleicht das Attribut "sslVersion" gesetzt?
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: Tom111 am 29 März 2016, 15:07:49
Zitat von: dev0 am 29 März 2016, 14:59:59
SSLv2 sollte man definitiv nicht mehr benutzen, was Yahoo auch nicht macht.
Hast Du vielleicht das Attribut "sslVersion" gesetzt?
hmmm, ich wüsste nicht wo ich das Attribut gesetzt haben sollte, kannst du mir mal ein Tipp geben wo ich nachgucken soll?
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: CoolTux am 29 März 2016, 15:08:50
Schau mal in Deine "global" Definition
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: dev0 am 29 März 2016, 15:17:00
Wenn es an dem Attribut liegt, dann findest Du es so:

list a:sslVersion=.+


Edit: Vertipper: sslVersion nicht sslVerison
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: CoolTux am 29 März 2016, 15:18:19
Hier findest Du weiterführende Informationen

https://forum.fhem.de/index.php?topic=39094.0
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: Tom111 am 29 März 2016, 15:23:36
Zitat von: dev0 am 29 März 2016, 15:17:00
Wenn es an dem Attribut liegt, dann findest Du es so:

list a:sslVersion=.+


Edit: Vertipper: sslVersion nicht sslVerison

wenn ich das so eingebe:

list a:sslVersion=.+


bekomme ich nichts angezeigt. ???
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: dev0 am 29 März 2016, 15:25:42
Aus irgendeinem Grund versucht sich Dein System mit SSLv2 zu verbinden. Benutzt Du eine ur-alt Plattform?
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: CoolTux am 29 März 2016, 15:28:09
Oder eine alte fhem.pl

Mach mal bitte ein fheminfo
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: Tom111 am 29 März 2016, 15:29:16
Zitat von: dev0 am 29 März 2016, 15:25:42
Aus irgendeinem Grund versucht sich Dein System mit SSLv2 zu verbinden. Benutzt Du eine ur-alt Plattform?
Was für eine Plattform?
Alle Daten stehen hier ↓↓↓↓
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: dev0 am 29 März 2016, 15:37:03
Sorry, da seht viel: Fhem auf Fritz oder Raspberry?
fheminfo, bitte.
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: Tom111 am 29 März 2016, 15:41:47
Leute, was habt ihr mit eurer SSL Version ?
Das steht so in der "YahooWeatherAPI.pm", das ist eine Vorgabe, da kann ich nicht verstellen!

use constant URL => "https://query.yahooapis.com/v1/public/yql?q=select%%20*%%20from%%20weather.forecast%%20where%%20woeid=%s%%20and%%20u=%%27c%%27&format=%s&env=store%%3A%%2F%%2Fdatatables.org%%2Falltableswithkeys";
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: dev0 am 29 März 2016, 15:49:11
Zitat von: Tom111 am 29 März 2016, 14:52:34
Can't connect(2) to https://query.yahooapis.com:443:  SSL Version SSLv2 not supported error:00000000:lib(0):func(0):reason(0)
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: Tom111 am 29 März 2016, 15:53:31
Zitat von: dev0 am 29 März 2016, 15:49:11
Can't connect(2) to https://query.yahooapis.com:443:  SSL Version SSLv2 not supported error:00000000:lib(0):func(0):reason(0)
Also meiner Meinung nach fehlt da etwas, was ich noch installieren muss/soll!?
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: dev0 am 29 März 2016, 15:55:35
Kein fheminfo, keine Aussage über Deine Plattform. Ich bin raus.
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: franky08 am 29 März 2016, 16:49:51
@Tom111

Aber mit attr global sslVersion z.B. ...
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: LuckyDay am 29 März 2016, 19:20:58
@ Boris Readings in Fahrenheit
als komplette listausgabe mit SVN Version 29.03.2016
ist lustig ab und zu mit deutsch

Internals:
   DEF        12836009 1800 de
   INTERVAL   1800
   LANG       de
   LOCATION   12836009
   NAME       bibi
   NOTIFYDEV  global
   NR         21
   NTFY_ORDER 50-bibi
   STATE      T: 55  H: 45  W: 4  P: 1
   TYPE       Weather
   UNITS      c
   Readings:
     2016-03-29 18:58:46   city            Bietigheim-Bissingen
     2016-03-29 18:58:46   code            26
     2016-03-29 18:58:46   condition       wolkig
     2016-03-29 18:58:46   country         Germany
     2016-03-29 18:58:46   current_date_time Tue, 29 Mar 2016 06:00 PM CEST
     2016-03-29 18:58:46   day_of_week     Di
     2016-03-29 18:58:46   description     Yahoo! Weather for Bietigheim-Bissingen, BW, DE
     2016-03-29 18:58:46   fc10_code       28
     2016-03-29 18:58:46   fc10_condition  überwiegend wolkig
     2016-03-29 18:58:46   fc10_date       07 Apr 2016
     2016-03-29 18:58:46   fc10_day_of_week Do
     2016-03-29 18:58:46   fc10_high_c     57
     2016-03-29 18:58:46   fc10_icon       mostlycloudy
     2016-03-29 18:58:46   fc10_low_c      44
     2016-03-29 18:58:46   fc1_code        12
     2016-03-29 18:58:46   fc1_condition   Schauer
     2016-03-29 18:58:46   fc1_date        29 Mar 2016
     2016-03-29 18:58:46   fc1_day_of_week Di
     2016-03-29 18:58:46   fc1_high_c      54
     2016-03-29 18:58:46   fc1_icon        chance_of_rain
     2016-03-29 18:58:46   fc1_low_c       44
     2016-03-29 18:58:46   fc2_code        39
     2016-03-29 18:58:46   fc2_condition   vereinzelt Gewitter
     2016-03-29 18:58:46   fc2_date        30 Mar 2016
     2016-03-29 18:58:46   fc2_day_of_week Mi
     2016-03-29 18:58:46   fc2_high_c      50
     2016-03-29 18:58:46   fc2_icon        scatteredthunderstorms
     2016-03-29 18:58:46   fc2_low_c       45
     2016-03-29 18:58:46   fc3_code        39
     2016-03-29 18:58:46   fc3_condition   vereinzelt Gewitter
     2016-03-29 18:58:46   fc3_date        31 Mar 2016
     2016-03-29 18:58:46   fc3_day_of_week Do
     2016-03-29 18:58:46   fc3_high_c      66
     2016-03-29 18:58:46   fc3_icon        scatteredthunderstorms
     2016-03-29 18:58:46   fc3_low_c       45
     2016-03-29 18:58:46   fc4_code        28
     2016-03-29 18:58:46   fc4_condition   überwiegend wolkig
     2016-03-29 18:58:46   fc4_date        01 Apr 2016
     2016-03-29 18:58:46   fc4_day_of_week Fr
     2016-03-29 18:58:46   fc4_high_c      52
     2016-03-29 18:58:46   fc4_icon        mostlycloudy
     2016-03-29 18:58:46   fc4_low_c       43
     2016-03-29 18:58:46   fc5_code        30
     2016-03-29 18:58:46   fc5_condition   teilweise wolkig
     2016-03-29 18:58:46   fc5_date        02 Apr 2016
     2016-03-29 18:58:46   fc5_day_of_week Sa
     2016-03-29 18:58:46   fc5_high_c      64
     2016-03-29 18:58:46   fc5_icon        partly_cloudy
     2016-03-29 18:58:46   fc5_low_c       42
     2016-03-29 18:58:46   fc6_code        30
     2016-03-29 18:58:46   fc6_condition   teilweise wolkig
     2016-03-29 18:58:46   fc6_date        03 Apr 2016
     2016-03-29 18:58:46   fc6_day_of_week So
     2016-03-29 18:58:46   fc6_high_c      65
     2016-03-29 18:58:46   fc6_icon        partly_cloudy
     2016-03-29 18:58:46   fc6_low_c       46
     2016-03-29 18:58:46   fc7_code        12
     2016-03-29 18:58:46   fc7_condition   Schauer
     2016-03-29 18:58:46   fc7_date        04 Apr 2016
     2016-03-29 18:58:46   fc7_day_of_week Mo
     2016-03-29 18:58:46   fc7_high_c      59
     2016-03-29 18:58:46   fc7_icon        chance_of_rain
     2016-03-29 18:58:46   fc7_low_c       48
     2016-03-29 18:58:46   fc8_code        39
     2016-03-29 18:58:46   fc8_condition   vereinzelt Gewitter
     2016-03-29 18:58:46   fc8_date        05 Apr 2016
     2016-03-29 18:58:46   fc8_day_of_week Di
     2016-03-29 18:58:46   fc8_high_c      58
     2016-03-29 18:58:46   fc8_icon        scatteredthunderstorms
     2016-03-29 18:58:46   fc8_low_c       48
     2016-03-29 18:58:46   fc9_code        39
     2016-03-29 18:58:46   fc9_condition   vereinzelt Gewitter
     2016-03-29 18:58:46   fc9_date        06 Apr 2016
     2016-03-29 18:58:46   fc9_day_of_week Mi
     2016-03-29 18:58:46   fc9_high_c      57
     2016-03-29 18:58:46   fc9_icon        scatteredthunderstorms
     2016-03-29 18:58:46   fc9_low_c       47
     2016-03-29 18:58:46   humidity        45
     2016-03-29 18:58:46   icon            cloudy
     2016-03-29 18:58:46   lastError
     2016-03-29 18:58:46   lat             48.954899
     2016-03-29 18:58:46   long            9.11773
     2016-03-29 18:58:46   pressure        1
     2016-03-29 18:58:46   pressure_trend  0
     2016-03-29 18:58:46   pressure_trend_sym =
     2016-03-29 18:58:46   pressure_trend_txt gleichbleibend
     2016-03-29 18:58:46   pubDate         Tue, 29 Mar 2016 06:00 PM CEST
     2016-03-29 18:58:46   pubDateComment  okay
     2016-03-29 18:58:46   pubDateRemote   Tue, 29 Mar 2016 06:00 PM CEST
     2016-03-29 18:58:46   pubDateTs       1459267200
     2016-03-29 18:58:46   region           BW
     2016-03-29 18:58:46   state           T: 55  H: 45  W: 4  P: 1
     2016-03-29 18:58:46   temp_c          55
     2016-03-29 18:58:46   temperature     55
     2016-03-29 18:58:46   unit_distance   mi
     2016-03-29 18:58:46   unit_pressuree  in
     2016-03-29 18:58:46   unit_speed      mph
     2016-03-29 18:58:46   unit_temperature F
     2016-03-29 18:58:46   validity        up-to-date
     2016-03-29 18:58:46   visibility      10
     2016-03-29 18:58:46   wind            4
     2016-03-29 18:58:46   wind_chill      13
     2016-03-29 18:58:46   wind_condition  Wind: WNW 4 km/h
     2016-03-29 18:58:46   wind_direction  290
     2016-03-29 18:58:46   wind_speed      4
   Fhem:
     interfaces temperature;humidity;wind
   Helper:
     Bm:
       Weather_get:
         cnt        4
         dmx        0
         mAr
         max        0
         tot        0
       Weather_notify:
         cnt        1
         dmx        0
         mAr
         max        0
         tot        0
       Weather_set:
         cnt        25
         dmx        0
         mAr
         max        0
         tot        0
Attributes:
   room       Test
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: Tom111 am 29 März 2016, 21:04:08
Zitat von: dev0 am 29 März 2016, 15:55:35
Kein fheminfo, keine Aussage über Deine Plattform. Ich bin raus.

Alles klar..... und deshalb sage ich:

Zitat
hab es selber herausgefunden, konnte in bestimmten Situationen schon vorkommen,  der eine oder andere User wird bestimmt auch noch betroffen sein!
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: HeikoE am 29 März 2016, 21:30:30
Hallo zusammen,
bei mir geht das Weather Modul auch nicht mehr. Deshalb habe ich gerade ein FHEM Update gemacht.
Dann noch das Modul JSON nachinstalliert.
Dann kommt folgende Meldung:

2016.03.29 21:02:57 3: DR.YahooWetter: https://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20weather.forecast%20where%20woeid=20066593%20and%20u=%27c%27&format=json&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys: empty answer received

Es gibt sicher noch ein Restrisko bei meiner Installation: FHEM läuft auf einer FB 7390.
Kann es daran liegen? Oder liegt noch ein anderes Problem vor?
Im Logfile stand nach dem Neustart jedenfalls nichts auffälliges drin.
Die Definition sieht so aus

define DR.YahooWetter Weather 20066593 1200 de


Gruß Heiko
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: locodriver am 30 März 2016, 10:16:14
@Tom: Lässt du uns an deinen Erkenntnissen bitte teilhaben? :)

Ich habe nahc dem Update folgende Fehlermeldung:

https://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20weather.forecast%20where%20woeid=640392%20and%20u=%27c%27&format=json&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys: Can't connect(2) to https://query.yahooapis.com:443: SSL Version SSLv2 not supported error:00000000:lib(0):func(0):reason(0)


Die letzten gültigen Wetterdaten sind vom 24.3.
An meiner Wetterdefinition habe ich sonst nichts geändert.

CFGFN      ./FHEM/10_Wetter.cfg
   CHANGED
   DEF        640392 1800 de
   INTERVAL   1800
   LANG       de
   LOCATION   640392
   NAME       Wetter_Borsdorf
   NOTIFYDEV  global
   NR         339
   NTFY_ORDER 50-Wetter_Borsdorf
   STATE      T: 4  H: 68  W: 1  P: 1015
   TYPE       Weather
   UNITS      c
   Readings:
     2016-03-24 21:14:54   city            Borsdorf, Germany
     2016-03-24 21:14:54   code            26
     2016-03-24 21:14:54   condition       wolkig
     2016-03-30 10:07:18   current_date_time none
     2016-03-24 21:14:54   day_of_week     Do
     2016-03-24 21:14:54   dewpoint        -1.4
     2016-03-24 21:14:54   fc1_code        26
     2016-03-24 21:14:54   fc1_condition   wolkig
     2016-03-24 21:14:54   fc1_day_of_week Do
     2016-03-24 21:14:54   fc1_high_c      8
     2016-03-24 21:14:54   fc1_icon        cloudy
     2016-03-24 21:14:54   fc1_low_c       4
     2016-03-24 21:14:54   fc2_code        11
     2016-03-24 21:14:54   fc2_condition   Schauer
     2016-03-24 21:14:54   fc2_day_of_week Fr
     2016-03-24 21:14:54   fc2_high_c      9
     2016-03-24 21:14:54   fc2_icon        chance_of_rain
     2016-03-24 21:14:54   fc2_low_c       5
     2016-03-24 21:14:54   fc3_code        30
     2016-03-24 21:14:54   fc3_condition   teilweise wolkig
     2016-03-24 21:14:54   fc3_day_of_week Sa
     2016-03-24 21:14:54   fc3_high_c      11
     2016-03-24 21:14:54   fc3_icon        partly_cloudy
     2016-03-24 21:14:54   fc3_low_c       3
     2016-03-24 21:14:54   fc4_code        28
     2016-03-24 21:14:54   fc4_condition   überwiegend wolkig
     2016-03-24 21:14:54   fc4_day_of_week So
     2016-03-24 21:14:54   fc4_high_c      14
     2016-03-24 21:14:54   fc4_icon        mostlycloudy
     2016-03-24 21:14:54   fc4_low_c       4
     2016-03-24 21:14:54   fc5_code        34
     2016-03-24 21:14:54   fc5_condition   heiter
     2016-03-24 21:14:54   fc5_day_of_week Mo
     2016-03-24 21:14:54   fc5_high_c      15
     2016-03-24 21:14:54   fc5_icon        mostly_sunny
     2016-03-24 21:14:54   fc5_low_c       7
     2016-03-24 21:14:54   humidity        68
     2016-03-24 21:14:54   icon            cloudy
     2016-03-30 10:08:23   lastError       https://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20weather.forecast%20where%20woeid=640392%20and%20u=%27c%27&format=json&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys: Can't connect(2) to https://query.yahooapis.com:443:  SSL Version SSLv2 not supported error:00000000:lib(0):func(0):reason(0)
     2016-03-24 21:14:54   pressure        1015
     2016-03-24 20:44:54   pressure_trend  1
     2016-03-24 20:44:54   pressure_trend_sym +
     2016-03-24 20:44:54   pressure_trend_txt steigend
     2016-03-24 21:14:54   pubDate         Thu, 24 Mar 2016 8:59 pm CET
     2016-03-29 20:40:03   pubDateComment  no pubDate received
     2016-03-24 21:14:54   pubDateRemote   Thu, 24 Mar 2016 8:59 pm CET
     2016-03-29 20:40:03   pubDateTs       0
     2016-03-29 20:40:03   state           T: 4  H: 68  W: 1  P: 1015
     2016-03-24 21:14:54   temp_c          4
     2016-03-24 21:14:54   temp_f          39
     2016-03-24 21:14:54   temperature     4
     2016-03-30 10:08:23   validity        stale
     2016-03-24 21:14:54   visibility      15
     2016-03-24 21:14:54   wind            1
     2016-03-24 21:14:54   wind_chill      4
     2016-03-24 21:14:54   wind_condition  Wind: S 1 km/h
     2016-03-24 21:14:54   wind_direction  190
     2016-03-24 21:14:54   wind_speed      1
   Fhem:
     interfaces temperature;humidity;wind
Attributes:
   event-on-change-reading forecast_date,fc0_condition,fc1_low_c,fc1_high_c,wind_chill
   event-on-update-reading wind,humidity,temperature,fc1_low_c,fc1_high_c,wind_chill


Danke für die Unterstützung!

Uwe
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: CoolTux am 30 März 2016, 10:29:31
Bevor Du vor Dem noch nen Kniefall machst.
Versuch mal bitte ein Update Deines Systems zu machen.
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: locodriver am 30 März 2016, 10:54:59
Gestern Abend erst gemacht - aber ich sehe, es gibt schon wieder ein Wetterupdate. Danke für die Info. Werde gleich mal schauen...
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: franky08 am 30 März 2016, 11:00:21
Komisch, bei mir funktioniert alles wunderbar mit Version:
59_Weather.pm            11142 2016-03-28 19:20:21Z borisneubert

VG
Frank
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: CoolTux am 30 März 2016, 11:05:07
Zitat von: locodriver am 30 März 2016, 10:54:59
Gestern Abend erst gemacht - aber ich sehe, es gibt schon wieder ein Wetterupdate. Danke für die Info. Werde gleich mal schauen...
Ok falsch ausgedrückt. Ich meine das Betriebssystem. Gehe mal von Raspbian aus. Also bitte ein apt-get machen.


Grüße
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: locodriver am 30 März 2016, 11:08:10
Ah - ok. Denn nach neuem fhem-Update besteht der Fehler immer noch. Werde den pi noch updaten.
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: CoolTux am 30 März 2016, 11:16:08
Am besten komplett. Also erst upgrade und dann dist-upgrade. Das ganze Perl SSL geraffel hast Du installiert?
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: locodriver am 30 März 2016, 11:40:17
Bin noch dabei, der pi hat erstmal einen neuen Kernel installiert, jetzt will ich die Software des pi nochmal updaten.

Kann aber erst morgen weiter machen - muss zur Arbeit.

Danke einstweilen!
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: dev0 am 30 März 2016, 11:49:32
Zitat von: locodriver am 30 März 2016, 10:16:14
@Tom: Lässt du uns an deinen Erkenntnissen bitte teilhaben?
Ich tippe darauf, dass er selbst das perl Modul IO::SOCKET::SSL modifiziert hatte ohne zu Wissen was er tut und daraus resultierte der Fehler.
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: CoolTux am 30 März 2016, 11:56:57
Aber wieso bekommt der Uwe dann auch einen SSL Fehler? Schon seltsam.
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: dev0 am 30 März 2016, 12:31:25
Auch hier kann ich nur raten, dass entweder das sslVersion Atrribut so gesetzt ist oder auch die SSL Lib angefasst wurde. Leider gibt es Beiträge wie diesen (https://forum.fhem.de/index.php/topic,51501.msg431559.html#msg431559) öfters. Alternativ könnte ich mir noch eine ur-alt IO::SOCKET:SSL Version vorstellen.
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: Harald am 30 März 2016, 14:35:39
Hallo zusammen,

irgend etwas mache ich noch falsch  >:( . Ich habe ein FHEM-Update durchgeführt und die libjson-perl installiert, so wie Boris schrieb. Leider erscheint nach dem Start von FHEM die Meldung "Cannot load module Weather". An den Einstellungen in der fhem.cfg habe ich gegenüber früher nicht weiter geändert.

Im Log befinden sich folgende Angaben:
2016.03.30 14:20:00 1: reload: Error:Modul 59_Weather deactivated:
Attempt to reload YahooWeatherAPI.pm aborted.
Compilation failed in require at ./FHEM/59_Weather.pm line 33, <$fh> line 717.
BEGIN failed--compilation aborted at ./FHEM/59_Weather.pm line 33, <$fh> line 717.

2016.03.30 14:20:00 0: Attempt to reload YahooWeatherAPI.pm aborted.
Compilation failed in require at ./FHEM/59_Weather.pm line 33, <$fh> line 717.
BEGIN failed--compilation aborted at ./FHEM/59_Weather.pm line 33, <$fh> line 717.


Außerdem habe ich noch folgende Meldungen, die vermutlich verursacht werden, weil Weather nicht läuft, oder?

2016.03.30 14:45:18 1: PERL WARNING: Use of uninitialized value $current in numeric ge (>=) at ./FHEM/59_Twilight.pm line 463, <$fh> line 930.
2016.03.30 14:45:18 1: PERL WARNING: Use of uninitialized value $current in numeric le (<=) at ./FHEM/59_Twilight.pm line 463, <$fh> line 930.
2016.03.30 14:45:18 1: PERL WARNING: Use of uninitialized value $current in array element at ./FHEM/59_Twilight.pm line 464, <$fh> line 930.
2016.03.30 14:45:19 1: Including ./log/fhem.save


Kann mir jemand einen Tipp geben, wo ich weiter suchen kann?

Vielen Dank und schöne Grüße

Harald
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: CoolTux am 30 März 2016, 16:33:28
Kann es sein das Dir die YahooWeatherAPI.PM fehlt? Schau mal bitte ob das Modul da ist.
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: Harald am 30 März 2016, 16:38:29
Hallo CoolTux,

danke für die Antwort. Ja, ist vorhanden und liegt in /fhem/FHEM/ dort, wo auch die 59_Weather.pm liegt. Berechtigung ist bei beiden 0666, Benutzer fhem, Gruppe dialout.

Harald
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: CoolTux am 30 März 2016, 16:46:05
Da beide Module ,Twilight als auch Weather das Modul YahooWeatherAPI.pm verwenden und beide Module Fehler in die Richtung melden muss was mit dem Modul nicht stimmen. Kannst du es noch mal frisch aus dem SVN ziehen?
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: Harald am 30 März 2016, 17:29:49
Habe mir beide heruntergeladen (Weather und API) und eins nach dem andern ersetzt. Es erfolgen in beiden Fällen die gleichen Fehlermeldungen beim Neustart von FHEM.

Harald

PS: Ach ja, Twilight scheint trotzdem zu laufen, da plausible Daten mit richtigem Datum und Zeit in den Readings stehen.
      Holt Twilight sich die Daten von Weather oder mittels der API? Im 2. Falle sollte der Fehler an 59_Weather liegen, oder?
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: CoolTux am 30 März 2016, 17:36:08
Line 33 Weather.pm ist die Fehlermeldung. In Zeile 33 will er das YahooWeatherAPI laden. Also muss irgendwas damit sein. Bitte mach mal ein ls -all YahooWeatherAPI. pm
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: CoolTux am 30 März 2016, 17:39:05
Das hast Du gemacht?


apt-get install libperl-JSON


Was für eine Distri hast Du? Raspbian? Welche Debian Basis? 8 oder noch 7
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: Harald am 30 März 2016, 17:45:44
ls -all YahooWeatherAPI.pm ergibt    -rw-rw-rw 1 fhem dialout 10485 Mär 30 17:06 YahooWeatherAPI.pm

Ein apt-get install libperl-JSON findet das Packet nicht aber ein apt-get install libjson-perl, so wie Boris das beschrieben hat, funktioniert.

apt-get update und upgrade habe ich vorher durchgeführt auch apt-file update.
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: CoolTux am 30 März 2016, 17:52:36
Echt kein Plan im Moment. Ist die Fehlermeldung immer noch die selbe? Welche Version von Perl? Mach mal bitte ein fheminfo
Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: Harald am 30 März 2016, 18:01:32
Ja, Fehermeldungen sind noch die gleiche, wenn fhem neu gestartet wird - und hier die fheminfo:
Fhem info:
  Release  : 5.7 FeatureLevel: 5.6
  OS       : linux
  Arch     : arm-linux-gnueabihf-thread-multi-64int
  Perl     : v5.14.2
  uniqueID : 09ebb70bc0dd79e332831ba1f1e0f2de
  upTime   : 04:20:21

Defined modules:
  CUL         : 1
  CUL_WS      : 1
  FHEMWEB     : 3
  FS20        : 2
  FileLog     : 26
  HMS         : 4
  IT          : 4
  JeeLink     : 1
  LaCrosse    : 4
  MAX         : 8
  MAXLAN      : 1
  RandomTimer : 4
  SVG         : 20
  SYSMON      : 1
  Twilight    : 1
  at          : 5
  autocreate  : 1
  dummy       : 6
  notify      : 3
  telnet      : 1
  weblink     : 1

Defined models per module:
  IT          : itswitch
  JeeLink     : [LaCrosseITPlusReader.10.1h (RFM12B) @17241 kbps / 868300 kHz]

Transmitting this information during an update: yes
You can change this via the global attribute sendStatistics


Sollte eigentlich alles aktuell sein, da ich heute erst ein FHEM-Update mit nachfolgendem Neustart (auch des Raspis) gemacht habe.

Titel: Antw:Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3
Beitrag von: Dr. Boris Neubert am 30 März 2016, 18:04:50
Hallo,

könntet Ihr bitte nicht JEDES Problem in diesem Thema behandeln sondern für jedes separate Problem ein separates Thema aufmachen?

Dieses Thema ist schon unüberschaubar geworden. Und deswegen schließe ich es jetzt.

Viele Grüße
Boris