Hi,
I am getting nuts over the simple task to show DateTime in OH2.
I have installed the NTP Binding, it found the Thing and configured the items accordingly.
So I have the following channels:
Date
ntp:ntp:local:dateTime
Date
ntp:ntp:local:string
And these are my text-setups:
Items:
/* NTP binding */
DateTime CurrentDate “Heutiges Datum [%1$tA, %1$td.%1$tm.%1$tY]” { channel=“ntp:ntp:local:dateTime” }
Sitemap:
Frame label=“Kalender”
{
Text item=CurrentDate
}
Result in the UI is just an empty string “Current Date”.
Where is my mistake?
Thanks
Cu
Frank