Accessing Dive Info on the UEMIS SDA

Please register or login

Welcome to ScubaBoard, the world's largest scuba diving community. Registration is not required to read the forums, but we encourage you to join. Joining has its benefits and enables you to participate in the discussions.

Benefits of registering include

  • Ability to post and comment on topics and discussions.
  • A Free photo gallery to share your dive photos with the world.
  • You can make this box go away

Joining is quick and easy. Log in or Register now!

I don't see how third party solutions would be a problem for UEMIS. People have asked for monthes to get local outputs. Now the company is gone leaving us stranded on what we have (the UEMIS website), with no support and no idea about how long the website will be working to sync our units. It's not even sure that the whole portal is still maintained by someone... Therefore, this hopefully temporary problem is just another sign to encourage us to develop our own solution.
 
  • Like
Reactions: BB1
With the data that is extracted with nicklesshead's jar file and a little parser that I wrote I can generate a mostly complete divelogXXXXX.xml file. Sadly it's not complete enough, yet, to be successfully imported by divinglog (and sadly divinglog doesn't give me any error messages what it is unhappy about), but the missing pieces at this point are tiny:

Doing a diff of the output of my parser with the divelogXXXX.xml file from the uemis website shows that I still need to parse
  • date_time fields at beginning and end of dive
  • deco_level, deep_stop_level, stop_time, stop_depth_pressure in the savety / settings items
  • gas data for all tanks in the pre_dive section
And that's it. Everything else I appear to parse correctly in the dives I was able to extract from my SDA.

What I don't have is the other data blob that creates the diveXXXXX.xml file - so for the import test with divinglog I tried to use a diveXXXX.xml file that I got from the uemis site together with the divelogXXXXX.xml file that I created myself.

I'll be talking to divinglog and TnT to see if they can help me figure out the missing pieces.

So if nicklesshead manages to extract the data for the diveXXXXX.xml file and if divinglog and I can figure out the last few items... then I think we are there:

Offline download of dive information from the UEMIS Zurich SDA.
 
* date_time fields at beginning and end of dive
* deco_level, deep_stop_level, stop_time, stop_depth_pressure in the savety / settings items
* gas data for all tanks in the pre_dive section

That's pretty much where I am stuck as well. I have more dives coming these days, so I am playing with the gas settings to see how it affects the output files.
 
So if nicklesshead manages to extract the data for the diveXXXXX.xml file and if divinglog and I can figure out the last few items... then I think we are there:

The main work for this is done. I guess i will be able to provide a new myuemis.jar within the next vew hours...
 
Ok , i am now able to download the diveXXXX.xml stuff from the SDA - If i forgott to sent the new jat to anyone, please let me know.


Fabian
 
We have all the pieces.
  • We can use an offline tool to extract encoded dive and divelog data from the SDA
  • We have a parser that can convert the divelog extracted into a divelogNNNN.xml that divinglog will happily import (so far tested with the diveNNNN.xml file from the uemis website)
  • Reading through the dive data extracted from the SDA it will be rather simple to write a parser that converts this into a diveNNNN.xml file that can be used together with the divelogNNNN.xml file mentioned above to import into divinglog without needing anything from the uemis website
What is missing is that second parser. Lots of testing. And then of course a user friendly package around all this (as right now everything is done manually on the command line on a Linux box - most likely not what people are looking for).

But the good news is that we have all the pieces.
 
I was right - it wasn't much that was missing. Mostly manual work to get all the parsing implemented.

At this point I'm able to extract raw data from the SDA (using nicklesshead's myuemis.jar) and then parse those files and create matching pairs of diveNNN.xml and divelogNNN.xml.

And these files are happily imported by divinglog.

All this needs more streamlining (the process is manual and a bit awkward at this point), MUCH more testing and I'm sure some bugfixes, but anyone who's interested please drop me a line and I'll share the sources for the parser with you. This has only been tested and built on Linux; it should easily build on Mac - you're on your own on Windows :D

Thanks to everyone who helped, especially nicklesshead and divinglog.
 
Fantastic works guys!! 17 Days from start to now - unbelievable!

Shame UEMIS couldn't have hired all of you to work on this and the Trimix update - might have gone quicker! ;)

Is there anyone out there who can work on making this happen for windows pc users???



I was right - it wasn't much that was missing. Mostly manual work to get all the parsing implemented.

At this point I'm able to extract raw data from the SDA (using nicklesshead's myuemis.jar) and then parse those files and create matching pairs of diveNNN.xml and divelogNNN.xml.

And these files are happily imported by divinglog.

All this needs more streamlining (the process is manual and a bit awkward at this point), MUCH more testing and I'm sure some bugfixes, but anyone who's interested please drop me a line and I'll share the sources for the parser with you. This has only been tested and built on Linux; it should easily build on Mac - you're on your own on Windows :D

Thanks to everyone who helped, especially nicklesshead and divinglog.
 
Shame UEMIS couldn't have hired all of you to work on this and the Trimix update - might have gone quicker! ;)

UEMIS could have opened the standard and let other take care of the logging part and concentrate on the rest.

However as we now know they were not too forthcoming with info.
 

Back
Top Bottom