This link is extremely powerful. Any input on the web gateway can be inserted into a predefined serial message and then sent to a Serial Smart board of your choosing. You can flip a switch on one channel and read the data into another channel.