Time machine ?
Iād guess the device does not send anything or what is sent is broken, so the updater assumes āneverā, in terms of the long variable thatās used to represent time thatās a ā0ā and equals into the epoch which is what you see.
(also, āautoupdate=falseā on a DateTime item ? Seems weird at least)
Debug your device zwave communications. Ultimately you likely cannot do anything about it except to exchange hardware.
The device reports a battery level of 87% which then gets translated to 1970-01-01T00:01:27
I made it a habit to include this in all Z-Wave fields that report the value themselves.
While this has saved me lots of trouble in my rules (learned through pain) this effectively brakes the system profile.
Once I removed the auto-update from the item definition the system profile worked as expected.
Nah, donāt confuse the value with the timestamp for the value. The timestamp isnāt exactly 00:00 so it was updated, just calculated without/with a bad offset.
Have you waited for another update to see what happens ?
Did you mean to say that solved it ?
PS: moved to separate topic. Examples section isnāt for this.
The device reports battery level of 87. Instead of using the timestamp because of the system profile the battery level gets interpreted as a datetime. Openhab interprets it as secs since 1970:
1970.01.01 00:00:00 + 87 Seconds ā 1970.01.01. 00:01:27
Yes - itās working as expected now after I removed the auto update.
It seems auto-update disables the profile.
Iām a little surprised it let you link a Number Channel to a DateTime Item without error. Sometimes I wonder if it would be worth the wailing and gnashing of teeth that would result from tightening up the error checking on this sort of thing. There has to be a way to prevent it in cases where a profile is not being used but allow it where the profile is provided which can change the Item type.
In this case it would maybe have given you the hint that the profile syntax was wrong by complaining that you canāt link a Number Channel to a DateTime.
Though even with the error checking I can see where a Number Channel would be allowed to be linked to a DateTime if that Number represents epoch. So maybe not.
But you can link a Number channel to a Datetime Item ā¦ or a Rollershutter to Play if you like. Not just with the timestamp profiles, but with any completely arbitrary arrangement the user cares to make with generic transforms.
Ennyway this one fits a hobby horse about people using files instead of GUI to configure and fighting syntax errors