<div dir="auto">Hallo Robert, Excellent work! What is the minimum specs required for the Pi? There are many Pi models available these days. One of the issues I am concerned with is the availability of IrDA dive downoads which is slowly disappearing from most OSs. With a downloader one could maintain an IrDA stack, although it might have an effect on the kernel version used. Kind regards, Willem. <div dir="auto"> </div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, 04 Dec 2020, 23:25 Robert Helling via subsurface, <<a href="mailto:subsurface@subsurface-divelog.org">subsurface@subsurface-divelog.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
yesterday, we merged the Subsurface downloader branch and I would like to hear peoples comments and suggestions for improvement.<br>
<br>
So what is it?<br>
<br>
Subsurface downloader is a command line version of Subsurface that can read a local git repository, download dives from a dive computer and add those to the repository. In addition, there is a web interface (in terms of a CGI script) to drive it.<br>
<br>
What is the intended use?<br>
<br>
The iOS-Version of Subsurface in particular can only talk to Bluetooth LE devices, in particular there is not much hope to ever directly speak to dive computers over USB. I don’t know what is the situation with Android, also there accessing USB dive computers might be difficult given some security settings. In this case, you could get a Raspberry Pi and install the Subsurface downloader. You could tether the RPi to your phone and via the web interface make the RPi download your dives from the dive computer and upload them to your Subsurface Cloud logbook. And then add additional data via Subsurface-mobile on your phone. This would even work in remote locations where your only internet connection is via your phone.<br>
<br>
What is the current status?<br>
<br>
Works for me(™). But it’s not end user ready, yet. In ./subsurface/packaging/headless/Setting-up-downloader you will find (hopefully complete and I did not miss any step) instructions starting from a RPi and an empty SD card to build Subsurface downloader (this takes quite a while) and set up the web interface. The web interface and error reporting are still minimal and (as the installation process) on mass market compatible, yet.<br>
<br>
Please give it a try and let me know what you think. Any ideas for improvement welcome!<br>
<br>
I am really happy, this is now in a somewhat presentable state after the idea for this has been dormant for several years. The essential step was Dirk laying the foundations and recognising that tethering to the phone is enough to make this work (while I had thought it would need to work as a wifi access point and I got lost in getting that to work).<br>
<br>
Best<br>
Robert<br>
<br>
PS: Of course, nothing is really Raspberry Pi dependent. Also works on my Mac and any Linux system. Above instructions are written relative to a Debian based system.<br>
_______________________________________________<br>
subsurface mailing list<br>
<a href="mailto:subsurface@subsurface-divelog.org" target="_blank" rel="noreferrer">subsurface@subsurface-divelog.org</a><br>
<a href="http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface" rel="noreferrer noreferrer" target="_blank">http://lists.subsurface-divelog.org/cgi-bin/mailman/listinfo/subsurface</a><br>
</blockquote></div>