Hi,
is it possible to add the Traffic stats of my sim card on the internet-Web-gui?
I use Telekom germany - the JSON API URL is https://pass.telekom.de/api/service/generic/v1/status and the response:
{
"initialVolume": 21474836480,
"initialVolumeStr": "20 GB",
"isRoaming": true,
"nextUpdate": 600,
"passName": "MagentaMobil Prepaid M",
"passStage": 1,
"passType": 103,
"remainingSeconds": 567740,
"sessionState": 0,
"subscriptions": [
"tns",
"xtraSpeed",
"xtraRLH"
],
"title": "",
"usedAt": 1781596453000,
"usedPercentage": 84,
"usedVolume": 18008015479,
"usedVolumeStr": "16,77 GB",
"validityPeriod": 4
}
Would be fine if this can be added to the internet page in the firmware.
If not: how can i add a JS-import to the internet page in the web-gui to add this for myself?