I receive a timestamp via MQTT, which throws an WARN:
2024-01-23 17:15:07.094 [WARN ] [ab.binding.mqtt.generic.ChannelState] - Command '2024-01-23 14:36:29+00:00' from channel 'mqtt:topic:synology:VW:lastUpdate' not supported by type 'DateTimeValue': 2024-01-23 14:36:29+00:00 is not in a valid format.
Is there a short Value Transformation to convert the time in a OH4-understable format?
Change what ever is publishing this message to use ISO8601 formatted strings
Create a transformation that converts the above to an ISO8601 formatted string
Create a transformation that converts the above to the format used by Java ZonedDateTime which is somewhat compatible with ISO8601 in some circumstances but differs slightly in how it handles the timezone.
Implementing 2 or 3 is going to differ based on what scripting langue you want to use to do the transformation.
I JS Scripting I would expect it to look something like: