This guide shows how to utilise FlatPeak to optimise and report energy costs for systems such as EV chargers (EVSEs) or smart sockets.
Creating and updating schedules
start_time
and end_time
values for the total period of the Response object to create a daily schedule in your device within this period.Metering energy transfers
session_reference_id
parameter in the request. This will make it easy to report the cost per charging session later.units
parameter correctly: W represents the speed of transfer over the accounting period; WH represents the amount of energy transferred over that period."tariff_rate": "LOCAL"
when submitting the records. This will tell FlatPeak to account for this energy as “free” when calculating its cost.Displaying energy cost
session_reference_id
, use calculate-energy-cost-by-session-id API: