From afeac6abc99be5913f1cbb6f86f61c0ca4ba4a0e Mon Sep 17 00:00:00 2001 From: Hpsaturn Date: Sat, 10 Jun 2023 22:55:45 +0200 Subject: [PATCH] v0.6.8 RC3 support for CO and NH3 sensors. Thanks to @roberbike --- library.json | 3 ++- library.properties | 4 ++-- platformio.ini | 2 -- src/Sensors.hpp | 4 ++-- unified-lib-deps.ini | 2 +- 5 files changed, 7 insertions(+), 8 deletions(-) diff --git a/library.json b/library.json index 16040a14..ddd0ec80 100644 --- a/library.json +++ b/library.json @@ -1,6 +1,6 @@ { "name": "CanAirIO Air Quality Sensors Library", - "version": "0.6.7", + "version": "0.6.8", "homepage":"https://canair.io", "keywords": [ @@ -88,6 +88,7 @@ {"name":"S8_UART", "owner":"jcomas", "version":"1.0.1"}, {"name":"Sensirion Core","owner":"sensirion","version":"0.6.0"}, {"name":"Sensirion I2C SCD4x","owner":"sensirion","version":"0.4.0"}, + {"name":"DFRobot_MultiGasSensor","owner":"phzi","version":"2.0.0"}, {"name":"DHT_nonblocking", "version":"https://github.com/hpsaturn/DHT_nonblocking.git#ec6e5b9"}, {"name":"AHTxx", "version":"https://github.com/enjoyneering/AHTxx.git#eb21571"}, diff --git a/library.properties b/library.properties index e25d9fe7..ae26f78e 100644 --- a/library.properties +++ b/library.properties @@ -1,10 +1,10 @@ name=CanAirIO Air Quality Sensors Library -version=0.6.7 +version=0.6.8 author=@hpsaturn, CanAirIO project maintainer=Antonio Vanegas url=https://github.com/kike-canaries/canairio_sensorlib sentence=Air quality particle meter and CO2 sensors manager for multiple models. paragraph=Generic sensor manager, abstratctions and bindings of multiple air sensors libraries: Honeywell, Plantower, Panasonic, Sensirion, Nova, etc. and CO2 sensors. Also it handling others environment sensors. This library is for general purpose but also is the sensors library base of CanAirIO project. category=sensors -depends=AM232X,Adafruit Unified Sensor,sps30,Adafruit BME280 Library,AHT10,Adafruit BusIO,Adafruit SHT31 Library,DHT_nonblocking,MH-Z19,SparkFun SCD30 Arduino Library,CM1106_UART,SN-GCJA5,Adafruit BME680 Library,S8_UART,Sensirion I2C SCD4x +depends=AM232X,Adafruit Unified Sensor,sps30,Adafruit BME280 Library,AHT10,Adafruit BusIO,Adafruit SHT31 Library,DHT_nonblocking,MH-Z19,SparkFun SCD30 Arduino Library,CM1106_UART,SN-GCJA5,Adafruit BME680 Library,S8_UART,Sensirion I2C SCD4x,DFRobot_MultiGasSensor license=GPL-3.0-only diff --git a/platformio.ini b/platformio.ini index 6031d9ae..ae2152fc 100644 --- a/platformio.ini +++ b/platformio.ini @@ -56,7 +56,6 @@ extends = esp32_common build_src_filter = -<*> + build_flags = ${env.build_flags} - ;-D ESP32C3=1 [env:esp32c3] extends = esp32_common @@ -70,7 +69,6 @@ board = esp32-s3-devkitc-1 board_build.mcu = esp32s3 board_build.f_cpu = 240000000L build_src_filter = -<*> + -;platform_packages = framework-arduinoespressif32@https://github.com/espressif/arduino-esp32.git#2.0.3 build_flags = ${env.build_flags} -DBOARD_HAS_PSRAM diff --git a/src/Sensors.hpp b/src/Sensors.hpp index 3166347e..b878c4e1 100644 --- a/src/Sensors.hpp +++ b/src/Sensors.hpp @@ -22,8 +22,8 @@ #include #endif -#define CSL_VERSION "0.6.7" -#define CSL_REVISION 374 +#define CSL_VERSION "0.6.8" +#define CSL_REVISION 375 /*************************************************************** * S E T U P E S P 3 2 B O A R D S A N D F I E L D S diff --git a/unified-lib-deps.ini b/unified-lib-deps.ini index 71202c5f..e7028ccd 100644 --- a/unified-lib-deps.ini +++ b/unified-lib-deps.ini @@ -13,9 +13,9 @@ lib_deps = jcomas/S8_UART@1.0.1 sensirion/Sensirion Core@0.6.0 sensirion/Sensirion I2C SCD4x@0.4.0 + phzi/DFRobot_MultiGasSensor@2.0.0 https://github.com/enjoyneering/AHTxx.git#eb21571 https://github.com/hpsaturn/DHT_nonblocking.git#ec6e5b9 https://github.com/paulvha/SN-GCJA5.git#f261968 https://github.com/jcomas/CM1106_UART.git#da0eb4e - https://github.com/DFRobot/DFRobot_MultiGasSensor.git