changeset 89:1c1fcb71e10a

shuttlepro: some old changes Ignore-this: 980a9ffa0b084bd46db880b4b3621a02
author drewp@bigasterisk.com
date Fri, 02 Aug 2013 08:06:05 -0700
parents 3988aaa5ea82
children 80efeab5c02f
files service/shuttlepro/shuttlepro.py
diffstat 1 files changed, 9 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/service/shuttlepro/shuttlepro.py	Fri Aug 02 08:04:20 2013 -0700
+++ b/service/shuttlepro/shuttlepro.py	Fri Aug 02 08:06:05 2013 -0700
@@ -352,9 +352,16 @@
 
         return event
 
+import restkit
+reasoning = restkit.Resource("http://bang:9071/", timeout=1)
+
+from rdflib import Namespace
+SHUTTLEPRO = Namespace("http://projects.bigasterisk.com/room/livingRoom/shuttlepro/")
+ROOM = Namespace("http://projects.bigasterisk.com/room/")
+
 if __name__ == '__main__':
-    import restkit
-    mpd = restkit.Resource("http://bang:9009/")
+    import restkit, urllib
+    mpd = restkit.Resource("http://slash:9009/")
     def ev(what):
         print 'ev', what
         if 'key' in what and what['press']: