Just trying to understand what you are trying to do. You want to run light and heavy loads off batteries charged by solar with no grid during the day. At night you want to change to grid and run off grid. If there is insufficient solar, you want to disconnect your heavy loads but leave the light loads running still with no grid?