Using WebIOPI is simple way to control GPIOs . The followings is my solution. To install WebIOPI to your raspberry Pi. webiopi Installation Note: if you use webiopi 0.7 and rasp 2, you have to run the patch. In the node_help.js of your module, use ‘http post’ to control the GPIOs. WebIOPI rest api ex: SET ‘GPIO 3’ to ‘IN’ , the request as below: HTTP POST http:/192.168.1.200:8000/GPIO/3/function/in