Date not showing in app

I have set a sitemap which is supposed to show the current date and time from the openhab2 controller.
When loading the sitemap the date icon appears but the date value/text is invisible.
Other parameters values like weather are visible.
Is it an app issue, a font issue, a small phone display or what?
Any assistance and guidance appreciated.

You might have to show us your sitemap entry, and perhap even the Item that you arr trying to display

Sorry. Correct.

Here is the sitemap:
sitemap home label=“My home automation” {
Frame label=“Date” {
Default item=LocalTime_Date
}
Frame label=“Temperature” {
Text item=MotionSensor_SensorTemperature valuecolor=[>25=“orange”,>15=“green”,<=15=“blue”]
Text item=WeatherInformation_Temperature label=“Temperature Outside [%s]” icon=“temperature”
}
Frame label=“Foscam” {
Text item=Foscam_Motion
}
}

The item is from the parameter from the ntp binding using paperUI:

and visible like this in HABmin sitemap:

Enable/Use the string channel… that will work. The config will give you control on how it is displayed in the UI

I may be asking questions that are obvious since I am new to all this.
What do you mean by “config”? Where?

In your screenshot, on the 2nd line that has Date, you see on the right side 2 icons. One pencil like icon and a up-down icon. Click the pencil one and you can configure the output format.

See for some more details in the docs.openhab.org string channel section

Hi,

Can I join to this discussion. I have the same issue with Date and time.
Using openhab demo house so configs should be well known to everyone.

Below is the copy of item (from demo house)

/* NTP binding demo item */
DateTime		Date			"Date [%1$tA, %1$td.%1$tm.%1$tY]"	<calendar>	{ ntp="Europe/London:en_GB" }

And sitemap (from demo house)

Frame label="Date" {
		Text item=Date

Also attached is the screenshot from my openhab app showing date with any value.

I have installed NTP binding.

Can someone guide me how to configure to get data on my screen. I hope this tutorial will be useful for everyone.

Capture

Hi Andy,

Define you item like this

DateTime Date "Date [%1$tA, %1$td.%1$tm.%1$tY]" <calendar>

In PaperUI
In config
Things
Add thing
NTP local time
Select the first one

image

And link to your existing item Date

Hi Vincent,

Brilliant that works - many thanks, Date is know showing.

I have another problem with Weather binding , perhaps you may know how to fix it.

https://community.openhab.org/t/demo-house-weather/43462/8

Kind regards,
Andy