Subsurface download dives Ratio iX3M direct to Iphone

297 views
Skip to first unread message

Gerwin Gal

unread,
May 1, 2021, 3:56:15 PM5/1/21
to Subsurface Divelog
Is it possible to download my dive directly to Subsurface from my Ratio iX3M to the IPhone app when at the waterfront, my Ratio does not have Bluetooth. If yes what would I need for it?

Jason Bramwell

unread,
May 1, 2021, 4:22:49 PM5/1/21
to subsurfac...@googlegroups.com

I don’t believe so although I may be wrong.

 

Some of the Android phones can do this using a USB-On-The-Go cable but I don’t believe this is an option for iPhone.

 

Jason

 

Sent from Mail for Windows 10

--
You received this message because you are subscribed to the Google Groups "Subsurface Divelog" group.
To unsubscribe from this group and stop receiving emails from it, send an email to subsurface-dive...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/subsurface-divelog/0bef7cc6-a122-46ff-983c-45ae5314de3an%40googlegroups.com.

 

Robert C. Helling

unread,
May 2, 2021, 7:18:54 AM5/2/21
to Subsurface Divelog
There is simply no hardware to connect a USB device to the iPhone and let Apps like Subsurface talk to it.

There  is, however, the possibility to install Subsurface on a Raspberry Pi  (which comes with a roughly 50 Euro price tag including SD card and power supply) and connect your dive computer to it which then transfers your dives via Wifi through your iPhone.

I have this working here and wrote up some instructions on how to set it up here: https://github.com/subsurface/subsurface/blob/master/packaging/headless/Setting-up-downloader

If you are not afraid of building subsurface on that device you could give it a try. I am happy to help if you run into any roadblocks. And additions to the documentation would be very welcome as well.

Tomáš Tyšer

unread,
Jan 20, 2024, 10:28:52 AM1/20/24
to Subsurface Divelog
Hi all, can you help me, with set raspberry to downloader?
I install new raspberry OS, then i try install 

sudo apt-get install cmake-curses-gui debsums gvfs-bin ifuse ipheth-utils libcrypto++-dev libcurl4-openssl-dev libgit2-dev \
libimobiledevice-utils libmtp-dev libqt5svg5-dev libqt5webkit5-dev libxslt1-dev libzip-dev qml-module-qtlocation \
qml-module-qtpositioning qml-module-qtquick2 qt5-default qtconnectivity5-dev qtdeclarative5-private-dev qtpositioning5-dev qtscript5-dev
 
but i have error message:

Package qt5-default is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'qt5-default' has no installation candidate

i'm in linux os zero and i don't know how to continue.


Dne neděle 2. května 2021 v 13:18:54 UTC+2 uživatel Robert C. Helling napsal:

Dirk Hohndel

unread,
Jan 20, 2024, 10:30:50 AM1/20/24
to subsurfac...@googlegroups.com
Just remove qt5-default from the list.
A recent change in packaging has removed the need for it.

/D
>>> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
>>> Windows 10
>>>
>>>
>>>
>>> *From: *Gerwin Gal
>>> *Sent: *01 May 2021 20:56
>>> *To: *Subsurface Divelog
>>> *Subject: *Subsurface download dives Ratio iX3M direct to Iphone
>>>
>>>
>>>
>>> Is it possible to download my dive directly to Subsurface from my Ratio
>>> iX3M to the IPhone app when at the waterfront, my Ratio does not have
>>> Bluetooth. If yes what would I need for it?
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "Subsurface Divelog" group.
>>> To unsubscribe from this group and stop receiving emails from it, send an
>>> email to subsurface-dive...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/subsurface-divelog/0bef7cc6-a122-46ff-983c-45ae5314de3an%40googlegroups.com
>>> <https://groups.google.com/d/msgid/subsurface-divelog/0bef7cc6-a122-46ff-983c-45ae5314de3an%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>>
>>>
>>
>

--
From my phone

Tomáš Tyšer

unread,
Jan 21, 2024, 2:00:01 PM1/21/24
to Subsurface Divelog
Thank you, 
I try the next step:
" Clone the subsurface repository and build it as for any Debian based system: Run build.sh, then cd to the build directory, run ccamke . and select SUBSURFACE_TARGET_EXECUTABLE as DownloaderExecutable and make once more" A try:
 git clone https://github.com/Subsurface-divelog/subsurface.git
 then
