Enable your Raspberry to control relay, led, sensor and digital input remotely with Phidget WebService.
"The Phidget WebService is a background process that broadcasts all events and data from a USB Phidget over the network:
It uses link local addressing which allows you to use simple server names in your code. The link local addressing is provided by the programs Bonjour, avahi, or mDNSResponder, depending on your system, and the correct program is either installed already or with the Phidget libraries.
You can listen to the Phidget data and control the Phidgets over the network using one or more computers."....

More info

Remote control with Raspberry Pi and Phidget WebService