binderth
(Thomas Binder)
September 24, 2018, 7:01am
1
using openHABian 1.4 with OH2.3 stable.
Didn’t change anything in my config, but updated the Pi to the newest packages and since then I get the following WARNs and ERRORs:
openhab.log
2018-09-24 08:48:14.322 [DEBUG] [ab.binding.http.internal.HttpBinding] - item 'Weather_Station_Name' is fetched from cache
2018-09-24 08:48:14.329 [WARN ] [ab.binding.http.internal.HttpBinding] - Transformation 'JSONPATH($.current_observation.observation_location.full)' threw an exception. [response=� ��(�ͱ�I�O���r�SH-*�/R�ON.-JM��)(J�KJL�N�KQHK�����m��Zl���� ��G ]
org.openhab.core.transform.TransformationException: Invalid path '$.current_observation.observation_location.full' in '� ��(�ͱ�I�O���r�SH-*�/R�ON.-JM��)(J�KJL�N�KQHK�����m��Zl���� ��G '
at org.openhab.core.transform.TransformationHelper$TransformationServiceDelegate.transform(TransformationHelper.java:67) [194:org.openhab.core.compat1x:2.3.0]
at org.openhab.binding.http.internal.HttpBinding.execute(HttpBinding.java:194) [215:org.openhab.binding.http:1.12.0]
at org.openhab.core.binding.AbstractActiveBinding$BindingActiveService.execute(AbstractActiveBinding.java:144) [194:org.openhab.core.compat1x:2.3.0]
at org.openhab.core.service.AbstractActiveService$RefreshThread.run(AbstractActiveService.java:166) [194:org.openhab.core.compat1x:2.3.0]
2018-09-24 08:48:14.334 [DEBUG] [ab.binding.http.internal.HttpBinding] - transformed response is '� ��(�ͱ�I�O���r�SH-*�/R�ON.-JM��)(J�KJL�N�KQHK�����m��Zl���� ��G '
2018-09-24 08:48:14.340 [DEBUG] [ab.binding.http.internal.HttpBinding] - item 'Weather_TempFeels' is fetched from cache
2018-09-24 08:48:14.346 [TRACE] [ab.binding.http.internal.HttpBinding] - Couldn't find matching binding provider [itemName=Weather_Station_Name, command=CHANGED]
2018-09-24 08:48:14.350 [WARN ] [ab.binding.http.internal.HttpBinding] - Transformation 'JSONPATH($.current_observation.feelslike_c)' threw an exception. [response=� ��(�ͱ�I�O���r�SH-*�/R�ON.-JM��)(J�KJL�N�KQHK�����m��Zl���� ��G ]
org.openhab.core.transform.TransformationException: Invalid path '$.current_observation.feelslike_c' in '� ��(�ͱ�I�O���r�SH-*�/R�ON.-JM��)(J�KJL�N�KQHK�����m��Zl���� ��G '
at org.openhab.core.transform.TransformationHelper$TransformationServiceDelegate.transform(TransformationHelper.java:67) [194:org.openhab.core.compat1x:2.3.0]
at org.openhab.binding.http.internal.HttpBinding.execute(HttpBinding.java:194) [215:org.openhab.binding.http:1.12.0]
at org.openhab.core.binding.AbstractActiveBinding$BindingActiveService.execute(AbstractActiveBinding.java:144) [194:org.openhab.core.compat1x:2.3.0]
at org.openhab.core.service.AbstractActiveService$RefreshThread.run(AbstractActiveService.java:166) [194:org.openhab.core.compat1x:2.3.0]
2018-09-24 08:48:14.355 [DEBUG] [ab.binding.http.internal.HttpBinding] - transformed response is '� ��(�ͱ�I�O���r�SH-*�/R�ON.-JM��)(J�KJL�N�KQHK�����m��Zl���� ��G '
2018-09-24 08:48:14.359 [DEBUG] [ab.binding.http.internal.HttpBinding] - Couldn't create state for item 'Weather_TempFeels' from string '� ��(�ͱ�I�O���r�SH-*�/R�ON.-JM��)(J�KJL�N�KQHK�����m��Zl���� ��G '
2018-09-24 08:48:14.363 [DEBUG] [ab.binding.http.internal.HttpBinding] - item 'Weather_Precip_TextDayTitle' is fetched from cache
restarting OH2 daemon doesn’t change anything. I guess, it has something to do with encodings of some kind?
http.cfg
WetterRossbuehel_conditions.url=http://api.wunderground.com/api/<<APIKEY>>/conditions/forecast/lang:DL/q/45.2273930,14.9235310.json
WetterRossbuehel_conditions.updateInterval=4500000
items like described here: Comprehensive Wunderground using HTTP Binding Example
Is there anything I miss?
## Release = Raspbian GNU/Linux 9 (stretch)
## Kernel = Linux 4.14.52-v7+
vzorglub
(Vincent Regaud)
September 24, 2018, 9:17am
2
You are not the first one
It looks like it’s the Wunderground api response that’s mangled:
All,
Platform information:
Hardware: Raspi 3 + SSD (no SD)
OS: openhabian 1.4
Java Runtime openjdk version “1.8.0_152”
OpenJDK Runtime Environment (Zulu Embedded 8.25.0.76-linux-aarch32hf) (build 1.8.0_152-b76)
OpenJDK Client VM (Zulu Embedded 8.25.0.76-linux-aarch32hf) (build 25.152-b76, mixed mode, Evaluation)
openHAB version: OH 2.3 stable
Issue of the topic: Weird chracters in events.log
I generate the path to my icons depending on the weather with th follwing rule
//**************…
NCO
(E. Gerland)
September 24, 2018, 9:24am
3
So it’s not my system’s config (probably)
1 Like
binderth
(Thomas Binder)
September 24, 2018, 9:36am
4
hmm… a curl
on the http-cfg URL on Wunderground returns the correct JSON…?
binderth
(Thomas Binder)
September 24, 2018, 10:18am
5
ok. everything’s back to normal for now… In between I once got an 500 error while Curling the WU API.
So I guess, it was indeed a glitch in the WU-API…
what about your Icons, @NCO ?
binderth
(Thomas Binder)
September 24, 2018, 12:06pm
6
there’s still some glitches - at least for the last 30mins there’s that same errors again.
didn’t get one error again using curl
…
NCO
(E. Gerland)
September 24, 2018, 12:08pm
7
Thanks for the update.
Right now they are messed up again, but I won’t put any more effort in it, because the WU API will be discontibued soon.
So I will choose another source for my weather (for irrigation and sun shading of rollershutters) soon.
binderth
(Thomas Binder)
September 24, 2018, 12:13pm
8
oh. Didn’t know that. I read, that they don’t give out API-keys anymore, but do they plan to shut it down completely? They worked on their ecosystem as many personal weather stations upload their data…
btw, I also checked out Weather Unlocked but in my experience their data isn’t that much reliable.
NCO
(E. Gerland)
September 24, 2018, 12:45pm
9
That’s what I heard:
I would no invest too much time, the API service will stop working by the end of the year. Actually it already has stopped for me a couple of days ago.
1 Like
vzorglub
(Vincent Regaud)
September 24, 2018, 12:48pm
10
binderth:
Weather Unlocked
I will be monitoring the accuracy of this new source
As the weather is changing quite a bit at the moment it should be too long to confirm
Apparently though, the API is only changing every hour on the free plan
binderth
(Thomas Binder)
September 24, 2018, 12:53pm
11
For personal use this should be enough. and also 8day forecasts instead of 15 is ok for free!
plus (and that was why I checked it), they offer snowreports for various skiing areas in the alps! (which also sometimes lag behind or even switch back to older versions as I experienced this winter - but as there was more than enough snow, it didn’t matter if it was 75cm oder 90cm of snow…)
binderth
(Thomas Binder)
September 24, 2018, 1:00pm
12
NCO:
That’s what I heard:
Wunderground question
I would no invest too much time, the API service will stop working by the end of the year. Actually it already has stopped for me a couple of days ago.
found it also buried somewhere on their site. Seems quite a bunch of PWS users are pissed they put data to WU for years and will be cut off also (they promise some nebulous “We’re working on something” , but it doesn’t seem to find traction)
NCO
(E. Gerland)
September 24, 2018, 1:09pm
13
That would be perfect for my case.
binderth
(Thomas Binder)
September 24, 2018, 1:20pm
14
only drawback is, there’s no “weather description” as it is in WU-API. It was fun to get the current weather read out in the morning…
also there’s no translation, but only english names for the conditions…
NCO
(E. Gerland)
September 24, 2018, 1:27pm
15
That’s true
How about Yahoo?
binderth
(Thomas Binder)
September 24, 2018, 1:43pm
16
NCO:
How about Yahoo?
last time I checked the API came with less Information as WU (or Weather Unlocked). but also no translation, don’t they?
NCO
(E. Gerland)
September 24, 2018, 1:49pm
17
You might be right.
I did not check it out yet, but will do soon (I guess)