cd subsurface
then
./build.sh - error: -bash: ./build.sh: No such file or directory
or
 scripts/build.sh - error: building Subsurface in subsurface/build please start this script from the directory containing the Subsurface source directory

help me, plaese 
llama in linux

Dne sobota 20. ledna 2024 v 16:30:50 UTC+1 uživatel Dirk Hohndel napsal:

Dirk Hohndel

unread,
Jan 21, 2024, 2:04:20 PM1/21/24
to Subsurface User Forum
The build.sh script is scripts/build.sh
But I'll state this right here - if you are not somewhat experienced with developing software on Linux, this may be fairly challenging to do...

/D

Richard Fuchs

unread,
Jan 22, 2024, 8:53:49 AM1/22/24
to subsurfac...@googlegroups.com
Hi,

Since I'm already packaging a different project of mine for Raspberry Pi, I've decided to start building Subsurface for it as well.

Follow the instructions here: https://subsurface.dfx.at/

The instructions aren't updated yet, but for now the `subsurface-beta` package (daily build) is available for Bookworm-based Raspberry Pi OS, both 32-bit and 64-bit.

Builds for the latest tagged/stable release and Bullseye-based systems will follow.

Cheers

Dirk Hohndel

unread,
Jan 22, 2024, 11:59:58 AM1/22/24
to Subsurface User Forum
Hi Richard,

That's awesome - I think having Subsurface packaged for the various flavors of Debian on Pi is a great thing.
The request below is for the Subsurface-Downloader, I believe, which is a slightly different beast and would ALSO be worth packaging (and, frankly, deserves some more development / refinement). It's a really cool project that Robert started a while ago ...

/D

Richard Fuchs

unread,
Jan 22, 2024, 12:25:43 PM1/22/24
to subsurfac...@googlegroups.com
On 22/01/2024 11.59, Dirk Hohndel wrote:
> Hi Richard,
>
> That's awesome - I think having Subsurface packaged for the various
> flavors of Debian on Pi is a great thing.
> The request below is for the Subsurface-Downloader, I believe, which
> is a slightly different beast and would ALSO be worth packaging (and,
> frankly, deserves some more development / refinement). It's a really
> cool project that Robert started a while ago ...

Oh I see. Admittedly this is the first time I hear about it. I guess I
shouldn't have stopped reading at "build.sh" and assumed that it was
just the regular build 😆

I'll see if I can figure out how to build and package it, which it looks
like is something the included Ubuntu packaging could also benefit from.

Cheers

Dirk Hohndel

unread,
Jan 22, 2024, 12:32:09 PM1/22/24
to Subsurface User Forum
Hi Richard,

On Jan 22, 2024, at 09:25, Richard Fuchs wrote:


That's awesome - I think having Subsurface packaged for the various flavors of Debian on Pi is a great thing.
The request below is for the Subsurface-Downloader, I believe, which is a slightly different beast and would ALSO be worth packaging (and, frankly, deserves some more development / refinement). It's a really cool project that Robert started a while ago ...

Oh I see. Admittedly this is the first time I hear about it. I guess I shouldn't have stopped reading at "build.sh" and assumed that it was just the regular build 😆

🤔
Yeah, I hear you. I do that all the time.
That said, I think both are reasonable things to package for a Raspberry Pi. I'm not convinced that the downloader is that important for a regular desktop.
The idea of the app is that people (especially with iPhones) who can't download on their mobile device take a little RPi with them on a dive trip and use that to help with the process. If you have a full Ubuntu / Debian / whatever desktop - why wouldn't you just run Subsurface on that?

/

Richard Fuchs

unread,
Jan 22, 2024, 12:57:02 PM1/22/24
to subsurfac...@googlegroups.com

Well, not necessarily for a desktop, but there are plenty of headless Debian/Ubuntu installations out there (including people who run Ubuntu on Raspberry Pis, or even other small devices, whether ARM based or x86), and maybe someone has a use for it? Either way, Raspberry Pi OS is really not much more than just another Debian flavour, so once it's packaged for that you get packaging for other Debian archs for free with no extra effort, so why not.

