@@ -0,0 +1,281 @@
+import urllib2,json%0Aimport RPi.GPIO as GPIO%0A%0AGPIO.setmode(GPIO.BOARD)%0AGPIO.setup(5, GPIO.OUT)%0A%0Aresults = urllib2.urlopen('http://192.168.168.84/api.json').read()%0Astatus = json.loads(results)%5B'led'%5D%0Aif status == True:%0A    GPIO.output(5, GPIO.HIGH)%0Aelse:%0A %09 GPIO.output(5, GPIO.LOW)%0A

Add basic control