Skip to content

Home air quality sensor connected with Signomix platform

Notifications You must be signed in to change notification settings

Piotr-Skorupa/air-quality-sensor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Air Quality Sensor

Home air quality sensor connected with Signomix platform.

Total alerts Language grade: C/C++

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.

List of needed hardware:

  1. Raspberry Pi Zero
  2. Air quality sensor PMS7003
  3. Adapter IDC 10pin 1,27mm - JST 1,25mm for PMS7003

Dependencies

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

Configuration

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/

Building

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.

About

Home air quality sensor connected with Signomix platform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages