Nice project. Battery SoC% would be useful and CI can be retrieved from https://carbonintensity.org.uk.
You don't need an API key for the Agile call, it's a public open API. This works as-is. You only need the correct product and tariff code for the region.