Smartlog for Time Start/Time End

Suggestions? Comments? Features you'd like to see?
Post Reply
mdeinum
Posts: 8
Joined: Mon Aug 21, 2017 6:55 pm
Dive Computer: Shearwater Teric
Location: The Netherlands
Contact:

Smartlog for Time Start/Time End

Post by mdeinum »

As I'm quite lazy I would like to create a Smartlog to automatically detect Night dives. Now for this to work 2 things would need to be possible (ideally)

1. Be able to create a Smartlog based on the Time Start and/or Time End (or Time to be combined with the Date selection)
2. Specify either a time, or ideally based on the location before/after sunset (or a time range)

I know I can add a tag (or dive type) for night dives, but when syncing my device I sometimes forget that. So it would be nice if one could automate it (saves me from setting a tag, but still have an accurate list of dives).
Marten Deinum

PADI TEC (Sidemount) Instructor @ https://rebeldiving.nl
PADI Master Scuba Diver Trainer @ https://rebeldiving.nl
PADI Gas & Trimix Blender
User avatar
nick
Site Admin
Posts: 4360
Joined: Sat Apr 12, 2008 8:33 am
Dive Computer: Shearwater Teric
Contact:

Re: Smartlog for Time Start/Time End

Post by nick »

Will look in to it.
mdeinum
Posts: 8
Joined: Mon Aug 21, 2017 6:55 pm
Dive Computer: Shearwater Teric
Location: The Netherlands
Contact:

Re: Smartlog for Time Start/Time End

Post by mdeinum »

Great.

Calculations for the suntimes can be found on the NOAA website (https://www.esrl.noaa.gov/gmd/grad/solc ... tails.html) which are in Excel but could be translated to code quite easily. If there is a location the coordinates are available (that would thus be a pre-requisite of being able to create this smartlog).
Marten Deinum

PADI TEC (Sidemount) Instructor @ https://rebeldiving.nl
PADI Master Scuba Diver Trainer @ https://rebeldiving.nl
PADI Gas & Trimix Blender
Post Reply