projects
/
svn42.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7554adf
)
commands for photoresistor
author
Bernhard Tittelbach
<xro@realraum.at>
Fri, 5 Mar 2010 00:22:57 +0000
(
00:22
+0000)
committer
Bernhard Tittelbach
<xro@realraum.at>
Fri, 5 Mar 2010 00:22:57 +0000
(
00:22
+0000)
powersensordaemon/COMMANDS.txt
patch
|
blob
|
history
diff --git
a/powersensordaemon/COMMANDS.txt
b/powersensordaemon/COMMANDS.txt
index
ced3a29
..
26d6ee0
100644
(file)
--- a/
powersensordaemon/COMMANDS.txt
+++ b/
powersensordaemon/COMMANDS.txt
@@
-1,10
+1,12
@@
== Commands accepted by daemon ==
== Commands accepted by daemon ==
-COMMAND:= power $LICHTID (on|off) | listen $EVENT | sample $SAMPLEDEV
-LICHTID:= werkzeug | stereo | labor | schreibtisch | logo | idee
-EVENT:= all | temp | movement | button
-SAMPLEDEV:=temp[0-9]+
+COMMAND:= power $POWERID (on|off) | listen $EVENT | sample $SAMPLEDEV
+POWERID:= werkzeug | stereo | labor | schreibtisch | logo | idee
+EVENT:= all | temp | photo | movement | button
+SAMPLEDEV:=temp[0-9]+ | photo[0-9]+
+
+(subscription to events is cummulativ)
== Replys of daemon ==
== Replys of daemon ==
@@
-14,4
+16,4
@@
ERRORSTR:=no connection | unknown device | ....
== Listener Data from Daemon ==
(Temperature Data in Degrees Celsius)
== Listener Data from Daemon ==
(Temperature Data in Degrees Celsius)
-LISTENERDATA:=temp[0-9]+ [0-9]{1,3}\.[0-9]{2} | movement | button[0-9]
\ No newline at end of file
+LISTENERDATA:=temp[0-9]+: [0-9]{1,3}\.[0-9]{2} | photo[0-9]+: [0-9]{1,3} | movement | button[0-9]
\ No newline at end of file