Hauptmenü

Yahoo weather down?

Begonnen von ernst1024, 13 Januar 2016, 00:35:53

Vorheriges Thema - Nächstes Thema

moonsorrox

das ist mit RSS gemacht und die Anzeige wird auf meinem Samsung Tablet dargestellt...! (und natürlich im Browser darstellbar)
Dieses ganze ist etwas aufwendig und wurde hier mal in einem Workshop beschrieben...! Gefällt mir aber persönlich noch mit am bestem... besser gesagt es reicht mir optisch  ;)
Intel-NUC i5: FHEM-Server 6.1 :: Perl v5.18.2

Homematic: HM-USB-CFG2,HM-CFG-LAN Adapter, HM-LC-BL1-FM, HM-LC-Sw1PBU-FM, HM-LC-Sw1-PI-2, HM-WDS10-TH-O, HM-CC-TC, HM-LC-SW2-FM

TeleDet

Also gegenüber "Standard"-fhem Front ist es schon ein Quantensprung  :D ;D

Ich find es sieht schon Super aus!  ;)

Danke :) ... TeleDet

justme1968

dann hast du keine ahnung was mit dem 'standard' fhem frontend schon alles möglich ist :) und dir auch das ftui noch nicht angeschaut.
hue, tradfri, alexa-fhem, homebridge-fhem, LightScene, readingsGroup, ...

https://github.com/sponsors/justme-1968

Vize

Zitat von: CoolTux am 26 März 2016, 15:15:01
Na das wollen wir ja nicht. Ist ihr wohl zu heiß, wa.
So jetzt richtig und so wie es sein sollte

Datei 59_Weather.pm
Zeile 288

my $url = "https://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20weather.forecast%20where%20woeid%20=%27". $location ."%27%20and%20u=%27". $units. "%27&format=xml&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys";


Datei 59_Twilight
Zeile 362

url        => "https://query.yahooapis.com/v1/public/yql?q=select%20*%20from%20weather.forecast%20where%20woeid%20=%27". $location ."%27%20and%20u=%27c%27&format=xml&env=store%3A%2F%2Fdatatables.org%2Falltableswithkeys",




Grüße

Mahlzeit,

habe gerade in meinem VU+-Receiver gesehen, dass dort noch das aktuelle Wetter über Yahoo wie gehabt angezeigt wird.

In der entsprechenden Python-Datei auf dem Receiver findet sich diese url, die anscheinend auch noch aktuelle Daten öffentlich liefert...vielleicht kann es ja jemand gebrauchen...Standort-Code ist hier der default-Wert (640161)...müsste Bonn sein...
http://query.yahooapis.com/v1/public/yql?q=select%20item%20from%20weather.forecast%20where%20woeid%3D%22640161%22&format=xml

Gruß
Andreas

octek0815

Die neue Version von Boris funktioniert wieder perfekt!

Danke und Grüße
Olli

TeleDet

Hallo nochmal  :)

die umgebaute Version von Boris hat auch bei mir gut funktioniert. Leider nur bis 15:40 Uhr  :(
dann stand folgendes in meinem Log:

2016.03.28 15:40:15 3: Wetter: read from to https://query.yahooapis.com:443 timed out

nach manuellem Daten-Update meines Wetter's um 17:14 Uhr :

2016.03.28 17:14:40 3: Wetter: read from to https://query.yahooapis.com:443 timed out

Erst nach einem Neustart von fhem wurden wieder Daten von Yahoo geholt!?  ::)

Kann das jemand von euch eventuell bestätigen???

Gruß TeleDet

octek0815

#81
Kann ich so nicht bestätigen, funktioniert weiterhin einwandfrei.
Ich bekomme lediglich folgenden Log-Eintrag:

[twilight...] got no weather info from yahoo. Error code: read from to http://weather.yahooapis.com:80 timed out

Aber hier wird ja bereits dran gearbeitet.

Also alles gut.

TeleDet

Na mal beobachten  8)

Eventuell sind die bei Yahoo ja noch am werkeln  ;) ;D

Gruß TeleDet

TeleDet

