This is a follow up to: Re: [ANSWERED]: Aeotec Heavy Duty Switch (ZW078)
I have been pulling my hair out trying to control a Smart Switch 6 (Gen5). However, sheer stubbornness has won the day. I now have 80%-90% of a solution, thanks to Google, Vesternet, and a little bit of luck:
http://www.vesternet.com/resources/application-notes/apnt-89The key information is in the on/off commands under the Easy Way section:
- On: luup.call_action('urn:micasaverde-com:serviceId:ZWaveNetwork1','SendData',{Node='52',Data='
37 1 255'},1)
- Off: luup.call_action('urn:micasaverde-com:serviceId:ZWaveNetwork1','SendData',{Node='52',Data='
37 1 0'},1)
Where:
-
37 = Binary Switch Command Class
- 1 = SET
- 255 = ON, 0 = OFFIs it really that easy???Ok - lets send a raw command to the Smart Switch 6:
- Interfaces -> Z-Wave -> Send RAW Z-Wave Command, pick the Smart Switch 6 device:
- On: 0x25 0x01 0xff and send -> switch turned on. (Note: base conversions: 37=0x25, 255=0xff)
- Off: 0x25 0x01 0x00 -> switch turned off.
Yup - It really is that easy!Support: Now that I have a working solution with RAW Z-Wave commands, how does one proceed to "tweak" the Device with this information? Do you need to define a class for the device or is there something I can do myself? Happy to learn - just don't know how (yet!).
Thanks!
Jason