Thanks. I tried this:
var SimpleDateFormat df = new SimpleDateFormat( "YYYY-MM-dd HH:mm:ss" ) var String Timestamp = df.format( new Date() )
logInfo("RFX_Wind_Update", Timestamp ) RFX_Wind_Update.postUpdate(Timestamp)
Logfile outputs correctly:
[o.model.script.RFX_Wind_Update] - 2015-08-26 21:09:34
but the item state itself isn’t set. Item definition looks like:
String RFX_Wind_Update “Wind letztes Update:” (FF_Office,Klima)