PanicButton Entprellung
[svn42.git] / powersensordaemon / COMMANDS.txt
1
2 == Commands accepted by daemon ==
3
4 COMMAND:= power $LICHTID (on|off) |  listen $EVENT | sample $SAMPLEDEV
5 LICHTID:= werkzeug | stereo | labor | schreibtisch | logo | idee
6 EVENT:= all | temp | movement | button
7 SAMPLEDEV:=temp[0-9]+ 
8
9 == Replys of daemon ==
10
11 CMDREPLY:= ok | error $ERRORSTR
12 ERRORSTR:=no connection | unknown device | ....
13
14 == Listener Data from Daemon ==
15 (Temperature Data in Degrees Celsius)
16
17 LISTENERDATA:=temp[0-9]+ [0-9]{1,3}\.[0-9]{2} | movement | button[0-9]