noob:sending Binary Switch SET command. please explain

forgive my dumbness, i am a complete newbie here.
I have a two-channel ASR2-RF boiler control unit which i wish to send a “Binary Switch SET command” as opposed to the (easily controlable “Thermostat Mode SET command”. My vera, by default has given me access to the thermostat mode set but the ASR unit times out unless a continous/regular signal is received. Using the “binary switch set command” the unit should respond similarly without the failsafe time out.
As far as i can make out i need a short command to switch using the binary method but i have no idea how to syntax the code.

the unit i wish to control is this: [url=http://www.pepper1.net/zwavedb/device/44]http://www.pepper1.net/zwavedb/device/44[/url]
Can anyone please help.
many thanks

Hi,

You can find some info on how to send Z-Wave commands on this thread: http://forum.micasaverde.com/index.php/topic,9034.msg59377.html#msg59377

Many thanks for the reply. I spent some time and found a better solution whereby the vera checks the state of the device at regular intervals and then repeats the output back to the device. This keeps the system “alive” and prevents the receiving unit shutting down under failsafe conditions. However, this still should allow a failsafe to occur if comms is lost.

-- device#14 Hot water
local HVACstatus = luup.variable_get("urn:upnp-org:serviceId:HVAC_UserOperatingMode1", "ModeStatus", 14)

if (HVACstatus == "HeatOn") then
luup.call_action("urn:upnp-org:serviceId:HVAC_UserOperatingMode1", "SetModeTarget", {NewModeTarget = "HeatOn"}, 14)
else
luup.call_action("urn:upnp-org:serviceId:HVAC_UserOperatingMode1", "SetModeTarget", {NewModeTarget = "Off"}, 14)
end

-- device#15 Heating
local HVACstatus = luup.variable_get("urn:upnp-org:serviceId:HVAC_UserOperatingMode1", "ModeStatus", 15)

if (HVACstatus == "HeatOn") then
luup.call_action("urn:upnp-org:serviceId:HVAC_UserOperatingMode1", "SetModeTarget", {NewModeTarget = "HeatOn"}, 15)
else
luup.call_action("urn:upnp-org:serviceId:HVAC_UserOperatingMode1", "SetModeTarget", {NewModeTarget = "Off"}, 15)
end

I put this code on a “every 20minutes” schedule so it runs automatically

Thanks UKsub, you have just saved me a load of time as the BinarySet does not seem to work!

However for me this is not fail safe as if Vera fails in the winter the boiler & heating will go off & the house could freeze. I shall maybe try wiring it the other way round using the NC contacts so that it all fails on.