My sunblinds (Jaloezie in Dutch) goes up and down between 0 - 100%
When I want to open the sunblinds I need to increase the absolute value with 5%.
For example: sunblinds down, set the slider to 50%. When the sunblinds are stopped,
activate a scene to open the sunblinds to 45%.
I guess the scene code to relative increase the sunblinds with 5% would be something like this:
local lightLevel = luup.variable_get(“urn:upnp-org:serviceId:Dimming1”, “LoadLevelStatus”, 6)
luup.call_action(“urn:upnp-org:serviceId:Dimming1”, “SetLoadLevelTarget”, {newLoadlevelTarget = {“local lightlevel” + “5”}}, 6)
who can help me with the right code? thanks