H102
(CM6.5 H102)
January 26, 2020, 6:58pm
5
I’ve never used this binding but if your frustrated with it have a look at DarkSky.
Another option is https://www.yr.no/place/Denmark/Capital/Copenhagen/
In your sitemap file add:
Frame label=Meteogram {
Image url="https://www.yr.no/place/Denmark/Capital/Copenhagen/advanced_meteogram.png" label="Meteogram" refresh=360000
}
This will give you a three-day forecast, no binding needed, just make sure that you are not refreshing too frequently, otherwise, this (and similar sites) will block you. You only need to change the site location.
1 Like
namraccr
(namraccr)
January 26, 2020, 7:33pm
6
Or get a log file and figure out why it’s not working.
1 Like
opus
(Jürgen Baginski)
January 26, 2020, 7:57pm
7
The configuration looks OK.
I did a test with the same cellID getting the same result.
Raising the log:level to DEBUG did not reveal anything.
namraccr
(namraccr)
January 27, 2020, 12:30am
8
Do you mean the debug output wasn’t helpful, or you didn’t see any debug output at all?
opus
(Jürgen Baginski)
January 27, 2020, 6:50am
9
Sorry for being not precise enough.
There were one or two DEBUG lines, but those didn’t help much.
The most usefull was this:
[DEBUG] [r.internal.data.DwdWarningDataAccess] - Refreshing Data: https://maps.dwd.de/geoserver/dwd/ows?service=WFS&version=2.0.0&request=GetFeature&typeName=dwd:Warnungen_Gemeinden&CQL_FILTER=WARNCELLID+LIKE+%27103101000%27
Trying this link manually didn’t result in a response that could be parsed for the binding (IMHO). Although I would have expected some more DEBUG entries because of such a response.
Only the channel “Last update” is getting values, although this is probably done without parsing the return of DWD.
The OP showed a link that returns all warnings in json format, maybe there was change in the service??
namraccr
(namraccr)
January 27, 2020, 6:52am
10
I’m guessing so. The short answer is that the binding isn’t receiving any meaningful data from the request.
Longer answer:
The binding sends this query:
https://maps.dwd.de/geoserver/dwd/ows?service=WFS&version=2.0.0&request=GetFeature&typeName=dwd:Warnungen_Gemeinden&CQL_FILTER=WARNCELLID+LIKE+%27103101000%27
And receives this response:
<?xml version="1.0" encoding="UTF-8"?><wfs:FeatureCollection xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:dwd="http://www.dwd.de" xmlns:wfs="http://www.opengis.net/wfs/2.0" xmlns:gml="http://www.opengis.net/gml/3.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" numberMatched="0" numberReturned="0" timeStamp="2020-01-27T06:21:13.324Z" xsi:schemaLocation="http://www.dwd.de https://maps.dwd.de/geoserver/dwd/wfs?service=WFS&version=2.0.0&request=DescribeFeatureType&typeName=dwd%3AWarnungen_Gemeinden http://www.opengis.net/wfs/2.0 https://maps.dwd.de/geoserver/schemas/wfs/2.0/wfs.xsd http://www.opengis.net/gml/3.2 https://maps.dwd.de/geoserver/schemas/gml/3.2.1/gml.xsd"/>
The interesting part of the response appears to be this:
numberMatched="0" numberReturned="0"
The binding then proceeds to do absolutely no validation of the response, provides the user with no useful feedback to indicate that the request has utterly failed, and remains “ONLINE”.
opus
(Jürgen Baginski)
January 27, 2020, 6:53am
11
I guess this asks for an IssueReport on github.
1 Like
namraccr
(namraccr)
January 27, 2020, 6:55am
12
If @milo wants to file one , he should be the one to have the privilege.
If he doesn’t, I will.
2 Likes
milo
(M)
January 27, 2020, 4:04pm
13
@namraccr @opus I can not do it due to other things…just do it, please thanks
namraccr
(namraccr)
February 2, 2020, 2:02pm
15
I’ve created a PR to fix this. …and here’s some more text to block the stupid spam filter…
In the meantime, here’s a test jar .
1 Like
namraccr
(namraccr)
February 2, 2020, 4:22pm
17
Uninstall the existing binding, then drop the jar file into the addons directory.
milo
(M)
February 4, 2020, 6:47am
18
namraccr:
addons directory
do I need to activat it somehow??
opus
(Jürgen Baginski)
February 4, 2020, 6:48am
19
It should be active, can you create a thing for the binding?
milo
(M)
February 4, 2020, 6:52am
20
yes…soory first time i installed an addon manually
1 Like
milo
(M)
February 9, 2020, 4:44pm
21
Sory still coming @opus
Status: UNKNOWN
i have copied the jar file into /usr/share/openhab2/addons
org.openhab.binding.dwdunwetter-2.5.2-SNAPSHOT.jar
correct??
SteffenS
(Steffen Schmidt)
March 11, 2020, 9:27pm
22
Hi
is there something new?
i have the same problemes. took the binding, and get no values, no entries in the logs.
milo
(M)
March 12, 2020, 8:32pm
23
Nothing new still same issue
paglatz
(Patrick)
March 21, 2020, 6:41pm
24
Hey guys,
i had also some problems with the DWDUnwetter binding. I analysed it also but in a different thread. I also contacted the DWD to clarify the issue. For me it is solved now, please have a look here:
https://community.openhab.org/t/dwd-unwetter-warnungen-no-values/93847/8
Hope this helps also
Patrick