Software Overview  |  Sitemap  |  Downloads  |  Developers  |  Forums

ZWave Binary Switch

The ZWave Binary Switch turns lights and appliances on and off. The Binary Switch comes in a number of different packages. These can be wall warts, outdoor switches, outlets, and small packages that fit within electrical boxes.

Installing a Binary Switch

The Binary Switch Device has an input terminal (1), for turning the switch on and off, and an output status terminal (1S), which shows the state of the switch. If the "1" terminal is on, the switch is told to turn on. If the "1" terminal is off, the switch is told to turn off.

Generally, the "1S" status output will track the state of the "1" terminal. If the switch malfunctions or is out of radio range, the "1S" terminal will not track the "1" terminal. The "1S" terminal is useful when one needs to know the actual state of the switch.

Create the Binary Switch Device by running the SwitchBinary Script. The parameters for the SwitchBinary Script are:

address :

port_location :

  • this parameter is only necessary when there is more than one Z-Wave network. The port_location is the USB port of the network's Z-Wave controller. It is used to differentiate Z-Wave networks. In *nix systems, this is in the /dev directory with a name like /dev/ttyUSB0 or /dev/cu.usbserial-00001004. Type "ls -lrt /dev/*" for hints. On Windows systems, the location is COMx where "x" is a number (1,2,3, etc.).


To add a Binary Switch Device with ID "switch" and Z-Wave address 5 to a system with one Z-Wave network, run the SwitchBinary Script with the following parameters:

id: "switch"
address: 5

Catalina Computing, LLC.

Copyright © Catalina Computing, LLC. (2013-2018)

Page last updated: Wed Jan 7 14:44:56 2015 (UTC)