Add support for Honeywell HPMA115S0

Add support for Honeywell HPMA115S0 particle concentration sensor by David Hunt (#6843)
This commit is contained in:
Theo Arends 2019-11-06 14:05:17 +01:00
parent 2c04785119
commit e89b76adc7
4 changed files with 6 additions and 3 deletions

View File

@ -2,6 +2,7 @@
* 7.0.0.3 20191103
* Initial support for I2C driver runtime control using command I2CDriver and document I2CDEVICES.md
* Fix random crash caused by UPNP flood
* Add support for Honeywell HPMA115S0 particle concentration sensor by David Hunt (#6843)
*
* 7.0.0.2 20191102
* Add command WebColor19 to control color of Module and Name (#6811)

View File

@ -456,7 +456,7 @@
//#define PMS_MODEL_PMS3003 // Enable support of PMS3003 instead of PMS5003/PMS7003 (needs the USE_PMS5003 above)
#define USE_NOVA_SDS // Add support for SDS011 and SDS021 particle concentration sensor (+1k5 code)
#define STARTING_OFFSET 30 // Turn on NovaSDS XX-seconds before tele_period is reached
#define USE_HPMA // Add support for Honeywell HPMA115S0 particle concentration sensor
//#define USE_HPMA // Add support for Honeywell HPMA115S0 particle concentration sensor (+1k4)
#define USE_SERIAL_BRIDGE // Add support for software Serial Bridge (+0k8 code)
//#define USE_MP3_PLAYER // Use of the DFPlayer Mini MP3 Player RB-DFR-562 commands: play, volume and stop
#define MP3_VOLUME 10 // Set the startup volume on init, the range can be 0..30(max)

View File

@ -483,7 +483,9 @@ void GetFeatures(void)
#ifdef USE_HIH6
feature5 |= 0x00020000; // xsns_55_hih_series.ino
#endif
// feature5 |= 0x00040000;
#ifdef USE_HPMA
feature5 |= 0x00040000;
#endif
// feature5 |= 0x00080000;
// feature5 |= 0x00100000;

View File

@ -185,7 +185,7 @@ a_features = [[
"USE_INA226","USE_A4988_STEPPER","USE_DDS2382","USE_SM2135",
"USE_SHUTTER","USE_PCF8574","USE_DDSU666","USE_DEEPSLEEP",
"USE_SONOFF_SC","USE_SONOFF_RF","USE_SONOFF_L1","USE_EXS_DIMMER",
"USE_ARDUINO_SLAVE","USE_HIH6","","",
"USE_ARDUINO_SLAVE","USE_HIH6","USE_HPMA","",
"","","","",
"","","","",
"","","",""