Time of Use - flexible

The "Time of Use - flexible" app is a simple home energy monitoring app for exploring home or building electricity consumption and cost over time. It allows you to track multiple electricity tariffs as used in Australia.

Cumulative kWh feeds can be generated from power feeds with the power_to_kwh input processor.

As the number of configuration options for this are quite large, a shorthand has been used to specify the tiers, days and times they apply and the respective costs.


  • Any number of tariffs can be defined, but they must be consistent across weekdays or weekends.
  • One cost must be defined per tariff tier.
  • Each weekday (Monday to Friday) has the same tiers and times for each tier.
  • Each weekend day (Saturday and Sunday) has the same tiers and times for each tier.
  • Public Holidays are treated the same as a weekend day.


Tier names and tariffs are specified as a comma separated, colon separated list. If there are three tariffs, Off Peak, Shoulder and Peak, costing 16.5c/kWh, 25.3c/kWh and 59.4c/kWh respectively, they are specified as OffPeak:0.165,Shoulder:0.253,Peak:0.594

Tier start times are split into two definitions, weekday and weekend. They both use the same format, <start hour>:<tier>,<start hour>:<tier>,...
<tier> is the tier number defined above, numbered from 0
Example: A weekday with the following tariff times: OffPeak: 00:00 - 06:59, Shoulder: 07:00 - 13:59, Peak: 14:00 - 19:59, Shoulder: 20:00 - 21:59, OffPeak: 22:00 - 23:59 would be defined as 0:0,7:1,14:2,20:1,22:0

To specify the public holidays that should be treated the same as weekends, specify a comma separated list of days of the year (from 1-365/366) per year. Example: for public holiays 2017: Jan 2, Apr 14, Apr 17, Apr 25, Jun 12, Oct 2, Dec 25, Dec 26; and 2018: Jan 1 you would specify 2017:2,104,107,115,163,275,359,360;2018:1
https://www.epochconverter.com/days provides an easy reference.