The wearer will need to go back into the settings menu. Unless you travel 100s of miles to different cities everyday it does not make a lot of difference in terms of sunrise/sunset times. The majority of people will just commute to work and back and the difference in sunrise / sunset times will be in fractions of seconds. Sunrise / Sunset times for the same location change by around 2 minutes per day. In my Pastel Clock I am just scheduling a recalculation once per hour. The difference between the London Sunset and Newcastle sunset today is about 10 minutes.
It would be possible to have the GPS grab the location in the background through a widget BUT the GPS takes a lot of power and would quickly run the battery down in a few hours. Once we have worked out if it is possible to make the Bnagle 2 - GPS sleep and wake up at intervals this might lead to a low power option. I did this for the Bangle 1 - but its a lot of experimentation, trial and error and the documentation for the Bangle 2 GPS is in chinese. I have a translated version of the datasheet but have not yet got to the point where I can face starting work on it. It took about 30 hours of fiddling to get to the point of writing the gpssetup app for Bangle 1. This extended battery life from 6 hours to between 1-2 days with the GPS updating every 2 minutes.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
The wearer will need to go back into the settings menu. Unless you travel 100s of miles to different cities everyday it does not make a lot of difference in terms of sunrise/sunset times. The majority of people will just commute to work and back and the difference in sunrise / sunset times will be in fractions of seconds. Sunrise / Sunset times for the same location change by around 2 minutes per day. In my Pastel Clock I am just scheduling a recalculation once per hour. The difference between the London Sunset and Newcastle sunset today is about 10 minutes.
It would be possible to have the GPS grab the location in the background through a widget BUT the GPS takes a lot of power and would quickly run the battery down in a few hours. Once we have worked out if it is possible to make the Bnagle 2 - GPS sleep and wake up at intervals this might lead to a low power option. I did this for the Bangle 1 - but its a lot of experimentation, trial and error and the documentation for the Bangle 2 GPS is in chinese. I have a translated version of the datasheet but have not yet got to the point where I can face starting work on it. It took about 30 hours of fiddling to get to the point of writing the gpssetup app for Bangle 1. This extended battery life from 6 hours to between 1-2 days with the GPS updating every 2 minutes.