All I know about this product is from the last couple minutes of google searching and skimming the website, but it looks promising. There are paid options for the app, but it looks like the free version does what you're after.
Of course, devices like Apple watches have this functionality built...