This is one of the better applications of an Apple Watch, which will detect when you haven’t stood for a while and pester you to do so.
Of course, the watch comes with a giant bundle of other features that may or may not be desired. And building it yourself is so much cooler.