Before I start to do this, just want to make sure I dont end up reinventing the wheel etc.

Want to have an arduino with data logger shield or similar, logging values constantly.

Periodically wakes up an xbee/whatever to see if it is within range of another one which is on something with internet access. Was probably going to use an openwrt router but if I get a pi by the time I do it could be that.

If it is in range, the values that it had logged begin transfering over to another storage location. Ideally also going to something like cosm to chart, but in any case it needs to know what has been sent over so it doesnt send it again, so sending line by line from a CSV and maintaining a counter would probably do the job.

Values need to be kept logging while it is doing the wireless transfer as well.