Blinds: dzvents level do not report level properly but lua does
Posted: Saturday 09 September 2023 19:17
I try to migrate my script from Lua to dzvents
I use a blind percentage on a FGRM222 Fibaro zwave
Domoticz is 2023.2 with OZW
When I set the level to 43% with domoticz widget or physical switch
In My automation script/device current state/value:
Sate: Open Value 1/100
In Lua script:
otherdevices_svalues['Store'] return 43
otherdevices['Store'] return 43%
In API/JSON:
with /json.htm?type=command¶m=getdevices&rid=IDX
it return 43 as result/0/level and result/0/intLevel
In dzscript:
domoticz.devices('Volet Salon').state return Open
In dzvents, I tried other devices attribute like rawData[1] or sValue or level with no success
Is there a way to get the blind percentage from dzvents (without Asynchronous HTTP Request and handling)
I can provide full lua+dzvents+json if usefull to understand
I use a blind percentage on a FGRM222 Fibaro zwave
Domoticz is 2023.2 with OZW
When I set the level to 43% with domoticz widget or physical switch
In My automation script/device current state/value:
Sate: Open Value 1/100
In Lua script:
otherdevices_svalues['Store'] return 43
otherdevices['Store'] return 43%
In API/JSON:
with /json.htm?type=command¶m=getdevices&rid=IDX
it return 43 as result/0/level and result/0/intLevel
In dzscript:
domoticz.devices('Volet Salon').state return Open
In dzvents, I tried other devices attribute like rawData[1] or sValue or level with no success
Is there a way to get the blind percentage from dzvents (without Asynchronous HTTP Request and handling)
I can provide full lua+dzvents+json if usefull to understand