add trinketSetAlarmLevel
[trinked.git] / README.md
1 Trinketd - driver and collecting tool for Atom Pro/Atom mini 2, russian
2 name/brand: Брелок Гейгера.
3
4 The tool was developed for FreeBSD but it should be very easy to port it on
5 Linux.
6 Prerequisites: libhidapi (FreeBSD ports: comms/hidapi,
7                           http://www.signal11.us/oss/hidapi/)
8
9 trinketd [-d] [-p pidfile] [-P period] [-D datadir] [-i tics] [-l logfile]
10 -d          - daemonize
11 -p pidfile  - create a pid-file
12 -P period   - collection period, in seconds, default 300 secs
13 -D datadir  - directory to place output file, default stdout
14 -i tics     - the number of samples for the moving average, default 1
15 -l logfile  - name of log file, if it's not presented then messages will send
16               to syslog if daemonize else stderr
17
18 Format of data file:
19 total: 7220       - total number of Geiger's events (since power on) 
20 counts: 167       - number of Geiger's events for tics * period time 
21 tics: 12          - number of samples 
22 radlevel: 15.71   - radiation level, mkR/h
23
24 Copyright (c) 2016, Teodor Sigaev <teodor@sigaev.ru>