I've put together a video on how I've used Home Assistant, the National Grid carbon intensity API and the FoxESS-modbus HA integration to charge our home battery during the lowest carbon-intensity periods of the Octopus Intelligent Go off-peak period. Wow, that's a mouthful.