I think you're talking about net metering which is going to be very location/provider specific.
I don't know all the laws and rules. My comments about Elon, Jobs and metering were more that Elon/Tesla seem to be an "all or nothing" type guy, similar to how Jobs was "seamless integration of hardware and software", Jobs was very "all apple or nothing".
Elon wants you to have his panels (or roof shingles), his batteries, his car, his chargers, etc.
In terms of metering or net metering with the Elon system, we didn't get that far. We looked at it pre-powerwall. Back then, if the grid wend down, you also went down. That was a deal breaker for me/us. I refused to buy into the whole package just to be put on a battery wait list. (and also we have 3ph residential and they wanted us to switch over to split phase 120/240v)
From what I remember back when we looked, it was a bunch of big, convoluted contracts. Essentially you didn't get a check back from your PoCo every month, anything you over-produced came back to the homeowner as "credits" (not dollars) and the actual energy credits (the things that are worth the dollars) went back to Elon/Solar City. The homeowner credits were handled almost like cell phone rollover minutes. Use less than you produce this month and you carry forward "credits". Next month if you use more than you produced... no biggie... you can apply your rollover minutes.
The part I don't know is whether that has changed since tesla bought first solar, if that varies from state-to-state, etc. But that was my takeaway: the homeowner gets fake "credits", elon got an interest free loan and didn't share the profits with the homeowner.
My experience: I've spent some time working in the energy trading space. I used to know how much the cost of electricity rises for nyc customers when it rains and I still do some hosting and low-latency connectivity work for trading groups and hedge funds. I know a lot about stuff like how gasoline companies trade energy futures against the gas they haven't sold at the pumps yet, airplane manufacturers trade metals futures against the airplanes they have not sold yet, commercial airlines trade energy futures to offset the cost of the fuel they burn... Then there are speculators like what Enron was/did. Again, my takeaway was that Elon had an energy trading desk and was probably monitoring usage, building databases... and then trading and massively profiting from customer's "rollover minutes"... But I could be totally wrong.
Our solar & batteries:
Doing solar ourselves was really fun. I have such an awesome/amazing wife. We bought panels in bulk for stupid cheap from a guy on Craigslist, I fabricated my own brackets (then dealt with a year of ******** with the town getting my brackets approved for our wind load ratings), then accumulating the batteries, putting it all together, I wrote a ton of custom code and modified open source programs to make it do exactly what we wanted. She taught herself several programming languages (C, Python, sql, R) so we could write the code together (and if I get hit by a bus tomorrow she'll be totally fine managing the system on her own). Working with her to make it all happen was the best part.
Our power currently comes from the batteries. Technically we are 100% off the grid (in a residential neighborhood). The solar charges the batteries first then we wrote an algorithm... algo is fancy word, we wrote a small piece of code that has defined logic to decide whether to auto-start the generator or switch over to the grid. It looks at stupid stuff like what circuits are on (whether or not the oven/stove is on or if I'm welding), how close are we to the weekly generator auto-run, how close is the generator to it's maintenance schedule, etc. So house runs on batteries, solar charges batteries first, then if solar doesn't work the brain decides whether the generator or the grid charges the batteries next... Lots of old school stuff like programmable logic controllers because the town/city didn't trust fancy modern computers. Was fun... About $12k and we get a check for about $100 every month from the PoCo.