We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7e7b9a6 commit 979211aCopy full SHA for 979211a
main/ZgatewayBT.ino
@@ -942,7 +942,7 @@ JsonObject& process_bledata(JsonObject& BLEdata) {
942
return process_milamp(BLEdata);
943
}
944
Log.trace(F("Is it a CGP1W?" CR));
945
- if (strstr(service_data, "08094c") != NULL && strlen(service_data) > ServicedataMinLength) {
+ if ((strstr(service_data, "08094c") != NULL || strstr(service_data, "080972") != NULL) && strlen(service_data) > ServicedataMinLength) {
946
Log.trace(F("CGP1W data reading" CR));
947
BLEdata.set("model", "CGP1W");
948
if (device->sensorModel == -1)
0 commit comments