NEWS
Yr.no Konfigurationsproblem
-
Das Wetter-Widget yr.no bleibt bei mir in broker.vis leer.
Was mir aufgefallen ist:
Wenn man bei yr.no in der Konfiguration einen Ort einträgt (in meinem Fall "Hamburg") bekommt man normalerweise ein Auswahlmenü mit mehreren Städteoptionen.
Bei mir nicht. Kann das damit zusammenhängen?
Habe den Ort manuell eingetragen, scheint aber irgendwie erkannt zu werden.
Ich vermute Kommunikationsprobleme des Adapters.
Aber wo kann ich da suchen ?
Der Rechner selber hängt natürlich am Netz und die Installation von anderen Adaptern klappt ja auch.
-
Hallo!
Habe das gleiche Problem. Es wird kein Ort angezeigt (es kommt keine Auswahlliste).
Jemand eine Idee?
Gruß
Vore
-
Moin,
bei mir leider das selbe Problem.
viel Spass noch
Jens
-
Wie währe was mit Debug level: "debug" und ein paar logs?
-
iobroker
2016-03-03 15:44:39
info
exit 0
iobroker
2016-03-03 15:44:39
info
host.raspberrypi object system.adapter.yr.0 created
host-raspberrypi
2016-03-03 15:44:39
info
object change system.adapter.yr.0
iobroker
2016-03-03 15:44:39
info
host.raspberrypi object system.adapter.yr.0.alive created
iobroker
2016-03-03 15:44:38
info
host.raspberrypi object system.adapter.yr.0.connected created
iobroker
2016-03-03 15:44:38
info
host.raspberrypi object system.adapter.yr.0.memHeapUsed created
iobroker
2016-03-03 15:44:38
info
host.raspberrypi object system.adapter.yr.0.memHeapTotal created
iobroker
2016-03-03 15:44:38
info
host.raspberrypi object system.adapter.yr.0.memRss created
iobroker
2016-03-03 15:44:38
info
host.raspberrypi object system.adapter.yr.0.uptime created
iobroker
2016-03-03 15:44:38
info
host.raspberrypi object yr.0.forecast.day0 created
iobroker
2016-03-03 15:44:38
info
host.raspberrypi object yr.0.forecast.day0.date created
iobroker
2016-03-03 15:44:38
info
host.raspberrypi object yr.0.forecast.day0.icon created
iobroker
2016-03-03 15:44:38
info
host.raspberrypi object yr.0.forecast.day0.text created
iobroker
2016-03-03 15:44:38
info
host.raspberrypi object yr.0.forecast.day0.humidity created
iobroker
2016-03-03 15:44:38
info
host.raspberrypi object yr.0.forecast.day0.temperature_actual created
iobroker
2016-03-03 15:44:38
info
host.raspberrypi object yr.0.forecast.day0.temperature_min created
iobroker
2016-03-03 15:44:38
info
host.raspberrypi object yr.0.forecast.day0.temperature_max created
iobroker
2016-03-03 15:44:38
info
host.raspberrypi object yr.0.forecast.day0.precipitation_level created
iobroker
2016-03-03 15:44:38
info
host.raspberrypi object yr.0.forecast.day0.precipitation_chance created
iobroker
2016-03-03 15:44:38
info
host.raspberrypi object yr.0.forecast.day0.wind_direction created
iobroker
2016-03-03 15:44:38
info
host.raspberrypi object yr.0.forecast.day0.wind_speed created
iobroker
2016-03-03 15:44:38
info
host.raspberrypi object yr.0.forecast.day0.pressure created
iobroker
2016-03-03 15:44:38
info
host.raspberrypi object yr.0.forecast.day1 created
iobroker
2016-03-03 15:44:38
info
host.raspberrypi object yr.0.forecast.day1.date created
iobroker
2016-03-03 15:44:38
info
host.raspberrypi object yr.0.forecast.day1.icon created
iobroker
2016-03-03 15:44:38
info
host.raspberrypi object yr.0.forecast.day1.text created
iobroker
2016-03-03 15:44:38
info
host.raspberrypi object yr.0.forecast.day1.temperature_min created
iobroker
2016-03-03 15:44:38
info
host.raspberrypi object yr.0.forecast.day1.temperature_max created
iobroker
2016-03-03 15:44:38
info
host.raspberrypi object yr.0.forecast.day1.precipitation_level created
iobroker
2016-03-03 15:44:38
info
host.raspberrypi object yr.0.forecast.day1.precipitation_chance created
iobroker
2016-03-03 15:44:37
info
host.raspberrypi object yr.0.forecast.day1.wind_direction created
iobroker
2016-03-03 15:44:37
info
host.raspberrypi object yr.0.forecast.day1.wind_speed created
iobroker
2016-03-03 15:44:37
info
host.raspberrypi object yr.0.forecast.day1.pressure created
iobroker
2016-03-03 15:44:37
info
host.raspberrypi object yr.0.forecast.day2 created
iobroker
2016-03-03 15:44:37
info
host.raspberrypi object yr.0.forecast.day2.date created
iobroker
2016-03-03 15:44:37
info
host.raspberrypi object yr.0.forecast.day2.icon created
iobroker
2016-03-03 15:44:37
info
host.raspberrypi object yr.0.forecast.day2.text created
iobroker
2016-03-03 15:44:37
info
host.raspberrypi object yr.0.forecast.day2.temperature_min created
iobroker
2016-03-03 15:44:37
info
host.raspberrypi object yr.0.forecast.day2.temperature_max created
iobroker
2016-03-03 15:44:37
info
host.raspberrypi object yr.0.forecast.day2.precipitation_level created
iobroker
2016-03-03 15:44:37
info
host.raspberrypi object yr.0.forecast.day2.precipitation_chance created
iobroker
2016-03-03 15:44:37
info
host.raspberrypi object yr.0.forecast.day2.wind_direction created
iobroker
2016-03-03 15:44:37
info
host.raspberrypi object yr.0.forecast.day2.wind_speed created
iobroker
2016-03-03 15:44:37
info
host.raspberrypi object yr.0.forecast.day2.pressure created
iobroker
2016-03-03 15:44:37
info
host.raspberrypi object yr.0.forecast.object created
iobroker
2016-03-03 15:44:37
info
host.raspberrypi object yr.0.forecast.html created
iobroker
2016-03-03 15:44:37
info
host.raspberrypi object yr.0.forecast.diagram created
iobroker
2016-03-03 15:44:37
info
host.raspberrypi create instance yr
iobroker
2016-03-03 15:44:37
info
host.raspberrypi object system.adapter.yr created
iobroker
2016-03-03 15:44:36
info
upload [0] yr.admin /opt/iobroker/node_modules/iobroker.yr/admin/index.html index.html text/html
iobroker
2016-03-03 15:44:36
info
upload [1] yr.admin /opt/iobroker/node_modules/iobroker.yr/admin/yr.png yr.png image/png
iobroker
2016-03-03 15:44:36
info
got /opt/iobroker/node_modules/iobroker.yr/admin
iobroker
2016-03-03 15:44:36
info
host.raspberrypi install adapter yr
1101_bildschirmfoto_2016-03-03_um_16.48.32.pdf -
host-raspberrypi 2016-03-04 11:00:06 error instance system.adapter.yr.0 terminated with code 6 (uncaught exception)
TypeError: 2016-03-04 11:00:06 error at Parser.parseString (/opt/iobroker/node_modules/iobroker.yr/node_modules/xml2js/lib/xml2js.js:7:59)
TypeError: 2016-03-04 11:00:06 error at Parser.exports.Parser.Parser.parseString (/opt/iobroker/node_modules/iobroker.yr/node_modules/xml2js/lib/xml2js.js:503:31)
TypeError: 2016-03-04 11:00:06 error at Object.write (/opt/iobroker/node_modules/iobroker.yr/node_modules/xml2js/node_modules/sax/lib/sax.js:1444:13)
TypeError: 2016-03-04 11:00:06 error at closeTag (/opt/iobroker/node_modules/iobroker.yr/node_modules/xml2js/node_modules/sax/lib/sax.js:903:7)
TypeError: 2016-03-04 11:00:06 error at emitNode (/opt/iobroker/node_modules/iobroker.yr/node_modules/xml2js/node_modules/sax/lib/sax.js:644:5)
TypeError: 2016-03-04 11:00:06 error at emit (/opt/iobroker/node_modules/iobroker.yr/node_modules/xml2js/node_modules/sax/lib/sax.js:639:35)
TypeError: 2016-03-04 11:00:06 error at Object.onclosetag (/opt/iobroker/node_modules/iobroker.yr/node_modules/xml2js/lib/xml2js.js:445:26)
TypeError: 2016-03-04 11:00:06 error at Parser.emit (events.js:107:17)
TypeError: 2016-03-04 11:00:06 error at Parser. (/opt/iobroker/node_modules/iobroker.yr/node_modules/xml2js/lib/xml2js.js:484:18)
TypeError: 2016-03-04 11:00:06 error at /opt/iobroker/node_modules/iobroker.yr/yr.js:136:49
TypeError: 2016-03-04 11:00:06 error Cannot read property 'forecast' of undefined
uncaught 2016-03-04 11:00:06 error exception: Cannot read property 'forecast' of undefined
yr-0 2016-03-04 11:00:06 info got weather data from yr.no
yr-0 2016-03-04 11:00:05 info starting. Version 0.1.9 in /opt/iobroker/node_modules/iobroker.yr
host-raspberrypi 2016-03-04 11:00:00 info instance system.adapter.ical.0 started with pid 24257
host-raspberrypi 2016-03-04 11:00:00 warn instance system.adapter.weatherunderground.0 already running with pid 1240
host-raspberrypi 2016-03-04 11:00:00 info instance system.adapter.yr.0 started with pid 24252
-
Hallo!
Habe mir mal den Code angesehen.
Es gibt da vermutlich ein AutoComplete widget (JQuery UI).
In der Funktion ist ein Link auf die yr-Webseite:
http://www.yr.no/_/websvc/jsonforslagsboks.aspx?s=
An den Link wird vermutlich die eingegeben Lokation angehängt:
http://www.yr.no/_/websvc/jsonforslagsboks.aspx?s=berlin
Führe ich den Link wie oben im Browser aus, erhalte ich eine Liste von Orten. Das scheint also zu funktionieren.
In der Funktion ist eine Debug-Zeile die Log in die Java-Konsole schreibt. Dort sehe ich eine
Fehlermeldung:
Uncaught SyntaxError: Unexpected token ,
Ich suche weiter..
Gruß
Vore
862_shot1.png -
Hallo!
Nach dem Update auf die 1.0.0 funktioniert es wieder.
Gruß
Volker
-
Moin,
funktioniert super,
vielen vielen Dank
Jens
-
Moin,
funktioniert super,
vielen vielen Dank
Jens `
yr haben Namensstruktur geändert.Danke für die Rückmeldung. Es ist immer wichtig zu wissen, ob jetzt läuft. :!: