Für den CO-Melder hätte ich jetzt spontan die übertriebene Idee natürlich angepasst auf den entsprechenden Sensor https://tutorials-raspberrypi.de/raspberry-pi-co2-sensor-mh-z19-tutorial/ https://tutorials-raspberrypi.de/raspberry-pi-gas-sensor-mq2-konfigurieren-und-auslesen/ 
Oder https://www.conrad.de/de/p/schabus-...trieben-detektiert-kohlenmonoxid-2304522.html

Oder https://www.conrad.de/de/p/schabus-...trieben-detektiert-kohlenmonoxid-2304522.html