This is an Android
app written in Kotlin
. The purpose is to have an app where you log in with your Ørsted
account once and the app provides a widget
where you can see your electricity consumption.
"consumptions": [
{
"start": "2019-11-23T23:00:00.000Z",
"end": "2019-11-24T23:00:00.000Z",
"kWh": 0.63,
"COPI": {
"xAxisLabel": "Søn",
"currentConsumptionPrefix": "Søndag den 24. november 2019 brugte du",
"unit": "kWh",
"currentConsumption": 0.63
}
},
{
"start": "2019-11-24T23:00:00.000Z",
"end": "2019-11-25T23:00:00.000Z",
"kWh": 2.26,
"COPI": {
"xAxisLabel": "Man",
"currentConsumptionPrefix": "Mandag den 25. november 2019 brugte du",
"unit": "kWh",
"currentConsumption": 2.26
}
},
Here is how some of the consumptions
objects looks in the data
array in the JSON
.
This is by using the HTTP
request:
https://prod.copi.obviux.dk/consumptionPage/${my_external_id}/daily