Is it possible to set Somfy blinds to a specific position between 0% and 100%?
I can set them to the top / open with [font=courier]luup.call_action (“urn:upnp-org:serviceId:WindowCovering1”,“Up”,{},67)[/font]
I can set them to the bottom / closed with [font=courier]luup.call_action (“urn:upnp-org:serviceId:WindowCovering1”,“Down”,{},67)[/font]
I can obviously stop them. ;D
I wondered if I might be able to ‘read’ their position with [font=courier]local BStatus = luup.variable_get (“urn:upnp-org:serviceId:Dimming1”,“LoadLevelStatus”,67) or 0[/font] but I didn’t have much luck with that.
I then wondered if I could set their specific position… I don’t think I can, but it would be nice if someone was able to confirm that I cannot.
When I tried with [font=courier]luup.call_action (“urn:upnp-org:serviceId:Dimming1”,“SetLoadLevelStatus”,{newLoadlevelStatus = “50”},67)[/font] I didn’t get anywhere. :-[
I can ‘shimmy’ them up from the bottom, with something like this…
[font=courier]luup.call_action (“urn:upnp-org:serviceId:WindowCovering1”,“Up”,{},67)
luup.sleep (500)
luup.call_action (“urn:upnp-org:serviceId:WindowCovering1”,“Stop”,{},67)[/font]
And I guess I could have a bigger delay or a loop around the sleep… but it’s still not perfect in any way. It might look like 50%, but it’s not going to be a confirmed 50%.
Is there even 2-way communication going on here? Can the blinds be interrogated for their position, I’m assuming so…
The plugin has a 0% to 100% slider in the Vera UI (UI7), but that doesn’t seem to work either… so am I correct in assuming it cannot be done?
Any guidance really appreciated.