(gelöst) Proplanta probleme?

Begonnen von rvideobaer, 25 Oktober 2017, 22:02:59

Vorheriges Thema - Nächstes Thema

rvideobaer

Hallo,

seit ca 21:15 Uhr funktioniert Proplanta nicht mehr (Error: Could not capture all data. Please check URL or city name.)
Hat noch jemand Probleme?

Gruß Rolf
Raspberry Pi 2, HM-Uart,1x HM-LC-Sw1PBU-FM, 1x HM-RC-2-PBU-FM,1x HM-LC-SW4-DR,1x HM-LC-Sw1-Pl-DN-R1,1x HM-TC-IT-WM-W-EU, 5x HM-CC-RT-DN und noch mehr

Frank_Huber

Kann ich bestätigen.

Gesendet von meinem S3_32 mit Tapatalk


Frank_Huber

Den link manuell aufgerufen schaut in alles normal aus.

Gesendet von meinem S3_32 mit Tapatalk


rvideobaer

Die Seite kann ich auch aufrufen, aber auf meinen Wandtablets und auch die Tabletseite auf dem Computer funktioniert nicht.

Gruß Rolf
Raspberry Pi 2, HM-Uart,1x HM-LC-Sw1PBU-FM, 1x HM-RC-2-PBU-FM,1x HM-LC-SW4-DR,1x HM-LC-Sw1-Pl-DN-R1,1x HM-TC-IT-WM-W-EU, 5x HM-CC-RT-DN und noch mehr

viegener

Bei mir ebenfalls, bekomme allerdings folgende Meldung:

Zitat500 Access to 'https' URIs has been disabled
Kein Support über PM - Anfragen gerne im Forum - Damit auch andere profitieren und helfen können

Gernott

Selbes Problem. In meinem log steht dazu:

2017.10.25 23:32:08 1: PROPLANTA proplanta: HtmlAcquire.552 Error: Can't get https://www.proplanta.de/Wetter/profi-wetter.php?SITEID=60&PLZ=xxxxx&STADT=xxxxx&WETTERaufrufen=stadt&Wtp=&SUCHE=Wetter&wT= -- 500 Access to 'https' URIs has been disabled

Hat jemand eine Idee zur Lösung?

Gruß
G.

mumpitzstuff

Ja.

1.) Aus http:// ein https:// machen.
   my %url_template = ( "de" => "https://www.proplanta.de/Wetter/profi-wetter.php?SITEID=60&PLZ=LOKALERORT&STADT=LOKALERORT&WETTERaufrufen=stadt&Wtp=&SUCHE=Wetter&wT="
   , "at" => "https://www.proplanta.de/Wetter-Oesterreich/profi-wetter-at.php?SITEID=70&PLZ=LOKALERORT&STADT=LOKALERORT&WETTERaufrufen=stadt&Wtp=&SUCHE=Wetter&wT="
   , "ch" => "https://www.proplanta.de/Wetter-Schweiz/profi-wetter-ch.php?SITEID=80&PLZ=LOKALERORT&STADT=LOKALERORT&WETTERaufrufen=stadt&Wtp=&SUCHE=Wetter&wT="
   , "fr" => "https://www.proplanta.de/Wetter-Frankreich/profi-wetter-fr.php?SITEID=50&PLZ=LOKALERORT&STADT=LOKALERORT&WETTERaufrufen=stadt&Wtp=&SUCHE=Wetter-Frankreich&wT="
   , "it" => "https://www.proplanta.de/Wetter-Italien/profi-wetter-it.php?SITEID=40&PLZ=LOKALERORT&STADT=LOKALERORT&WETTERaufrufen=stadt&Wtp=&SUCHE=Wetter-Italien&wT="


2.) Das 'https' hinzufügen.
my $agent    = LWP::UserAgent->new( env_proxy => 1, keep_alive => 1, protocols_allowed => ['http', 'https'], timeout => 10

CoolTux

Und wenn man dann noch seine Firewall entsprechend an passt klappt das auch  ::)  ;D
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

Snake1980

Zitat von: mumpitzstuff am 26 Oktober 2017, 01:19:20
Ja.

