Monitor CO2 levels with Prometheus and/or HomeKit
Project description
CO2 monitoring with Prometheus
This reads from the CO2 Meter and makes it available as a Prometheus service. The core logic comes from this hackaday article.
Setup
Note this assumes you are running on a Raspberry Pi running Raspberry Pi OS (Buster)
- Install Python 3
- Install the monitor with
python3 -m pip install co2mini[homekit]
(remove[homekit]
if you don't use HomeKit) - Set up CO2 udev rules by copying
90-co2mini.rules
to/etc/udev/rules.d/90-co2mini.rules
- Set up the service by copying
co2mini.service
to/etc/systemd/system/co2mini.service
- Run
systemctl enable co2mini.service
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
co2mini-0.2.0.tar.gz
(4.4 kB
view hashes)