Someone posted this earlier:
It's legal in San Diego
County, if your system meets all of these requirements:
- California Building Code, Title 24, Part 2
- California Residential Code, Title 24, Part 2.5 (One- and Two-family dwellings)
- California Electrical Code, Title 24, Part 3
- California Mechanical Code, Title 24, Part 4
- California Plumbing Code, Title 24, Part 5
- California Energy Code, Title 24, Part 6
- California Fire Code, Title 24, Part 9
I think you must have another energy source outside of solar/batteries. For me, it'll probably be a generator (probably as big as possible to run shorter windows during cloudy days and diesel so I can make gas runs + propane for massive tank I see at Tahoe cabins) and EV2H car later for big bigger battery backup.
It's technically possible, but legally unknown unless someone tries and gets it done, but will be a hassle since generators are not as care free as solar panels. You also will get yelled at from the partner if things in your setup stops working for whatever reason (and you can't blame the IOU now so that's a reverse risk to stick it to them).