Trying to get a device handler working for the Horstmann / Secure SIR 321 switch - basically a switch for turning on a heating load (towel radiator, immersion heater etc). It’s a fairly basic device that broadly acts as a zwave switch but also has the ability to run for a defined period of time. The physical button can set it to run for 30, 60 or 120 minutes but via zwave you are supposed to be able to run it for between 1 minute and 1 day (1440 minutes).
Now I know I could achieve the same scheduling functionality using Smartthings and the scheduling options available however I was trying to get the native zwave functionality working, however I can’t for the life of me get it to work.
Although the zwave scheduling is quite complex this device only really accepts a very simple variant - basically you set the schedule to start now and how long you want it to run for.
Looking at the zwave specs you have to send the following command:
However I can’t figure out in Smartthings how to do this. The right command looks to be to return one or more physicalgraph.zwave.commands.schedulev1.CommandScheduleSet statements, however the spec for that seems to be missing the last element of the zwave spec - i.e. the actual commands you want the device to run (available options are:
Based on the zwave spec I think I basically need to send it a binaryswitch on event (so command class 0x25, command 0x01 and value 0xFF (for on)). I’ve tried guessing there is an undocumented property with a few obvious guesses (e.g. cmdBytes, cmd) but no joy. Trying using the useridentiifer (which is not in the zwave spec but is in Smartthings interpretation) doesn’t seem to work either. The device will respond to a schedule get command and basically shows no schedule set irrespective of what commands I sent it!
Has anyone had any luck using the zwave schedule specific commands? Anyone from the Smarthings team clarify how this should be set?
Thanks in advance!