How can I display the timestamp as stateformat rather than the event itself?
attr <device> stateFormat {ReadingsTimestamp('<device>','state','')}
or if your fhem is current:attr <device> stateFormat [$name:state:t]
Thanks guys. I'm using the latest version.
The ReadingsTimestamp works, but the other does not.
attr mqtt_motion stateFormat [$name:motion:t]
Have I got this right. motion is the name of the reading?
yes. correct.
are you sure your fhem is current? this feature has been added just a few weeks ago.
Some modules support the showtime attribute: if set, FHEMWEB displays the timestamp of the state reading.