NTP Binding PaperUI vs. Sitemap

Hello Community,

when I take a look at an NTP item in the “Control” View in Openhab2 it shows the corrcet time.

When I look at the same item used in my own sitemap there is one hour difference between them.

In my sitemap I want to see the current local time. So I use the following code

Text item=NTPTime

The configuration of the item is:

DateTime NTPTime "NTP Time [%1$td.%1$tm.%1$tY %1$tT]" <clock> {channel="ntp:ntp:local:dateTime"}

The configuration of the thing is:

ntp:ntp:local [hostname="0.pool.ntp.org", refreshInterval=60, refreshNtp=30, locale="", timeZone="Europe/Berlin" ]

Has anybody a hint for my problem?

Thanks

What is your timezone setting? In the operating system and in your openHAB installation?

See also the answers in the following thread: