From 5988e77f8c79f750d31507b42689798329da6097 Mon Sep 17 00:00:00 2001 From: Bernhard Urban-Forster Date: Fri, 22 Dec 2023 14:21:59 +0100 Subject: [PATCH] as608: send mqtt message on non-matching finger (#20287) --- tasmota/tasmota_xsns_sensor/xsns_79_as608.ino | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tasmota/tasmota_xsns_sensor/xsns_79_as608.ino b/tasmota/tasmota_xsns_sensor/xsns_79_as608.ino index a69f62b08..b2059a90d 100644 --- a/tasmota/tasmota_xsns_sensor/xsns_79_as608.ino +++ b/tasmota/tasmota_xsns_sensor/xsns_79_as608.ino @@ -172,6 +172,8 @@ void As608Loop(void) { p = As608Finger->fingerSearch(); // Match found if (p != FINGERPRINT_OK) { // AddLog(LOG_LEVEL_DEBUG, PSTR("AS6: No matching finger")); + Response_P(PSTR("{\"" D_JSON_FPRINT "\":\"NOMATCH\"}")); + MqttPublishPrefixTopicRulesProcess_P(RESULT_OR_STAT, PSTR(D_JSON_FPRINT)); return; }