eggtimer
eggtimer copied to clipboard
Make use of the barometer on the device
Some devices have a barometer sensor built in. If the app used it the location permission wouldn't be mandatory and the barometer would provide better precision when it comes to computing how much time is needed. Not all devices have it so there should be a fallback to using GPS
Good idea, but I do not have a phone with pressure sensor. A GPS should be available in every phone and accuracy also for altitude is quite high. Even +/-50m does not make a big difference for this application. Will consider once I get a phone with pressure sensor.
Please also allow to enter pressure or altitude manually in case no GPS is available.
Please try this version. If a pressure sensor is available it is used instead of GPS.
-Uninstall old version -Remove .zip from filename -Install
Hey! Thanks for giving this feature a try :)
So I've tried with different pressures along the day and while it works I think it has some bugs.
https://user-images.githubusercontent.com/13437098/200954410-bf0bc27d-2e8c-46ae-b8d0-d2fa1d2eae64.mp4 In this video the timer works correctly (or so I think, I haven't made the actual numbers)
https://user-images.githubusercontent.com/13437098/200954556-c373cba1-b85a-430c-b235-d2d15d2e01a8.mp4 However in this one, the timer jumps to 20min+ and it has a significant variation on the time needed.
I looked in the implementation and I've seen you use a lookup table for pressure -> boiling temperature. Maybe it would smooth things if a formula was used, this way decimal points would also be taken into account
There was a "," instead of a "." in the lookup table at 1013.25 mbar.
Should work now
-> V2.5