Honestly I was picturing the electromagnet coupled with a capacitor and an iron plate to act as a "piston" with a range of up to 32 blocks. Would certainly make for some amazing hidden stairways and critter traps.
i'm game for electric solenoid pistons