A comparator, SR flipflop and relay is less clever. My first thought was a sensing transformer and bridge rectifier, but a Hall effect device might be better and I *think* I might have some.
However, I know I have toroids, magnet wire, etc to do the the other. I probably have 555s, but where is a bit more iffy.
On reflection, it seems a much better tool than an isolated autotransformer. Check the fuse rating, set the breaker slightly lower and go. Though *not* necessarily fool proof.
A shorted cap blew a 200 V 1.5 A bridge rectifier in my Tek 577 curver tracer within 5 minutes of my powering it up for the first time. I don't think it blew the fuse, though I haven't checked. I had turned it off before I smelled the magic smoke. After a couple of minutes fiddling I realized the pots needed cleaning and turned it off. Then I smelled the smoke.
I took that as a hint to improve my new TEA procedures. And to test all the caps in the 577 before applying power again. Not everything in it is as easy to replace as the rectifier and cap. I'm sure there is some pure unobtainium in there.
Have Fun!
Reg