While not cheap, I think your problem could be solved by upgrading to IQ8. The IQ7 is a Grid Tie system, meaning it requires a functional grid to produce power. My guess is that the batteries were providing the grid initially, but once it shut off, your grid was lost and the IQ7 stopped...