README 1.8 KB

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