Sorry for my English, so let's try. I'm new in Domoticz but I already have a Fibaro HC2 (LUA and so on) and I would like to create some dzVents scripts.
My problem is very simple : I would like to know when a specific variable has been updated.
I can see this update date doing a JSON request :
The last update time is "2019-06-07 09:45:39" in this examplehttp followed by IP:8080/json.htm?type=command¶m=getuservariable&idx=12
{
"result" : [
{
"LastUpdate" : "2019-06-07 09:45:39",
"Name" : "CtrZ1On",
"Type" : "0",
"Value" : "1",
"idx" : "12"
}
],
"status" : "OK",
"title" : "GetUserVariable"
}
The syntax I use to retrieve the value is : local CtrZ1On = domoticz.variables('CtrZ1On').value which is very simple and intuitive
But I have problems when I try this local CtrZ1OnFreshness = domoticz.variables('CtrZ1On').lastUpdate
May be syntax, may be variable time ... I would't spend hours reading tons of documentation ... so cant everyone help me

Thanks in advance
Regards - Jean-Paul