The grid operator/utility doesn't actually do business with the home owner. Home owners are too small for the effort involved. What the grid operator does business with is called an aggregation entity (Solar City etc). This is why the home owner still buys power at silly low rates.
The aggregation entity does all the accounting and sells the energy the homeowner doesn't use or store to the grid operator at rates mandated by regulatory agencies. The sell rate to the home owner NOT regulated in any way, only the sell to the grid.
That same entity is also involved in what are called rate up/rate down events. This is where the entity get's paid for being able to supply energy during peak loads OR more importantly absorbing and storing energy during excess generation periods. This is why the system having storage is important. Also of note, the home owner does NOT participate is revenues derived from rate up/rate down events.