123456789101112131415161718192021222324252627282930313233343536 |
- ================================================================================
- Arexx Data Logger Daemon
- (c) 2011--2012 Martin Mares <mj@ucw.cz>
- You can use and distribute this program under the terms of GPLv2.
- ================================================================================
- AREXX Engineering (http://www.arexx.com/) makes nice data loggers for monitoring
- temperature, humidity and CO2 levels. They consist of a base station (BS-500)
- and multiple wireless sensors. The base station can be connected to a PC over
- USB to download the data points and synchronize clock.
- However, all Linux support they provide is a single statically linked binary,
- which can send data to a remote web server. I was not satistified with that,
- so I reverse-engineered the communication protocol and wrote my own software.
- This package contains a daemon (arexxd), which watches USB and whenever the
- data logger is connected, it downloads all data points from its memory and
- continues fetching all further measurements in real time. Also, it synchronizes
- the clock of the logger to the system time. The data points are stored in a RRD
- database (see http://oss.oetiker.ch/rrdtool/), but you can easily tweak the
- source to process the data in any way you like.
- This program is not supported or endorsed by AREXX in any way. Also, there is
- no warranty on what it does or does not. However, if you have any bug reports
- or suggestions, I will be glad to hear them.
- To build the program, you need development packages for libusb-1.0 and librrd
- (they are probably called <something>-dev in your system). You might want
- to tweak init-arexxd script, which expects that an account called "arexxd"
- exists in /etc/passwd. Also, you can customize the correct_point() function
- in arexxd.c.
|