[Twilight] Umstellung auf YahooWeatherAPI

Begonnen von CoolTux, 28 März 2016, 14:14:28

Vorheriges Thema - Nächstes Thema

MacGyver33

Hallo,

ja Danke, ... habe ein update gemacht..
"sudo apt-get install libjson-perl"

jetzt sind die Meldungen wech, aber der Weather geht nicht wie zuvor.
.. muss wohl jetzt die Config noch mal prüfen ..

Gruß Mac

smart.builder

Hallo Zusammen,

bei mir erzeugt das YahooWeather Modul folgende Fehlermeldung:
JSON text must be an object or array (but found number, string, true, false or null, use allow_nonref to allow this) at FHEM/YahooWeatherAPI.pm line 247.

Leider finde ich den Konfigurationsfehler nicht.

list:

Internals:
   API        YahooWeatherAPI
   APIOPTIONS transport:https,cachemaxage:600
   DEF        697740 600 de
   INTERVAL   600
   LANG       de
   LOCATION   697740
   NAME       Wetter
   NOTIFYDEV  global
   NR         25
   NTFY_ORDER 50-Wetter
   STATE      T: 6  H: 73  W: 7  P: 976
   TYPE       Weather
   UNITS      c
   Readings:
     2017-05-09 22:41:11   city            Straubing
     2017-05-09 22:41:11   code            27
     2017-05-09 22:41:11   condition       überwiegend wolkig
     2017-05-09 22:41:11   country         Germany
     2017-05-10 22:11:21   current_date_time none
     2017-05-09 22:41:11   day_of_week     Di
     2017-05-09 22:41:11   description     Yahoo! Weather for Straubing, BY, DE
     2017-05-09 22:41:11   fc10_code       28
     2017-05-09 22:41:11   fc10_condition  überwiegend wolkig
     2017-05-09 22:41:11   fc10_date       18 May 2017
     2017-05-09 22:41:11   fc10_day_of_week Do
     2017-05-09 22:41:11   fc10_high_c     20
     2017-05-09 22:41:11   fc10_icon       mostlycloudy
     2017-05-09 22:41:11   fc10_low_c      10
     2017-05-09 22:41:11   fc1_code        28
     2017-05-09 22:41:11   fc1_condition   überwiegend wolkig
     2017-05-09 22:41:11   fc1_date        09 May 2017
     2017-05-09 22:41:11   fc1_day_of_week Di
     2017-05-09 22:41:11   fc1_high_c      10
     2017-05-09 22:41:11   fc1_icon        mostlycloudy
     2017-05-09 22:41:11   fc1_low_c       6
     2017-05-09 22:41:11   fc2_code        30
     2017-05-09 22:41:11   fc2_condition   teilweise wolkig
     2017-05-09 22:41:11   fc2_date        10 May 2017
     2017-05-09 22:41:11   fc2_day_of_week Mi
     2017-05-09 22:41:11   fc2_high_c      13
     2017-05-09 22:41:11   fc2_icon        partly_cloudy
     2017-05-09 22:41:11   fc2_low_c       3
     2017-05-09 22:41:11   fc3_code        30
     2017-05-09 22:41:11   fc3_condition   teilweise wolkig
     2017-05-09 22:41:11   fc3_date        11 May 2017
     2017-05-09 22:41:11   fc3_day_of_week Do
     2017-05-09 22:41:11   fc3_high_c      20
     2017-05-09 22:41:11   fc3_icon        partly_cloudy
     2017-05-09 22:41:11   fc3_low_c       3
     2017-05-09 22:41:11   fc4_code        47
     2017-05-09 22:41:11   fc4_condition   vereinzelt Gewitter
     2017-05-09 22:41:11   fc4_date        12 May 2017
     2017-05-09 22:41:11   fc4_day_of_week Fr
     2017-05-09 22:41:11   fc4_high_c      19
     2017-05-09 22:41:11   fc4_icon        scatteredshowers
     2017-05-09 22:41:11   fc4_low_c       11
     2017-05-09 22:41:11   fc5_code        11
     2017-05-09 22:41:11   fc5_condition   Schauer
     2017-05-09 22:41:11   fc5_date        13 May 2017
     2017-05-09 22:41:11   fc5_day_of_week Sa
     2017-05-09 22:41:11   fc5_high_c      16
     2017-05-09 22:41:11   fc5_icon        chance_of_rain
     2017-05-09 22:41:11   fc5_low_c       11
     2017-05-09 22:41:11   fc6_code        30
     2017-05-09 22:41:11   fc6_condition   teilweise wolkig
     2017-05-09 22:41:11   fc6_date        14 May 2017
     2017-05-09 22:41:11   fc6_day_of_week So
     2017-05-09 22:41:11   fc6_high_c      18
     2017-05-09 22:41:11   fc6_icon        partly_cloudy
     2017-05-09 22:41:11   fc6_low_c       11
     2017-05-09 22:41:11   fc7_code        28
     2017-05-09 22:41:11   fc7_condition   überwiegend wolkig
     2017-05-09 22:41:11   fc7_date        15 May 2017
     2017-05-09 22:41:11   fc7_day_of_week Mo
     2017-05-09 22:41:11   fc7_high_c      19
     2017-05-09 22:41:11   fc7_icon        mostlycloudy
     2017-05-09 22:41:11   fc7_low_c       11
     2017-05-09 22:41:11   fc8_code        28
     2017-05-09 22:41:11   fc8_condition   überwiegend wolkig
     2017-05-09 22:41:11   fc8_date        16 May 2017
     2017-05-09 22:41:11   fc8_day_of_week Di
     2017-05-09 22:41:11   fc8_high_c      20
     2017-05-09 22:41:11   fc8_icon        mostlycloudy
     2017-05-09 22:41:11   fc8_low_c       11
     2017-05-09 22:41:11   fc9_code        30
     2017-05-09 22:41:11   fc9_condition   teilweise wolkig
     2017-05-09 22:41:11   fc9_date        17 May 2017
     2017-05-09 22:41:11   fc9_day_of_week Mi
     2017-05-09 22:41:11   fc9_high_c      21
     2017-05-09 22:41:11   fc9_icon        partly_cloudy
     2017-05-09 22:41:11   fc9_low_c       12
     2017-05-09 22:41:11   humidity        73
     2017-05-09 22:41:11   icon            mostlycloudy_night
     2017-05-09 22:41:11   isConverted     0
     2017-05-10 22:16:39   lastError       JSON text must be an object or array (but found number, string, true, false or null, use allow_nonref to allow this) at FHEM/YahooWeatherAPI.pm line 247.

     2017-05-09 22:41:11   lat             48.881432
     2017-05-09 22:41:11   long            12.57372
     2017-05-09 22:41:11   pressure        976
     2017-05-09 22:41:11   pressure_trend  0
     2017-05-09 22:41:11   pressure_trend_sym =
     2017-05-09 22:41:11   pressure_trend_txt gleichbleibend
     2017-05-09 22:41:11   pubDate         Tue, 09 May 2017 09:00 PM CEST
     2017-05-09 22:41:11   pubDateComment  okay
     2017-05-09 22:41:11   pubDateRemote   Tue, 09 May 2017 09:00 PM CEST
     2017-05-09 22:41:11   pubDateTs       1494356400
     2017-05-09 22:41:11   region          BY
     2017-05-09 22:41:11   state           T: 6  H: 73  W: 7  P: 976
     2017-05-09 22:41:11   temp_c          6
     2017-05-09 22:41:11   temperature     6
     2017-05-10 22:16:39   validity        stale
     2017-05-09 22:41:11   visibility      16
     2017-05-09 22:41:11   wind            7
     2017-05-09 22:41:11   wind_chill      5
     2017-05-09 22:41:11   wind_condition  Wind: N 7 km/h
     2017-05-09 22:41:11   wind_direction  0
     2017-05-09 22:41:11   wind_speed      7
   Fhem:
     allowCache 0
     interfaces temperature;humidity;wind
Attributes:
   room       z_FHEM


Danke im Voraus!

Dr. Boris Neubert

Bitte bei neuem Problem mit anderem Modul neues Thema beginnen. Danke
Boris
Globaler Moderator, Developer, aktives Mitglied des FHEM e.V. (Marketing, Verwaltung)
Bitte keine unaufgeforderten privaten Nachrichten!