I use industrial silicagel granules that I buy in 5-liter jugs. The granules are blue when dry and turn purple/red when they no longer absorbs humidity. Then I throw them in the microwave for 5 minutes and the granules turn blue again - and scalding hot too.
It's not perfect because it gradually turns more and more silicagel granules to dust as they explode like popcorn. So after maybe 10 to 15 cycles, the silicagel becomes ineffective and the blue granules turn more and more to brown, Then it's time to throw it away and use a fresh batch.
It's possible to extend the life of the granules by drying them in a regular oven at low heat rather than in the microwave at full pelt but it's slow and annoying, and silicagel isn't that expensive, so I don't bother.