ebith / mh-z19-influxdb

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

MH-Z19-InfluxDB

Usage

sudo raspi-config # Interfacing Options => Serial(hardware)
sudo pip3 install pyserial influxdb

sudo systemctl enable (realpath  mh-z19-influxdb.service)
sudo systemctl enable --now (realpath mh-z19-influxdb.timer)
sudo systemctl enable --now (realpath  mh-z19-disable-auto-calibration.service)

Zero calibration

It should be execute while left outdoors for about 30 minutes.

sudo python3 -m mh_z19 --zero_point_calibration

About


Languages

Language:Python 100.0%