DZVents LastLevel for blinds switch not working
Posted: Thursday 28 May 2020 11:59
I tried to write a DZVents script for my dummy (percentage) blinds switch. It should toggle a relay depending on the direction and for a time depending on amount of closure (or opening)..
Looks like i know how to write the script. But i want to use the "lastLevel" value so i could know the difference between current (last) level and the new prefered level.
However, device.lastLevel is always equals to the device.level...
i am not sure what the issue is... in the DZVents documentation it says that it is available for dimmers... not specified if it should be available for blinds as well... but because it is not nil i guess it is.
i also could find a bug/fix in github:
https://github.com/domoticz/domoticz/issues/4112
Looks like it was reported 1 day after the 2020.2 release. So it could be that it is indeed a bug and it is already fixed. But i am not 100% sure if it is releated to my issue. And i can't find form posts about broken lastLevel scripts...
But if it is... does anyone know when a new release is planned?
Looks like i know how to write the script. But i want to use the "lastLevel" value so i could know the difference between current (last) level and the new prefered level.
However, device.lastLevel is always equals to the device.level...
i am not sure what the issue is... in the DZVents documentation it says that it is available for dimmers... not specified if it should be available for blinds as well... but because it is not nil i guess it is.
i also could find a bug/fix in github:
https://github.com/domoticz/domoticz/issues/4112
Looks like it was reported 1 day after the 2020.2 release. So it could be that it is indeed a bug and it is already fixed. But i am not 100% sure if it is releated to my issue. And i can't find form posts about broken lastLevel scripts...
But if it is... does anyone know when a new release is planned?