Cheers

Richard Fuchs

unread,
Jan 24, 2024, 8:46:12 AM1/24/24
to subsurfac...@googlegroups.com
Following up to myself, the daily builds now include the downloader for
Debian and Raspberry Pi OS. It's in a separate package so it's a little
lighter on dependencies, and won't be included for people who just want
the GUI app.

https://dfx.at/subsurface-debian/ (see bottom)

That being said, I'm not convinced that it's fully functional. Giving it
my regular XML file to work with, just running it once clobbers the file
and wipes out all the dives, leaving an empty XML behind. I'm scared to
try it with the cloud git repo... 😆

I think I see in the code why this is happening, so I'll play with the
code a bit in the next few days.

Cheers

Robert C. Helling

unread,
Jan 24, 2024, 11:09:27 AM1/24/24
to Subsurface Divelog
this version is meant to be used through the cgi-script in scripts/downloader.pl .  In subsurface/packaging/headless it is described how that is supposed to be set up.

To convince you that it works, clone your git repository to a safe place

git clone [local git repository as reported by subsurface -v] foo

and then use "foo/[d...@dfx.at]“ as the filename for the downloader. To see the result, you can also run the desktop version of subsurface with that filename (from the command line) to see the success. If you like that, you can push the changes to your local git repository and push that to origin.

Dirk Hohndel

unread,
Jan 24, 2024, 11:54:29 AM1/24/24
to Subsurface User Forum

On Jan 24, 2024, at 08:09, 'Robert C. Helling' wrote:

this version is meant to be used through the cgi-script in scripts/downloader.pl .  In subsurface/packaging/headless it is described how that is supposed to be set up.

And I think it's important that it is packaged as such. As a local web service, not an app to be used standalone.

/D

Richard Fuchs

unread,
Jan 27, 2024, 10:28:39 AM1/27/24
to subsurfac...@googlegroups.com
On 24/01/2024 11.09, 'Robert C. Helling' via Subsurface Divelog wrote:
this version is meant to be used through the cgi-script in scripts/downloader.pl .  In subsurface/packaging/headless it is described how that is supposed to be set up.

To convince you that it works, clone your git repository to a safe place

git clone [local git repository as reported by subsurface -v] foo

and then use "foo/[d...@dfx.at]“ as the filename for the downloader. To see the result, you can also run the desktop version of subsurface with that filename (from the command line) to see the success. If you like that, you can push the changes to your local git repository and push that to origin.


Following these instructions (and I double checked that this is indeed what the Perl CGI script also is doing) what happens is that after doing the download from my DC, my git repo ends up containing only the dives that were just downloaded from the DC, and without any of the dives that were already in the git repo from before. If I were to push this, all my previous dives would be gone. Is this how it's intended?

Cheers

Dirk Hohndel

unread,
Jan 27, 2024, 11:13:45 AM1/27/24
to subsurfac...@googlegroups.com
That seems like a trick question 🤣

I'm still spending all my time on reworking the web page and haven't had time to play with this... In general, though, no that's not what it should do.
Ideally it would add the dives to your repo so that you can then sync them from your phone.

I'll try to find time this weekend.

/D

Richard Fuchs

unread,
Jan 27, 2024, 11:27:44 AM1/27/24
to subsurfac...@googlegroups.com
On 27/01/2024 11.13, Dirk Hohndel wrote:
I'm still spending all my time on reworking the web page and haven't had time to play with this... In general, though, no that's not what it should do.
Ideally it would add the dives to your repo so that you can then sync them from your phone.

I'll try to find time this weekend.

I already have a patch that fixes this (and some other problems I came across), I just want to make sure that it's not breaking the expected behaviour before opening a PR 😆

Cheers

Dirk Hohndel

unread,
Jan 27, 2024, 11:39:17 AM1/27/24
to subsurfac...@googlegroups.com


On January 27, 2024 8:27:38 AM PST, Richard Fuchs wrote:
>
>I already have a patch that fixes this (and some other problems I came across), I just want to make sure that it's not breaking the expected behaviour before opening a PR 😆

🤣🤣

Excellent. That's of course my preferred outcome.

/D
Reply all
Reply to author
Forward
0 new messages