Home air quality sensor connected with Signomix platform.
Program is running as aqs-service on Raspberry Pi Zero and sends data to https://signomix.com/.
Get Signomix C++ header-only library from https://github.com/gskorupa/SignomixCPP. Spdlog logging library: https://github.com/gabime/spdlog. PMS air quality sensors library: https://github.com/fu-hsi/PMS.
- Raspberry Pi Zero
- Air quality sensor PMS7003
- Adapter IDC 10pin 1,27mm - JST 1,25mm for PMS7003
First of all you need to install this packages on the new Raspberry
sudo apt install g++
sudo apt install cmake
sudo apt install libcurl4-gnutls-dev
sudo apt install libb64-dev
sudo apt-get install libboost-all-dev
Go to src/config.hpp
file and fill Signomix data. If you don't have an accont yet, just register and create your sensor dashboard https://signomix.com/
Now you can create build directory and build the project
mkdir build
cd build
cmake ../
make
Now you can run air quality sensor service
./aqs-service
Service is logging directly to /var/log/syslog
. To exit process, just kill it.