This repository is meant to be used on a raspberry pi running raspbian 9 (stretch) to collect data from a Dylos DC1700 air quality monitoring device which is then transmitted to an influxdb. Input data is read from /dev/ttyUSB0, defined in /etc/dustypi.conf.
You can either install the provided *.deb package or run deb-packaging-dusty.sh to create the .deb file or use the Makefile to do this. After all this is nothing but a bunch of shell scripts with a systemd unit and a manpage.
sudo dpkg -i dustypi_0.0.5-1_all.deb
or
sudo make install
Adjust database settings and usb port in /etc/dustypi/dustypi.conf
systemctl enable dustypi.service
systemctl start dustypi.service
Option | |
---|---|
-d --debug | test database connectivity and generate the expected curl query |
-h --help | prints a short help message |