FastAPI app that pulls interval usage from Sungrow iSolarCloud (OAuth2), caches AER Consumer Data Right electricity plan data, and compares actual metered usage against every available plan to estimate real annual cost (TOU, tiered feed-in, and flat tariffs). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
64 lines
2.1 KiB
JSON
64 lines
2.1 KiB
JSON
{
|
|
"list_entry": {
|
|
"planId": "ORI1161047MRE1@EME",
|
|
"brandName": "Origin Energy",
|
|
"geography": { "distributors": ["Energex"] }
|
|
},
|
|
"detail": {
|
|
"displayName": "Origin Battery Starter",
|
|
"electricityContract": {
|
|
"tariffPeriod": [
|
|
{
|
|
"startDate": "07-01",
|
|
"endDate": "06-30",
|
|
"displayName": "Time of Use Tariff Period",
|
|
"rateBlockUType": "timeOfUseRates",
|
|
"dailySupplyCharge": "1.355",
|
|
"timeOfUseRates": [
|
|
{
|
|
"type": "PEAK",
|
|
"displayName": "Peak",
|
|
"rates": [{ "unitPrice": "0.299", "measureUnit": "KWH" }],
|
|
"timeOfUse": [
|
|
{ "days": ["MON", "TUE", "WED", "THU", "FRI", "SAT", "SUN"], "startTime": "16:00", "endTime": "20:59" }
|
|
]
|
|
},
|
|
{
|
|
"type": "OFF_PEAK",
|
|
"displayName": "Off peak",
|
|
"rates": [{ "unitPrice": "0.259", "measureUnit": "KWH" }],
|
|
"timeOfUse": [
|
|
{ "days": ["MON", "TUE", "WED", "THU", "FRI", "SAT", "SUN"], "startTime": "21:00", "endTime": "15:59" }
|
|
]
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"solarFeedInTariff": [
|
|
{
|
|
"payerType": "RETAILER",
|
|
"displayName": "Solar FIT",
|
|
"tariffUType": "timeVaryingTariffs",
|
|
"timeVaryingTariffs": [
|
|
{
|
|
"type": "PEAK",
|
|
"displayName": "PEAK",
|
|
"rates": [{ "unitPrice": "0.28", "measureUnit": "KWH" }],
|
|
"timeVariations": [
|
|
{ "days": ["MON", "TUE", "WED", "THU", "FRI", "SAT", "SUN"], "startTime": "16:00", "endTime": "20:59" }
|
|
]
|
|
},
|
|
{
|
|
"type": "OFF_PEAK",
|
|
"displayName": "OFF PEAK",
|
|
"rates": [{ "unitPrice": "0.03", "measureUnit": "KWH" }],
|
|
"timeVariations": [
|
|
{ "days": ["MON", "TUE", "WED", "THU", "FRI", "SAT", "SUN"], "startTime": "21:00", "endTime": "15:59" }
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|