This commit adds a GitHub Actions workflow that, on every push/pull request, will check that every single example successfully compiles on every board it supports. That is, it it will check compilation on: - ESP8266 for BASIC_v4, TestCO2, TestPM and TestSht - ESP32 for ONE_I-9PSL, Open_Air, TestCO2, TestPM and TestSht This provides the first building block towards a Continuous Integration (CI) pipeline and prevents build breakages from making it to master. Ideally this should also run tests on the examples (i.e. verifying that the example boots successfully and sends metrics), but for now this will at least ensure the build is not obviously broken.
AirGradient Arduino Library for ESP8266 (Wemos D1 MINI) and ESP32 (ESP32-C3 Mini)
This is the code for the AirGradient open-source indoor and outdoor air quality monitors with ESP8266 / ESP32-C3 Microcontrollers.
More information on the air quality monitors and kits are available here: Indoor Monitor: https://www.airgradient.com/indoor/ Outdoor Monitor: https://www.airgradient.com/outdoor/
This library supports the following sensor modules:
- Plantower PMS5003
- Plantower PMS5003T
- SenseAir S8
- Sensirion SGP41
- Sensirion SHT40
Important information
Make sure you have exactly the versions of libraries and boards installed as described in the comment section of the example files.
If you have an older version of the AirGradient PCB not mentioned in the example files, please downgrade this library to version 2.4.15 to support these legacy boards.
Help & Support
If you have any questions or problems, check out our forum.
The following libraries have been integrated into this library for ease of use
- Adafruit BusIO
- Adafruit NeoPixel
- Adafruit SH110X
- Adafruit SSD1306 Wemos Mini OLED
- Adafruit GFX Library
- Sensirion Gas Index Algorithm
- Sensirion Core
- Sensirion I2C SGP41
- Sensirion I2C SHT
- PMS
License
CC BY-SA 4.0 Attribution-ShareAlike 4.0 International License