Carbon Intensity data into Predbat

2 comments started 2025-10-14 last 2025-10-14
Home AutomationHome Assistant
P
#1 pwdst

For several months now (based on Github issues) the website CarbonIntensity.org.uk has been returning invalid postcode for every postcode. This can be seen on their website as well, it isn't just an integration issue.
This error has made it impossible for me to follow the Predbat instructions for adding Carbon Intensity data. Since the carbon_intensity_uk integration fails at the setup stage due to the postcode issue, the sensors are not available for Predbat to consume.
The BottlecapDave integration works well for getting the current intensity but not the full Forecast that Predbat needs.
Is there any other option to get intensity data into Predbat other than forking the integration and allowing the input as a region dropdown as per BottlecapDave's integration?

G
#2 geoffreycoan

pwdst a quick google search shows several other potential websites giving forecasted carbon intensity by code/DNO area https://www.google.com/search?q=carbon+intensity+forecast+by+postcode&ie=UTF-8&oe=UTF-8&hl=en-gb&client=safari&sei=PILuaIOyCI6ghbIPj7iV-Qc

Would need some investigation as to what has the required level of data and whether it can be converted to what Predbat requires.

If carbon intensity.org.uk is completely broken then finding an alternative that works and has the right data, I’m sure Trefor can incorporate it to replace the current website format