Novice - requires help getting data from API


#1

1) Give a description of the problem
I am trying to get information on the amount of renewables in the power supply grid to start/stop changing of an EV car.

I have a wave switch (not yet installed).
I have found opennem.org.au API which has the data

I am a complete novice at webcore and API interactions. I have reasonable logic skills and a history using VBA Macros so once I get data from the api into webcore I am confident I can manipulate it.

2) What is the expected behaviour?

  1. Use a get statement to return the current grid power makeup
  2. If required do some calcs to determine % renewables
  3. Turn on/off switch based on results

3) What is happening/not happening?
I can’t seem to get my head around the syntax required to get the api to return usable data for the WEM grid (I have tried using the web browser to test code). I can get a list of networks, but not any of the data.

I am hoping the data is in the “WEM” network_id https://api.opennem.org.au/stats/fueltech_mix/{network_id}

I have found the developer Documentation at https://developers.opennem.org.au

I am obviously missing something in the syntax or the method - Is anyone able to help getting this information into webcore?

Todd

4) Post a Green Snapshot of the pistonimage
(UPLOAD YOUR IMAGE HERE)

5) Attach logs after turning logging level to Full
(PASTE YOUR LOGS HERE THEN HIGHLIGHT ALL OF THE LOGS AND CLICK ON THE </> ICON TO FORMAT THEM CORRECTLY)

REMOVE BELOW AFTER READING
If a solution is found for your question then please mark the post as the solution.