the switches and the solenoid are all wire up to 24VDC, when you open either of the little doors the solenoid switches this is also true if there is a power loss. currently the solenoid is powered.