1.) Aus http:// ein https:// machen.
   my %url_template = ( "de" => "https://www.proplanta.de/Wetter/profi-wetter.php?SITEID=60&PLZ=LOKALERORT&STADT=LOKALERORT&WETTERaufrufen=stadt&Wtp=&SUCHE=Wetter&wT="
   , "at" => "https://www.proplanta.de/Wetter-Oesterreich/profi-wetter-at.php?SITEID=70&PLZ=LOKALERORT&STADT=LOKALERORT&WETTERaufrufen=stadt&Wtp=&SUCHE=Wetter&wT="
   , "ch" => "https://www.proplanta.de/Wetter-Schweiz/profi-wetter-ch.php?SITEID=80&PLZ=LOKALERORT&STADT=LOKALERORT&WETTERaufrufen=stadt&Wtp=&SUCHE=Wetter&wT="
   , "fr" => "https://www.proplanta.de/Wetter-Frankreich/profi-wetter-fr.php?SITEID=50&PLZ=LOKALERORT&STADT=LOKALERORT&WETTERaufrufen=stadt&Wtp=&SUCHE=Wetter-Frankreich&wT="
   , "it" => "https://www.proplanta.de/Wetter-Italien/profi-wetter-it.php?SITEID=40&PLZ=LOKALERORT&STADT=LOKALERORT&WETTERaufrufen=stadt&Wtp=&SUCHE=Wetter-Italien&wT="


2.) Das 'https' hinzufügen.
my $agent    = LWP::UserAgent->new( env_proxy => 1, keep_alive => 1, protocols_allowed => ['http', 'https'], timeout => 10


Genau so hab ich es gemacht. Daten werden wieder aktualisiert. Danke dafür. Was allerdings noch nicht wieder geht, ist die Anzeige der Symbole in der TabletUI. Hab schon verschiedene imagesets ausprobiert - ohne Erfolg. Beim imageset="kleinklima" wird in der UI die URL angezeit, die augenscheinlich richtig sein müsste...
Hat jemand eine Idee?

Gruß Swen

CoolTux

Also wenn ich die Links aus den Readings nehme und im Browser eingebe funktioniert es.
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

benz_freak

Moin,
mir ist das aufgefallen
Adresse ist falsch
Zugeordneter Text ist OK

benz_freak

So habs gefunden im widget_weather.js
muss in Zeile 601 auch ein "https" hin

Garbsen

moin

kann jemand so nett sein und eine Erklärung for dummies geben?😩
wo finde ich das widget? Wo überall muss jetzt https stehen?
danke
FHEM und Homebridge auf Intel NUC, CUL 868 v 1.66, CUL466 V 1.66, SOMFY RTS Rolläden, HM-LC-Bl1PBU-FM, HM-LC-BL1-FM, HM-SEC-SC-2, HM-SEC-RHS, HM-WDS10-TH-O, HM-SEC-WDS-2, HM-Sen-LI-O, HM-CC-RT-DN, HM-LC-Sw1-Pl-DN-R1, HM-SCI-3-FM, HM-Sec-Sir-WM, HM-PB-2-WM55-2, HM-RC-8, HM-LC-SW1-PL2, Alpha2

Frank_Huber

im Idealfall macht das der Modulautor. (in diesem Fall tupol)

Wenn Du es "eilig" hast änderst selbst die 59_PROPLANTA.pm

benz_freak

Für TabletUI
/opt/fhem/www/tablet/js
widget_weather.js

Zeile 601
var matches = val.match('^https://www\.proplanta\.de/wetterdaten/images/symbole/([tn][0-9]+)\.gif');



Für Modul PROPLANTA
/opt/fhem/FHEM
59_PROPLANTA.pm

Zeile 418-423
  my %url_template = ( "de" => "https://www.proplanta.de/Wetter/profi-wetter.php?SITEID=60&PLZ=LOKALERORT&STADT=LOKALERORT&WETTERaufrufen=stadt&Wtp=&SUCHE=Wetter&wT="
   , "at" => "https://www.proplanta.de/Wetter-Oesterreich/profi-wetter-at.php?SITEID=70&PLZ=LOKALERORT&STADT=LOKALERORT&WETTERaufrufen=stadt&Wtp=&SUCHE=Wetter&wT="
   , "ch" => "https://www.proplanta.de/Wetter-Schweiz/profi-wetter-ch.php?SITEID=80&PLZ=LOKALERORT&STADT=LOKALERORT&WETTERaufrufen=stadt&Wtp=&SUCHE=Wetter&wT="
   , "fr" => "https://www.proplanta.de/Wetter-Frankreich/profi-wetter-fr.php?SITEID=50&PLZ=LOKALERORT&STADT=LOKALERORT&WETTERaufrufen=stadt&Wtp=&SUCHE=Wetter-Frankreich&wT="
   , "it" => "https://www.proplanta.de/Wetter-Italien/profi-wetter-it.php?SITEID=40&PLZ=LOKALERORT&STADT=LOKALERORT&WETTERaufrufen=stadt&Wtp=&SUCHE=Wetter-Italien&wT="
   );


Zeile 542   
my $agent    = LWP::UserAgent->new( env_proxy => 1, keep_alive => 1, protocols_allowed => ['http', 'https'], timeout => 10