I would like to set the start and end time of an equipment within the UI Homepage .
If I take a Number:Time “Time1” item I cannot set any value (is it a bug?).
If I take a Number:Temperature “Time2” item I can set very nicely a value but with the wrong dimension.
If I take just a Number “Time3” item I can set a value but the min and max limits are not taken into account (strange behaviour).
I would like to do it as it is done for temperatures.
Is there any proper solution available for setting of numbers within the Homepage? I don´t want to use widgets for this case.
Thank you for your help, Franz
Do you mean a duration when you are talking about “time” (e.g. 2 hours). Or are you referring to an instant in time (if so see @Matze0211’s answer).
Assuming the former…
I take this to mean you want either a slider or a setpoint widget to change the value.
The widget chosen by default depends on the Item type and the semantic tagging. If you are using the semantic model, this Item is most likely to be a Point, not an Equipment. So I would expect two tags for this Item, not just one. Probably “Setpoint” and “Duration”.
But that’s no guarantee that the correct widget will be chosen by default. It makes a best guess but doesn’t always get it right. This is why the default widget Item metadata exists. You can set the desired widget you want to have shown on the Overview Pages by setting the “default list item widget” to define exactly how you want it to appear.
Sorry, being not clear enough. Thank you for the input
Actually I want to have a simple solution to define the daily start hour and end hour of an equipment (heating, ventilation…). My idea is to do it in the equipment or property tab of the default MainUI homepage. But I experienced that the visual result in the homepage is dependent on the item definition and tag …
I the meantime I played around with the DateTime type. Is it possible to use just the time part as input in the default MainUI tabs?
Yes, set the inputmode property to text and the type property to time and you’ll get a nice time selection widget when you click on it. Link it to a DateTime Item and when you use that Item, simply ignore the Year/Month/Day part.
Thank you for the hint. I changed it in the Metadata / Default LIst Item Widget, right? This is a rather hidden but powerful feature! In the documentation it is not described well as it looks like. Would be nice to have a better presentation/explanation of usage.