Integrating an Anglia Water smart water meter

Getting the same error, don’t have the ability to intercept the HTTPs requests on the app as I don’t have a rooted device and don’t won’t to mess about with certificates and emulators. Any help would be appreciated.

I did try looking at the website instead and was able to retrieve information from this. It’s weird because it’s JS code. You also need to pass cookies.

URL https://my.anglianwater.co.uk/ViewUsage/GetMyUsage

Body:

granularity: Daily
startDate: 11.05.2023
endDate: 07.06.2023
minDate: Wed Apr 26 2023 00:00:00 GMT+0100 (British Summer Time)↵
maxDate: Wed Jun 07 2023 00:00:00 GMT+0100 (British Summer Time)
days: 28
readGranularity: 20

Result:

var myUsageDetails_days = [
{
    'groupDate': '11-May-2023',
    'time': '23:00',
    'usage': 0.000,
    'meterSerialNumber': 'XXXXXXXXXX',
    'isSynthesised': false,
    'monthYear': 'May  2023',
    'isSkipRecord': false
},
{
    'groupDate': '12-May-2023',
    'time': '23:00',
    'usage': 0.000,
    'meterSerialNumber': 'XXXXXXXXXX',
    'isSynthesised': false,
    'monthYear': 'May  2023',
    'isSkipRecord': false
},
{
    'groupDate': '13-May-2023',
    'time': '23:00',
    'usage': 0.000,
    'meterSerialNumber': 'XXXXXXXXXX',
    'isSynthesised': false,
    'monthYear': 'May  2023',
    'isSkipRecord': false
},
{
    'groupDate': '14-May-2023',
    'time': '23:00',
    'usage': 0.000,
    'meterSerialNumber': 'XXXXXXXXXX',
    'isSynthesised': false,
    'monthYear': 'May  2023',
    'isSkipRecord': false
}]