How often do you drain your air compressor?
There was a run of exploding compressor tanks sometime ago.
I think it is better to drain frequently then risk life and limb.
The electronic valve is the best idea.
You could setup a real timer that drains for a few seconds every hour or something to that effect.