Hi All,
OH 4.2 includes a binding for Amber, who are an Australian energy retailer who provide wholesale access to the energy market.
The current binding shows the current pricing that is available, but the Amber API provides a future outlook at 5 or 30min intervals, sample data like below:
[
{
"type": "ActualInterval",
"duration": 5,
"spotPerKwh": 6.12,
"perKwh": 24.33,
"date": "2021-05-05",
"nemTime": "2021-05-06T12:30:00+10:00",
"startTime": "2021-05-05T02:00:01Z",
"endTime": "2021-05-05T02:30:00Z",
"renewables": 45,
"channelType": "general",
"tariffInformation": "string",
"spikeStatus": "none",
"descriptor": "negative"
},
{
"type": "CurrentInterval",
"duration": 5,
"spotPerKwh": 6.12,
"perKwh": 24.33,
"date": "2021-05-05",
"nemTime": "2021-05-06T12:30:00+10:00",
"startTime": "2021-05-05T02:00:01Z",
"endTime": "2021-05-05T02:30:00Z",
"renewables": 45,
"channelType": "general",
"tariffInformation": "string",
"spikeStatus": "none",
"descriptor": "negative",
"range": "string",
"estimate": true,
"advancedPrice": "string"
},
{
"type": "ForecastInterval",
"duration": 5,
"spotPerKwh": 6.12,
"perKwh": 24.33,
"date": "2021-05-05",
"nemTime": "2021-05-06T12:30:00+10:00",
"startTime": "2021-05-05T02:00:01Z",
"endTime": "2021-05-05T02:30:00Z",
"renewables": 45,
"channelType": "general",
"tariffInformation": "string",
"spikeStatus": "none",
"descriptor": "negative",
"range": "string",
"advancedPrice": "string"
}
]
Is there a preferred way of loading the future data and making it available in a meaningful manner, so that automations can be driven based on lowest pricing?
Thanks,
Paul.