Prices
Prices are a time series in which each row has astart_time, an end_time and a price. Intervals vary in length, and values are in major currency units with up to 5 decimal places.
confidence says how firm each price is.
price.update fires when prices at a location change, so re-fetch prices when it does. Request only as far ahead as you need: prices far ahead are for planning. For time handling, see Timezones.
Costs
Flatpeak calculates cost, or export value, from the meter records you submit.
A device cost uses the device’s records. A location cost uses the records submitted under the location, for the whole property, and excludes energy priced under a device tariff.
Costs split grid energy from PV energy and report
pv_savings at the prices in force when the energy was generated. Submit PV generation as meter records with source PV; without them, Flatpeak assumes zero generation and overstates grid import.
