Since it's a defense system, that pushes enemies away, it would be neat if it activated when you get damaged in some way e.g. enough damage in the last second or getting under a certain amount of HP.
Could store the last "HP chunk" we were at, and if it goes under that we fire. The current chunk goes up when we heal.