= RF Switch = == REST API == All valid calls will reply with formatted XML. The first line will be `` for commands that execute correctly, or `` if either the parameters passed are invalid of the call failed for some other reason (check /var/log/syslog on the relevant Pi for more information). || '''REST API Call''' || '''Description''' || || /RFSwitch/set_rf?switch=''''&rf='''' || Sets the requested switch (1 to 4) to rf port (1 or 2) || || /RFSwitch/status || Returns status information: total number of switches and the individual switch states (what rf ports they are set to). || '''Example XML responses:''' Response to: .../RFSwitch/set_rf?switch=1&rf=2 {{{ }}} Response to: .../RFSwitch/status {{{ }}}