HOW TO AUTOMATICALLY USE SOLAR POWER FIRST AND GRID LAST