Create device identifier
device_id
via create-a-device endpoint. This will be used to tag meter records.Submit meter records & get cost
device_id
that you created in the previous step.device_id
too.location_id
(no device_id
), and FlatPeak will calculate energy cost using the tariff linked to that location.
Use the same API flow as for device-level cost calculation—just omit the device_id
.
non_persistent
with your request to instant-cost-calculate endpoint. This will enable you to estimate energy cost without affecting actual consumption data.