CO2 Calibration
This should be done every 1-2 years.
The SCD40 CO2 sensor has a long lifetime (over 10 years) but it requires re-calibration after 1-2 years back to a 420 ppm baseline!
1. Bring your sensor outside and plug it in. You might need a USB battery bank if you live in an apartment or otherwise cannot get power outside of your building.
2. Head to the ESPHome Integrations page.
3. Click device as shown in the image below.
4. Click the "Press" button next to Calibrate SCD40 to 420 ppm and you should see the CO2 readings at 420 ppm or near it.
It might take several attempts clicking the "Press" button for it to equalize correctly. If you don't see the SCD40 reporting 400-500 ppm then click the button again.
5. Now your CO2 sensor should be calibrated! Be sure to setup some nice cards on your dashboard so you can monitor the CO2 levels.
Dangerous CO2 level considerations
CO2 levels in a closed, unventilated bedroom can quickly rise to concentrations that may impair focus or even pose health risks.
Note the steep decline in CO2 ppm detected due to the door and window being opened and fan turned on.
Wisconsin Department of Health CO2 Level Chart
CO2 levels dropping due to HVAC Fan on a schedule
This could be improved by increasing air exchange to get below 1000 ppm for a safer environment.