A Flask based Python WebApi for viewing and changing state of relays connected to the GPIO pins on a Raspberry Pi. The project is described on my blog: https://larsbergqvist.wordpress.com/2016/03/09/control-your-home-with-a-raspberry-pi-and-a-mobile-phone/