This page contains useful scripts and links.
The following code can be used to execute stored codes with Python. This script can be used when running EventGhost.
BridgeURL="http://192.168.1.145:7474" cmd="KitchenIsland40" retries=3 for t in range(1,retries+1): try: r=urllib2.urlopen(BridgeURL + "/code/" + cmd,None,1) stat=r.read() except: stat="URL Openfail" print "RM Status: " + stat if "send data success" in stat: sys.exit(0) print "RM Retry: " + str(t) print "RM Send Failed" sys.exit(1)