Weathermodul bleibt hängen nach "https://query.yahooapis.com:443 timed out" 28.3

Begonnen von LuckyDay, 28 März 2016, 15:41:25

Vorheriges Thema - Nächstes Thema

locodriver

@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
fhem 6.0 auf Rpi3 Bookworm
HM-LAN-CFG (FW 0.965), HM-MOD-UART, 2x HM-TC-IT-WM-W-EU, 4x HM-Sec-RHS und 3x HM-CC-RT-DN, 6x HM-LC-Bl1-FM mit je 1x Somfy-Motor,
2x HM-LC-SW2-FM für Licht und Lüfter, 2x HM-PB-6-WM55, Alexa, Jeelinkcross, CUL, CUNO2, IR-Blaster

CoolTux

Bevor Du vor Dem noch nen Kniefall machst.
Versuch mal bitte ein Update Deines Systems zu machen.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

locodriver

Gestern Abend erst gemacht - aber ich sehe, es gibt schon wieder ein Wetterupdate. Danke für die Info. Werde gleich mal schauen...
fhem 6.0 auf Rpi3 Bookworm
HM-LAN-CFG (FW 0.965), HM-MOD-UART, 2x HM-TC-IT-WM-W-EU, 4x HM-Sec-RHS und 3x HM-CC-RT-DN, 6x HM-LC-Bl1-FM mit je 1x Somfy-Motor,
2x HM-LC-SW2-FM für Licht und Lüfter, 2x HM-PB-6-WM55, Alexa, Jeelinkcross, CUL, CUNO2, IR-Blaster

franky08

Komisch, bei mir funktioniert alles wunderbar mit Version:
59_Weather.pm            11142 2016-03-28 19:20:21Z borisneubert

VG
Frank
Debian Wheezy auf ZBOX nano/ Debian Bullseye auf 2.ter ZBOX nano F2F an 2x RaspiB
22Zoll ViewSonic als Infodislay (WVC)
3xHMLAN mit vccu ,fhem5.8, CCU2,
ECMD an AVR-NET-IO mit DAC u. ADC an Junkers Stetigregelung, Siemens LOGO!8, JeeLink uvm...

CoolTux

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
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

locodriver

Ah - ok. Denn nach neuem fhem-Update besteht der Fehler immer noch. Werde den pi noch updaten.
fhem 6.0 auf Rpi3 Bookworm
HM-LAN-CFG (FW 0.965), HM-MOD-UART, 2x HM-TC-IT-WM-W-EU, 4x HM-Sec-RHS und 3x HM-CC-RT-DN, 6x HM-LC-Bl1-FM mit je 1x Somfy-Motor,
2x HM-LC-SW2-FM für Licht und Lüfter, 2x HM-PB-6-WM55, Alexa, Jeelinkcross, CUL, CUNO2, IR-Blaster

CoolTux

Am besten komplett. Also erst upgrade und dann dist-upgrade. Das ganze Perl SSL geraffel hast Du installiert?
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

locodriver

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!
fhem 6.0 auf Rpi3 Bookworm
HM-LAN-CFG (FW 0.965), HM-MOD-UART, 2x HM-TC-IT-WM-W-EU, 4x HM-Sec-RHS und 3x HM-CC-RT-DN, 6x HM-LC-Bl1-FM mit je 1x Somfy-Motor,
2x HM-LC-SW2-FM für Licht und Lüfter, 2x HM-PB-6-WM55, Alexa, Jeelinkcross, CUL, CUNO2, IR-Blaster

dev0

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.

CoolTux

Aber wieso bekommt der Uwe dann auch einen SSL Fehler? Schon seltsam.
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

dev0

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 öfters. Alternativ könnte ich mir noch eine ur-alt IO::SOCKET:SSL Version vorstellen.

Harald

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
Router:AVM7590 1&1 FW:FRITZ!OS 07.56 Anbindung:1&1 50/10 Mb/s, WLAN-Repeater 300E
ELV MAX!Cube, 7xThermostat, ECO, RasPi 4B mit bullseye auf Festplatte,
CUL V 1.67, JeeLink v3_10.1c, nanoCUL, 1xS300TH, 4xHMS100T, 4xELRO, 1xTFA, 2xMAX_FK
ELV MAX!1.4.5, FHEM 5.7 auf RasPi, Kostal PIKO plus

CoolTux

Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net

Harald

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
Router:AVM7590 1&1 FW:FRITZ!OS 07.56 Anbindung:1&1 50/10 Mb/s, WLAN-Repeater 300E
ELV MAX!Cube, 7xThermostat, ECO, RasPi 4B mit bullseye auf Festplatte,
CUL V 1.67, JeeLink v3_10.1c, nanoCUL, 1xS300TH, 4xHMS100T, 4xELRO, 1xTFA, 2xMAX_FK
ELV MAX!1.4.5, FHEM 5.7 auf RasPi, Kostal PIKO plus

CoolTux

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?
Du musst nicht wissen wie es geht! Du musst nur wissen wo es steht, wie es geht.
Support me to buy new test hardware for development: https://www.paypal.com/paypalme/MOldenburg
My FHEM Git: https://git.cooltux.net/FHEM/
Das TuxNet Wiki:
https://www.cooltux.net