diff --git a/main/ZgatewayBT.ino b/main/ZgatewayBT.ino index dc8add6..553a3c7 100644 --- a/main/ZgatewayBT.ino +++ b/main/ZgatewayBT.ino @@ -974,7 +974,9 @@ void process_bledata(JsonObject& BLEdata) { const char* mac = BLEdata["id"].as(); int model_id = BTConfig.extDecoderEnable ? -1 : decoder.decodeBLEJson(BLEdata); int mac_type = BLEdata["mac_type"].as(); - if (model_id >= 0) { // Broadcaster devices + if (model_id >= 0 && model_id != TheengsDecoder::BLE_ID_NUM::IBEACON && + model_id != TheengsDecoder::BLE_ID_NUM::MS_CDP && + model_id != TheengsDecoder::BLE_ID_NUM::GAEN) { // Broadcaster devices Log.trace(F("Decoder found device: %s" CR), BLEdata["model_id"].as()); if (model_id == TheengsDecoder::BLE_ID_NUM::HHCCJCY01HHCC) { createOrUpdateDevice(mac, device_flags_connect, model_id, mac_type); // Device that broadcast and can be connected