is there a way to understand which version of dzvents is running?
I'm asking this because 2.4.1 has few break changes that users with 2.3 cannot use...
so, once upgraded the scripts they will be usless to old system.
I'm willing to develop both version of the same script... something like:
if domoticz.dzVer >= 2.4 then
if device.isTimer then
...
elseif domoticz.dzVer < 2.4 then
if trigger.trigger = domoticz.EVENT_TIMER then
....
ciao
m
P.S. a workaround would be a user variable