XBee Wall Router
The Wall Router's principal function is to serve as a Router in an XBee network. Routers repeat messages in the XBee mesh allowing the mesh to span a larger area. The Wall Router also has light and temperature sensors.
XBee Wall Router Terminals
The Wall Router Device has 3 output terminals providing light intensity and temperature information. The "light_Lux" output emits a number indicating the amount of light, in Lux, that is shining on the light sensor. The "temp_F" and "temp_C" outputs output the ambient temperature in Fahrenheit and Celsius.
XBee Wall Router Device Installation
To install a Wall Router Device, the device must first be joined into an existing XBee network (which the Virtual Wiring system is a part of). Once joined, create a Wall Router Device by running the WallRouter Script. The parameters for the WallRouter Script are:
To add a Wall Router Device with ID "wall_router" and network address 0013a200406b0263 to a system which is wired to a Coordinator Device at port_location "/dev/ttyUSB0", run the WallRouter Script with the following parameters:
Note: the port_location parameter can be set to nil, if the system owns only one XBee network.