Display lastUpdate timestamp in widget


is it possible to get the lastUpdate as timesatmp for a widget?

I tried


but this isn’t displaying anything…

Any help appreciated :slight_smile:

Yes. if you store the timestamp in another Item.

No, if you want to try to pull it from persistence. Except for the oh-repeater widget, all you have available are state and displayState from an Item in the widgets.

And is there an easy way to store the timestamp in another item without having to create an explicit rule?

yes, investigate the time stamp profile. Create a new item for the channel you want to timestamp. Make it a DateTime type item and then choose time stamp on change or time stamp on update profile

1 Like