Window Covering Notes

From MiOS
Revision as of 18:43, 2 August 2012 by Micasaverde (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

There are a few different ways in Z-Wave that window covering devices are controlled, and our experience is that implementation is not always universal among all devices.

In the UI, if a device supports COMMAND_CLASS_SWITCH_MULTILEVEL, the UP button sends SWITCH_MULTILEVEL_START_LEVEL_CHANGE with the arguments 0x60, 0x0, and the DOWN button uses arguments 0x20, 0x0, while stop does SWITCH_MULTILEVEL_STOP_LEVEL_CHANGE.

If the device does not support that command class, but does support COMMAND_CLASS_BASIC_WINDOW_COVERING, the UP button sends BASIC_WINDOW_COVERING_START_LEVEL_CHANGE with the argument 0x0, DOWN sends 64, and STOP sends BASIC_WINDOW_COVERING_STOP_LEVEL_CHANGE.

If the device supports neither, then Up sends a BASIC_SET with 0x63, Down sends a BASIC_SET with 0x0.

If you set the variable urn:micasaverde-com:serviceId:HaDevice1 : ReverseOnOff to "1", then Down will be sent as Up, and Up as Down.

The Close and Open buttons as well as the slider send commands the same way they are sent to a light switch, namely with SWITCH_MULTILEVEL or a BASIC_SET.

Thus between all the close/open, up/down/stop all common variants are supported and one of them should achieve the desired result on your window covering.

Personal tools