DZVents LastLevel for blinds switch not working

Moderator: leecollings

Post Reply
Doomic
Posts: 15
Joined: Friday 13 January 2017 14:10
Target OS: Linux
Domoticz version:
Contact:

DZVents LastLevel for blinds switch not working

Post by Doomic »

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?
User avatar
waaren
Posts: 6028
Joined: Tuesday 03 January 2017 14:18
Target OS: Linux
Domoticz version: Beta
Location: Netherlands
Contact:

Re: DZVents LastLevel for blinds switch not working

Post by waaren »

Doomic wrote: Thursday 28 May 2020 11:59 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.
But if it is... does anyone know when a new release is planned?
Is indeed fixed in build 12002. I am not aware of any plans for a new release.
Debian buster, bullseye on RPI-4, Intel NUC.
dz Beta, Z-Wave, RFLink, RFXtrx433e, P1, Youless, Hue, Yeelight, Xiaomi, MQTT
==>> dzVents wiki
Doomic
Posts: 15
Joined: Friday 13 January 2017 14:10
Target OS: Linux
Domoticz version:
Contact:

Re: DZVents LastLevel for blinds switch not working

Post by Doomic »

to bad... than i have to find another solution (store last value in own variable or something like that). Or i have to build domoticz with the 12002 changeset.
Because i do not expect to see an update soon. (because it looks like that Domoticz is not releasing very often).
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest