How to convert solar power supply to wire control