Control Air Compressor for filling scuba tanks

No idea about what sensor to use but you could also set it up to cool down for 10 minutes after switching off. Then turn back on to top up the tanks to desired pressure.