I have just come across this nPower phython script https://github.com/corifeo/nPowerAPI and tested it, it appears to work and pulls the last 180 days for both gas and electric from nPower.
Hi Jody Popplewell, customer number xxxxxx
Contract: xxxxxxxxx, Meter: xxxxxxxxx
Date: 2020-06-06T00:00:00, Type: Customer, Read: 17835, Plausible: True
Date: 2020-07-10T00:00:00, Type: Customer, Read: 17891, Plausible: True
Date: 2020-08-01T00:00:00, Type: Customer, Read: 17911, Plausible: True
Date: 2020-11-01T00:00:00, Type: Customer, Read: 18152, Plausible: True
Date: 2020-12-01T00:00:00, Type: npower, Read: 18342, Plausible: False
Date: 2020-12-01T00:00:00, Type: Customer, Read: 18335, Plausible: True
Contract: xxxxxx, Meter: xxxxxxx
Date: 2020-12-02T00:00:00, Type: npower, Read: 0, Plausible: True
Contract: xxxxxxxx, Meter: xxxxxx
Date: 2020-06-06T00:00:00, Type: Customer, Read: 78416, Plausible: True
Date: 2020-06-24T00:00:00, Type: npower, Read: 78942, Plausible: True
Date: 2020-07-10T00:00:00, Type: Customer, Read: 79197, Plausible: True
Date: 2020-08-01T00:00:00, Type: Customer, Read: 79478, Plausible: True
Date: 2020-09-01T00:00:00, Type: Customer, Read: 79770, Plausible: True
Date: 2020-10-01T00:00:00, Type: Customer, Read: 80052, Plausible: True
Date: 2020-11-01T00:00:00, Type: Customer, Read: 80426, Plausible: True
Date: 2020-12-01T00:00:00, Type: npower, Read: 80892, Plausible: False
Date: 2020-12-01T00:00:00, Type: Customer, Read: 80875, Plausible: True
Contract: xxxxxxx, Meter: xxxxxxxx
Date: 2020-12-02T00:00:00, Type: npower, Read: 0, Plausible: True
Contract: xxxxxxxx, Meter: xxxxxxxxx, Fuel: Electric MPXN: xxxxxxxx
Contract: xxxxxxxx, Meter: xxxxxxxxx, Fuel: Gas MPXN: xxxxxxxx
I have just had a smart meter installed yesterday so I am hoping it might start picking up at least daily info.
We would need to be able to get nodered or something to pull the info out that we need but might have some potential.