co2signal sensor platform queries the CO2Signal API for the CO2 intensity of a specific region. Data can be collected for your home, a specific latitude/longitude or by country code. This API uses the same data as https://www.electricitymap.org. Not all countries/regions in the world are supported so please consult this website to check local availability.
To configure and use this integration, you need to obtain a free API key from CO2Signal.
Adding CO2 Signal to your Home Assistant instance can be done via the user interface, by using this My button:
If the above My button doesn’t work, you can also perform the following steps manually:
Browse to your Home Assistant instance.
In the sidebar, select Settings.
From the configuration menu, select Devices & Services.
In the bottom right, select the Add Integration button.
From the list, search and select CO2 Signal.
Follow the instructions on screen to complete the setup.
When configured, the platform will create two sensors for each configured location: the carbon intensity expressed in
gCO2eq/kWh and a percentage how much the grid relies on fossil fuels for production.