diff service/mqtt_graph_bridge/config_cardreader.n3 @ 1400:31aed1a0af9c

adjust kitchen PWM freqs. add comments and proposed contents of n3 configs Ignore-this: 8fc4659c1d8830e1ed66b0702b1e69fd darcs-hash:026328acb60195c0d4410ce1cc583ac120d1c6a3
author drewp <drewp@bigasterisk.com>
date Sat, 13 Jul 2019 19:58:50 -0700
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/service/mqtt_graph_bridge/config_cardreader.n3	Sat Jul 13 19:58:50 2019 -0700
@@ -0,0 +1,14 @@
+@prefix : <http://projects.bigasterisk.com/room/> .
+@prefix rdfs: <http://www.w3.org/2000/01/rdf-schema#> .
+@prefix fr: <http://bigasterisk.com/foaf/> .
+
+:cardReader a :MqttStatementSource;
+  :mqttTopicHead ("nightlight_display1" "tag");
+  :valueProcess [
+    :conversion :tagIdToUri  # AA-BB-CC-DD to <http://bigasterisk.com/rfidCard/aabbccdd>
+  ];
+  :graphStatements [
+     :outputPredicate :currentRead;
+     :statementLifetime "5s";
+  ]
+  .
\ No newline at end of file