In the next update you will be able to connect doors to batteries, switches, etc. If there is no wire connection you can operate them normally. If there is a connection, then it will only open if there is power supplied to it.
I've got a fix coming up for pistons as well. Should be soon!