Pinned
If you're in the UK check out carbonintensity.org.uk It shows real time energy mix for each region But what's really useful is the carbon forecast, which can be used as a price-proxy for day-ahead energy control (battery charging etc.) It's got an API too you can use for automation