neee  :( da is was faul  :o

hier mal die Internals die ich grad abgefragt hab:

Internals:
   CHANGED
   DEF        653210 3600 de
   INTERVAL   3600
   LANG       de
   LOCATION   653210
   NAME       Wetter
   NR         126
   NTFY_ORDER 50-Wetter
   STATE      T: 15  H: 41  W: 40  P: 999
   TYPE       Weather
   UNITS      c
   Helper:
     Dblog:
       Humidity:
         Mydblog:
           TIME       1459178133.01703
           VALUE      41
       Pressure:
         Mydblog:
           TIME       1459178133.01703
           VALUE      999
       State:
         Mydblog:
           TIME       1459179126.09537
           VALUE      update
       Temperature:
         Mydblog:
           TIME       1459178133.01703
           VALUE      15
       Wind_chill:
         Mydblog:
           TIME       1459178133.01703
           VALUE      14
       Wind_direction:
         Mydblog:
           TIME       1459178133.01703
           VALUE      170
       Wind_speed:
         Mydblog:
           TIME       1459178133.01703
           VALUE      40
   Readings:
     2016-03-28 17:15:32   city            Golm
     2016-03-24 21:43:19   code            27
     2016-03-28 17:15:32   condition       Sturm
     2016-03-28 17:15:32   country         Germany
     2016-03-28 17:15:32   current_date_time Mon, 28 Mar 2016 04:00 PM CEST
     2016-03-28 17:15:32   day_of_week     Mo
     2016-03-28 17:15:32   description     Yahoo! Weather for Golm, BB, DE
     2016-03-28 17:15:32   fc10_code       39
     2016-03-28 17:15:32   fc10_condition  vereinzelt Gewitter
     2016-03-28 17:15:32   fc10_date       06 Apr 2016
     2016-03-28 17:15:32   fc10_day_of_week Mi
     2016-03-28 17:15:32   fc10_high_c     12
     2016-03-28 17:15:32   fc10_icon       scatteredthunderstorms
     2016-03-28 17:15:32   fc10_low_c      7
     2016-03-28 17:15:32   fc1_code        39
     2016-03-28 17:15:32   fc1_condition   vereinzelt Gewitter
     2016-03-28 17:15:32   fc1_date        28 Mar 2016
     2016-03-28 17:15:32   fc1_day_of_week Mo
     2016-03-28 17:15:32   fc1_high_c      14
     2016-03-28 17:15:32   fc1_icon        scatteredthunderstorms
     2016-03-28 17:15:32   fc1_low_c       4
     2016-03-28 17:15:32   fc2_code        47
     2016-03-28 17:15:32   fc2_condition   vereinzelt Gewitter
     2016-03-28 17:15:32   fc2_date        29 Mar 2016
     2016-03-28 17:15:32   fc2_day_of_week Di
     2016-03-28 17:15:32   fc2_high_c      9
     2016-03-28 17:15:32   fc2_icon        scatteredshowers
     2016-03-28 17:15:32   fc2_low_c       5
     2016-03-28 17:15:32   fc3_code        12
     2016-03-28 17:15:32   fc3_condition   Schauer
     2016-03-28 17:15:32   fc3_date        30 Mar 2016
     2016-03-28 17:15:32   fc3_day_of_week Mi
     2016-03-28 17:15:32   fc3_high_c      9
     2016-03-28 17:15:32   fc3_icon        chance_of_rain
     2016-03-28 17:15:32   fc3_low_c       3
     2016-03-28 17:15:32   fc4_code        26
     2016-03-28 17:15:32   fc4_condition   wolkig
     2016-03-28 17:15:32   fc4_date        31 Mar 2016
     2016-03-28 17:15:32   fc4_day_of_week Do
     2016-03-28 17:15:32   fc4_high_c      10
     2016-03-28 17:15:32   fc4_icon        cloudy
     2016-03-28 17:15:32   fc4_low_c       4
     2016-03-28 17:15:32   fc5_code        28
     2016-03-28 17:15:32   fc5_condition   überwiegend wolkig
     2016-03-28 17:15:32   fc5_date        01 Apr 2016
     2016-03-28 17:15:32   fc5_day_of_week Fr
     2016-03-28 17:15:32   fc5_high_c      9
     2016-03-28 17:15:32   fc5_icon        mostlycloudy
     2016-03-28 17:15:32   fc5_low_c       2
     2016-03-28 17:15:32   fc6_code        28
     2016-03-28 17:15:32   fc6_condition   überwiegend wolkig
     2016-03-28 17:15:32   fc6_date        02 Apr 2016
     2016-03-28 17:15:32   fc6_day_of_week Sa
     2016-03-28 17:15:32   fc6_high_c      11
     2016-03-28 17:15:32   fc6_icon        mostlycloudy
     2016-03-28 17:15:32   fc6_low_c       1
     2016-03-28 17:15:32   fc7_code        30
     2016-03-28 17:15:32   fc7_condition   teilweise wolkig
     2016-03-28 17:15:32   fc7_date        03 Apr 2016
     2016-03-28 17:15:32   fc7_day_of_week So
     2016-03-28 17:15:32   fc7_high_c      13
     2016-03-28 17:15:32   fc7_icon        partly_cloudy
     2016-03-28 17:15:32   fc7_low_c       4
     2016-03-28 17:15:32   fc8_code        30
     2016-03-28 17:15:32   fc8_condition   teilweise wolkig
     2016-03-28 17:15:32   fc8_date        04 Apr 2016
     2016-03-28 17:15:32   fc8_day_of_week Mo
     2016-03-28 17:15:32   fc8_high_c      14
     2016-03-28 17:15:32   fc8_icon        partly_cloudy
     2016-03-28 17:15:32   fc8_low_c       6
     2016-03-28 17:15:32   fc9_code        30
     2016-03-28 17:15:32   fc9_condition   teilweise wolkig
     2016-03-28 17:15:32   fc9_date        05 Apr 2016
     2016-03-28 17:15:32   fc9_day_of_week Di
     2016-03-28 17:15:32   fc9_high_c      13
     2016-03-28 17:15:32   fc9_icon        partly_cloudy
     2016-03-28 17:15:32   fc9_low_c       8
     2016-03-28 17:15:32   humidity        41
     2016-03-28 17:15:32   icon            flurries
     2016-03-28 17:32:11   lastError       read from to https://query.yahooapis.com:443 timed out
     2016-03-28 17:15:32   lat             53.153381
     2016-03-28 17:15:32   long            14.0331
     2016-03-28 17:15:32   pressure        999
     2016-03-28 17:15:32   pressure_trend  0
     2016-03-28 17:15:32   pressure_trend_sym =
     2016-03-28 17:15:32   pressure_trend_txt gleichbleibend
     2016-03-28 17:15:32   pubDate         Mon, 28 Mar 2016 04:00 PM CEST
     2016-03-28 17:15:32   pubDateComment  okay
     2016-03-28 17:15:32   pubDateRemote   Mon, 28 Mar 2016 04:00 PM CEST
     2016-03-28 17:15:32   pubDateTs       1459173600
     2016-03-28 17:15:32   region           BB
     2016-03-28 17:15:32   state           T: 15  H: 41  W: 40  P: 999
     2016-03-28 17:15:32   temp_c          15
     2016-03-28 17:15:32   temperature     15
     2016-03-28 17:32:11   validity        stale
     2016-03-28 17:15:32   visibility      26
     2016-03-28 17:15:32   wind            40
     2016-03-28 17:15:32   wind_chill      14
     2016-03-28 17:15:32   wind_condition  Wind: S 40 km/h
     2016-03-28 17:15:32   wind_direction  170
     2016-03-28 17:15:32   wind_speed      40
   Fhem:
     interfaces temperature;humidity;wind
Attributes:
   event-on-update-reading temperature,humidity,pressure,wind_speed,wind_chill,wind_direction
   room       Wetter


Neustart war 17:15 Uhr und da hat das Modul auch Daten bekommen.
Hier die Zeile mit der Fehlermeldung noch mal seperat:

2016-03-28 17:32:11   lastError       read from to https://query.yahooapis.com:443 timed out

Hat jemand ne Idee ... eventuell Boris???

Gruß TeleDet


franky08

Dann warte bis morgen, update, oder lade die zwei geänderten Dateien aus SVN. Hängt mit einem internen Timer zusammen, hat Boris schon gefixt und hochgeladen.

PS und auch mal in die anderen Threads zum weather modul sehen, da wurde das schon besprochen
Debian Bookworm auf HUNSN / Debian Bullseye auf 2.ter HUNSN F2F an 2x RaspiB
mit FHEM aktuell
22Zoll ViewSonic als Infodislay (WVC)
3xHMLAN mit vccu, raspmatic_rpi3, HMIP-HCU1

TeleDet

THX franky08!

mal ne doofe Frage  :-[ was ist "SVN"?

Gruß TeleDet

franky08

#86
Debian Bookworm auf HUNSN / Debian Bullseye auf 2.ter HUNSN F2F an 2x RaspiB
mit FHEM aktuell
22Zoll ViewSonic als Infodislay (WVC)
3xHMLAN mit vccu, raspmatic_rpi3, HMIP-HCU1

octek0815

#87
hab gerade die neue Version aus dem SVN geladen.
Nun bekomme ich auch den Timeout.

2016.03.28 17:56:09 3: YahooWetter: read from to https://query.yahooapis.com:443 timed out

---
Update:

Ich rudere zurück. Nochmal ein Update gemacht und nun gehts.
Sorry für die Verwirrung!



TeleDet


CoolTux

Interessant. Habe vor einer Stunde die neue Datei aus dem svn bei mir installiert. Nun bekomme ich vermehrt die Timeout Meldungen.
Die Daten werden aber aktuallisiert.
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