[SOLVED] JSON Path weather warnings DWD (Deutscher Wetterdienst)


(Oliver Schnaus) #82

Hello Martin,
great binding. Works perfectly.
Unfortunately, I get the date and time displayed in the Habpanel in a long string.
Can I change that without using a big rule?
greeting
Oliver


(Martin Köhler) #83

Can you try the newest version from https://github.com/limdul79/openhab2-addons/tree/dwd and re-create the item? The item should be of the Type DateTime. With that, you should be able to format the Item in HABPanel with Format Strings.


(Richard) #84

@LimDul copied yesterday a new .jar file on his google drive. Thank you!

So far no error in the logs.

When i read the table in the documentation (thank you!) here: https://github.com/limdul79/openhab2-addons/tree/dwd/addons/binding/org.openhab.binding.dwdunwetter there is no “last update” item?

In the lack of “Unwetter” i can’t test the function … :slight_smile:


(Martin Köhler) #85

For testing, I look for regions with active warnings and change my thing :slight_smile:

Yes, there is no lastUpdate Item - SImple Reason I haven’t thought about ist. But I might add one (only one per thing, regardless of the number of warnings provided)


(Richard) #86

The lastUpdate Item is, in my opinion, only useful to check if the DWD Server is online and if the OpenHAB Binding ist working. (I wasn’t aware that my existing installation was not working … so missed a lot of warnings :slight_smile: )


(Richard) #87

it workes :slight_smile:

The switch is off … normal?


(Martin Köhler) #88

Should not be off. I have updated the binding and uploaded new Jars, including a last updated Channel :slight_smile:

I fixed the problem that at the first startup there were empty items and only after waiting the refresh Time it got populated.