does the app tell you that the grid is down?
The app receives a message. Also, there is a power flow display which shows how much power is coming from and going to grid, solar, powerwall, and home. When the grid is out there is an "X" over the link from the grid.