--- lib/plugins.py.original	2013-01-16 14:41:07.000000000 -0500
+++ lib/plugins.py	2013-01-16 15:49:52.000000000 -0500
@@ -325,11 +325,48 @@
 
         return False, None
 
+# plugin chillispot - handles information from chillispot
+# Based off all of the other plugins in this library
+# @author: Matthew Gillespie
+class plugin_UBNT_CHILLISPOT:
+    shortname = str("ubnt-chillispot")
+    name = str("UBNT Chillispot")
+    command = str("chilli_query list | grep pass | wc -l")
+    enabled = True
+
+    def dataPack(self, data):
+        if config.debug:
+            print "UBNT_CHILLISPOT.dataPack invoked with data:"
+            sys.stdout.write(data)
+            print "========================="
+
+        return {
+            "chillispot-authenticated" : data
+        }
+
+    def queryHandler(self, query, data):
+        found = False
+
+        if config.debug:
+            print "UBNT_CHILLISPOT.queryHandler invoked with query:", query
+
+        if query == "chillispot-authenticated":
+	     value = data["chillispot-authenticated"]
+	     found = True
+
+        if found:
+            return True, value
+
+        return False, None
+
+
+
 plugins_available = [
     plugin_UBNT_MCAStatus,
     plugin_UBNT_WStaList,
     plugin_UBNT_RAM,
-    plugin_UBNT_CPUTop
+    plugin_UBNT_CPUTop,
+    plugin_UBNT_CHILLISPOT
 ]
 
 """ end plugin definitions """
