JQJCY01YM BLE formaldehyde, temperature, humidity and battery sensor integration (#722)

* Add JQJCY01YM Formaldcehyde detector

The device publish also the temperature, humidity and battery

* Reduce ServicedataMinLength

so as to read battery data of this device and others
This commit is contained in:
Florian authored and GitHub committed 2020-08-05 19:46:50 -05:00
1 parent 0cd2464bf1
commit da63fd3606
3 files changed
+32 -3

No files matched your search

+1 -1
View File
@@ -39,7 +39,7 @@ extern void MQTTtoBT(char* topicOri, JsonObject& RFdata);
//#define HM-11 // uncomment this line if you use HM-11 and comment the line above
//#define HM_BLUE_LED_STOP true //uncomment to stop the blue led light of HM1X
#define BLEdelimiter "4f4b2b444953413a" // OK+DISA:
#define ServicedataMinLength 30
#define ServicedataMinLength 29
#ifndef TimeBtw_Read
# define TimeBtw_Read 55555 //define default time between 2 scans