RESTful API for the rcswitch library based on node.js/express