+VERSION=1.0
+ARCHIVE=arexxd-$(VERSION).tar.gz
+
CC=gcc
LD=gcc
CFLAGS=-O2 -Wall -W -Wno-parentheses -Wstrict-prototypes -Wmissing-prototypes -Wundef -Wredundant-decls -std=gnu99
install: all
install arexxd /usr/local/sbin/
+
+release:
+ git tag v$(VERSION)
+ git push --tags
+ git archive --format=tar --prefix=arexxd-$(VERSION)/ HEAD | gzip >$(ARCHIVE)
+ scp $(ARCHIVE) atrey:~ftp/pub/local/mj/linux/
+ ssh jw "cd www && bin/release-prog arexxd $(VERSION)"
+ mv $(ARCHIVE) ~/archives/mj/
--- /dev/null
+================================================================================
+
+ Arexx Data Logger Daemon
+
+ (c) 2011 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.