We have moved at community.getvera.com

Author Topic: D?wi blind control - dimming doesn't work with latest firmware 1.7.1017  (Read 736 times)

Offline chris66

  • Sr. Member
  • ****
  • Posts: 318
  • Karma: +9/-8
before I was able to use dimming class for D?wi blind controller. Now it doesn't work.

This work with D?wi:
luup.call_action("urn:upnp-org:serviceId:WindowCovering1","Down",{ },DeviceID)
luup.call_action("urn:upnp-org:serviceId:WindowCovering1","Up",{ },DeviceID)
luup.call_action("urn:upnp-org:serviceId:WindowCovering1","Stop",{ },DeviceID)

This doesn't work with D?wi:
luup.call_action("urn:upnp-org:serviceId:Dimming1","SetLoadLevelTarget", {newLoadlevelTarget = "100"}, DeviceID)
luup.call_action("urn:upnp-org:serviceId:Dimming1","SetLoadLevelTarget", {newLoadlevelTarget = "0"}, DeviceID)

But works with other controller like FibaroFGR221.. 222

Open Close buttons and the percentage bar doesn't work with D?wi. But the Success transmission message appears always, so you cannot see in the log that id didn't work.

So what is the solution to test if the blind is open?

With firmware 2017 I was able to test with this function:

local lul_BlindStairStatus = luup.variable_get("urn:upnp-org:serviceId:Dimming1", "LoadLevelStatus", 29)
if tonumber(lul_BlindLivingStatus) ~=100 then...

Now no more possibility to get status because
LoadLevelStatus is always on 0
LoadLevelTarget is always on 100
If anybody has a workaround, thanks, Chris