From 2c822f948df7798400815f9aae338356f3e9160f Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Wed, 11 Nov 2020 16:28:35 +0100 Subject: [PATCH 1/2] Fix R503 fingerprint reader support --- tasmota/xsns_79_as608.ino | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tasmota/xsns_79_as608.ino b/tasmota/xsns_79_as608.ino index ada626632..6c7614de6 100644 --- a/tasmota/xsns_79_as608.ino +++ b/tasmota/xsns_79_as608.ino @@ -23,7 +23,6 @@ * * Currently supports: * - English only as there are no tanslations supported - * - AS608 only as R503 fails to read stored fingerprints \*********************************************************************************************/ #define XSNS_79 79 @@ -130,7 +129,8 @@ void As608Loop(void) { p = As608Finger->image2Tz(); // Convert image if (p != FINGERPRINT_OK) { return; } - p = As608Finger->fingerFastSearch(); // Match found +// p = As608Finger->fingerFastSearch(); // Match found - fails on R503 + p = As608Finger->fingerSearch(); // Match found if (p != FINGERPRINT_OK) { // AddLog_P(LOG_LEVEL_DEBUG, PSTR("AS6: No matching finger")); return; From 4b6465fd10a7401b45941a1ed161518938c6447a Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Wed, 11 Nov 2020 17:31:48 +0100 Subject: [PATCH 2/2] Add support for fingerprint sensor Add support for AS608 optical and R503 capacitive fingerprint sensor --- BUILDS.md | 1 + CHANGELOG.md | 1 + RELEASENOTES.md | 4 +++- tasmota/i18n.h | 1 + tasmota/language/bg_BG.h | 34 +++++++++++++++++++++++++++++++ tasmota/language/cs_CZ.h | 34 +++++++++++++++++++++++++++++++ tasmota/language/de_DE.h | 34 +++++++++++++++++++++++++++++++ tasmota/language/el_GR.h | 34 +++++++++++++++++++++++++++++++ tasmota/language/en_GB.h | 34 +++++++++++++++++++++++++++++++ tasmota/language/es_ES.h | 34 +++++++++++++++++++++++++++++++ tasmota/language/fr_FR.h | 35 ++++++++++++++++++++++++++++++++ tasmota/language/he_HE.h | 34 +++++++++++++++++++++++++++++++ tasmota/language/hu_HU.h | 34 +++++++++++++++++++++++++++++++ tasmota/language/it_IT.h | 34 +++++++++++++++++++++++++++++++ tasmota/language/ko_KO.h | 34 +++++++++++++++++++++++++++++++ tasmota/language/nl_NL.h | 34 +++++++++++++++++++++++++++++++ tasmota/language/pl_PL.h | 34 +++++++++++++++++++++++++++++++ tasmota/language/pt_BR.h | 34 +++++++++++++++++++++++++++++++ tasmota/language/pt_PT.h | 34 +++++++++++++++++++++++++++++++ tasmota/language/ro_RO.h | 34 +++++++++++++++++++++++++++++++ tasmota/language/ru_RU.h | 34 +++++++++++++++++++++++++++++++ tasmota/language/sk_SK.h | 34 +++++++++++++++++++++++++++++++ tasmota/language/sv_SE.h | 34 +++++++++++++++++++++++++++++++ tasmota/language/tr_TR.h | 34 +++++++++++++++++++++++++++++++ tasmota/language/uk_UA.h | 34 +++++++++++++++++++++++++++++++ tasmota/language/vi_VN.h | 34 +++++++++++++++++++++++++++++++ tasmota/language/zh_CN.h | 34 +++++++++++++++++++++++++++++++ tasmota/language/zh_TW.h | 34 +++++++++++++++++++++++++++++++ tasmota/my_user_config.h | 3 ++- tasmota/tasmota_configurations.h | 4 +++- tasmota/xsns_79_as608.ino | 32 ++++++++++++++--------------- 31 files changed, 844 insertions(+), 19 deletions(-) diff --git a/BUILDS.md b/BUILDS.md index 55be2ae7a..394d74fee 100644 --- a/BUILDS.md +++ b/BUILDS.md @@ -165,6 +165,7 @@ | USE_TASMOTA_CLIENT | - | - | - | - | - | - | - | | USE_OPENTHERM | - | - | - | - | - | - | - | | USE_MIEL_HVAC | - | - | - | - | - | - | - | +| USE_AS608 | - | - | - | - | - | - | - | | USE_TCP_BRIDGE | - | - | - | - | - | - | - | zbbridge | | | | | | | | | | USE_NRF24 | - | - | - | - | - | - | - | diff --git a/CHANGELOG.md b/CHANGELOG.md index 954727ff0..436cf5e5a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ All notable changes to this project will be documented in this file. - Support for EZO PMP sensors by Christopher Tremblay (#9760) - Commands ``TuyaRGB``, ``TuyaEnum`` and ``TuyaEnumList`` (#9769) - Zigbee command ``ZbInfo`` and prepare support for EEPROM +- Support for AS608 optical and R503 capacitive fingerprint sensor ### Changed - Core library from v2.7.4.5 to v2.7.4.7 diff --git a/RELEASENOTES.md b/RELEASENOTES.md index a87bf6ab0..cbabcd046 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -58,10 +58,12 @@ The attached binaries can also be downloaded from http://ota.tasmota.com/tasmota ## Changelog v9.1.0.1 ### Added +- Commands ``TuyaRGB``, ``TuyaEnum`` and ``TuyaEnumList`` (#9769) +- Zigbee command ``ZbInfo`` and prepare support for EEPROM - Zigbee support for Mi Door and Contact (#9759) - Zigbee alarm persistence (#9785) - Support for additional EZO sensors by Christopher Tremblay -- Commands ``TuyaRGB``, ``TuyaEnum`` and ``TuyaEnumList`` (#9769) +- Support for AS608 optical and R503 capacitive fingerprint sensor ### Changed - Core library from v2.7.4.5 to v2.7.4.7 diff --git a/tasmota/i18n.h b/tasmota/i18n.h index bf6bbcb06..8c60b3c69 100644 --- a/tasmota/i18n.h +++ b/tasmota/i18n.h @@ -46,6 +46,7 @@ #define D_JSON_CHANNEL "Channel" #define D_JSON_CO2 "CarbonDioxide" #define D_JSON_COMMAND "Command" +#define D_JSON_CONFIDENCE "Confidence" #define D_JSON_CONFIG_HOLDER "CfgHolder" #define D_JSON_CONNECT_FAILED "Connect failed" #define D_JSON_COREVERSION "Core" diff --git a/tasmota/language/bg_BG.h b/tasmota/language/bg_BG.h index aeb93d72d..b7823ca56 100644 --- a/tasmota/language/bg_BG.h +++ b/tasmota/language/bg_BG.h @@ -863,4 +863,38 @@ #define D_MAX_POWER "Max Power" #define D_MAX_CURRENT "Max Current" +// xsns_79_as608.ino +#define D_FP_ENROLL_PLACEFINGER "Place finger" +#define D_FP_ENROLL_REMOVEFINGER "Remove finger" +#define D_FP_ENROLL_PLACESAMEFINGER "Place same finger again" +#define D_FP_ENROLL_RETRY "Error so retry" +#define D_FP_ENROLL_RESTART "Restart" +#define D_FP_ENROLL_ERROR "Error" +#define D_FP_ENROLL_RESET "Reset" +#define D_FP_ENROLL_ACTIVE "Active" +#define D_FP_ENROLL_INACTIVE "Inactive" +// Indexed by Adafruit_Fingerprint.h defines +#define D_FP_PACKETRECIEVEERR "Comms error" // 0x01 Error when receiving data package +#define D_FP_NOFINGER "" // 0x02 No finger on the sensor +#define D_FP_IMAGEFAIL "Imaging error" // 0x03 Failed to enroll the finger +#define D_FP_IMAGEMESS "Image too messy" // 0x06 Failed to generate character file due to overly disorderly fingerprint image +#define D_FP_FEATUREFAIL "Fingerprint too small" // 0x07 Failed to generate character file due to the lack of character point or small fingerprint image +#define D_FP_NOMATCH "No match" // 0x08 Finger doesn't match +#define D_FP_NOTFOUND "Did not find a match" // 0x09 Failed to find matching finger +#define D_FP_ENROLLMISMATCH "Fingerprint did not match" // 0x0A Failed to combine the character files +#define D_FP_BADLOCATION "Bad location" // 0x0B Addressed PageID is beyond the finger library +#define D_FP_DBRANGEFAIL "DB range error" // 0x0C Error when reading template from library or invalid template +#define D_FP_UPLOADFEATUREFAIL "Upload feature error" // 0x0D Error when uploading template +#define D_FP_PACKETRESPONSEFAIL "Packet response error" // 0x0E Module failed to receive the following data packages +#define D_FP_UPLOADFAIL "Upload error" // 0x0F Error when uploading image +#define D_FP_DELETEFAIL "Delete error" // 0x10 Failed to delete the template +#define D_FP_DBCLEARFAIL "DB Clear error" // 0x11 Failed to clear finger library +#define D_FP_PASSFAIL "Password error" // 0x13 Find whether the fingerprint passed or failed +#define D_FP_INVALIDIMAGE "Image invalid" // 0x15 Failed to generate image because of lac of valid primary image +#define D_FP_FLASHERR "Flash write error" // 0x18 Error when writing flash +#define D_FP_INVALIDREG "Invalid number" // 0x1A Invalid register number +#define D_FP_ADDRCODE "Address code" // 0x20 Address code +#define D_FP_PASSVERIFY "Password verified" // 0x21 Verify the fingerprint passed +#define D_FP_UNKNOWNERROR "Error" // Any other error + #endif // _LANGUAGE_BG_BG_H_ diff --git a/tasmota/language/cs_CZ.h b/tasmota/language/cs_CZ.h index 9614943c5..cf2edd17d 100644 --- a/tasmota/language/cs_CZ.h +++ b/tasmota/language/cs_CZ.h @@ -863,4 +863,38 @@ #define D_MAX_POWER "Max Power" #define D_MAX_CURRENT "Max Current" +// xsns_79_as608.ino +#define D_FP_ENROLL_PLACEFINGER "Place finger" +#define D_FP_ENROLL_REMOVEFINGER "Remove finger" +#define D_FP_ENROLL_PLACESAMEFINGER "Place same finger again" +#define D_FP_ENROLL_RETRY "Error so retry" +#define D_FP_ENROLL_RESTART "Restart" +#define D_FP_ENROLL_ERROR "Error" +#define D_FP_ENROLL_RESET "Reset" +#define D_FP_ENROLL_ACTIVE "Active" +#define D_FP_ENROLL_INACTIVE "Inactive" +// Indexed by Adafruit_Fingerprint.h defines +#define D_FP_PACKETRECIEVEERR "Comms error" // 0x01 Error when receiving data package +#define D_FP_NOFINGER "" // 0x02 No finger on the sensor +#define D_FP_IMAGEFAIL "Imaging error" // 0x03 Failed to enroll the finger +#define D_FP_IMAGEMESS "Image too messy" // 0x06 Failed to generate character file due to overly disorderly fingerprint image +#define D_FP_FEATUREFAIL "Fingerprint too small" // 0x07 Failed to generate character file due to the lack of character point or small fingerprint image +#define D_FP_NOMATCH "No match" // 0x08 Finger doesn't match +#define D_FP_NOTFOUND "Did not find a match" // 0x09 Failed to find matching finger +#define D_FP_ENROLLMISMATCH "Fingerprint did not match" // 0x0A Failed to combine the character files +#define D_FP_BADLOCATION "Bad location" // 0x0B Addressed PageID is beyond the finger library +#define D_FP_DBRANGEFAIL "DB range error" // 0x0C Error when reading template from library or invalid template +#define D_FP_UPLOADFEATUREFAIL "Upload feature error" // 0x0D Error when uploading template +#define D_FP_PACKETRESPONSEFAIL "Packet response error" // 0x0E Module failed to receive the following data packages +#define D_FP_UPLOADFAIL "Upload error" // 0x0F Error when uploading image +#define D_FP_DELETEFAIL "Delete error" // 0x10 Failed to delete the template +#define D_FP_DBCLEARFAIL "DB Clear error" // 0x11 Failed to clear finger library +#define D_FP_PASSFAIL "Password error" // 0x13 Find whether the fingerprint passed or failed +#define D_FP_INVALIDIMAGE "Image invalid" // 0x15 Failed to generate image because of lac of valid primary image +#define D_FP_FLASHERR "Flash write error" // 0x18 Error when writing flash +#define D_FP_INVALIDREG "Invalid number" // 0x1A Invalid register number +#define D_FP_ADDRCODE "Address code" // 0x20 Address code +#define D_FP_PASSVERIFY "Password verified" // 0x21 Verify the fingerprint passed +#define D_FP_UNKNOWNERROR "Error" // Any other error + #endif // _LANGUAGE_CS_CZ_H_ diff --git a/tasmota/language/de_DE.h b/tasmota/language/de_DE.h index 7bea97561..4f74ff4d3 100644 --- a/tasmota/language/de_DE.h +++ b/tasmota/language/de_DE.h @@ -863,4 +863,38 @@ #define D_MAX_POWER "max. Leistung" #define D_MAX_CURRENT "max. Stromstärke" +// xsns_79_as608.ino +#define D_FP_ENROLL_PLACEFINGER "Place finger" +#define D_FP_ENROLL_REMOVEFINGER "Remove finger" +#define D_FP_ENROLL_PLACESAMEFINGER "Place same finger again" +#define D_FP_ENROLL_RETRY "Error so retry" +#define D_FP_ENROLL_RESTART "Restart" +#define D_FP_ENROLL_ERROR "Error" +#define D_FP_ENROLL_RESET "Reset" +#define D_FP_ENROLL_ACTIVE "Active" +#define D_FP_ENROLL_INACTIVE "Inactive" +// Indexed by Adafruit_Fingerprint.h defines +#define D_FP_PACKETRECIEVEERR "Comms error" // 0x01 Error when receiving data package +#define D_FP_NOFINGER "" // 0x02 No finger on the sensor +#define D_FP_IMAGEFAIL "Imaging error" // 0x03 Failed to enroll the finger +#define D_FP_IMAGEMESS "Image too messy" // 0x06 Failed to generate character file due to overly disorderly fingerprint image +#define D_FP_FEATUREFAIL "Fingerprint too small" // 0x07 Failed to generate character file due to the lack of character point or small fingerprint image +#define D_FP_NOMATCH "No match" // 0x08 Finger doesn't match +#define D_FP_NOTFOUND "Did not find a match" // 0x09 Failed to find matching finger +#define D_FP_ENROLLMISMATCH "Fingerprint did not match" // 0x0A Failed to combine the character files +#define D_FP_BADLOCATION "Bad location" // 0x0B Addressed PageID is beyond the finger library +#define D_FP_DBRANGEFAIL "DB range error" // 0x0C Error when reading template from library or invalid template +#define D_FP_UPLOADFEATUREFAIL "Upload feature error" // 0x0D Error when uploading template +#define D_FP_PACKETRESPONSEFAIL "Packet response error" // 0x0E Module failed to receive the following data packages +#define D_FP_UPLOADFAIL "Upload error" // 0x0F Error when uploading image +#define D_FP_DELETEFAIL "Delete error" // 0x10 Failed to delete the template +#define D_FP_DBCLEARFAIL "DB Clear error" // 0x11 Failed to clear finger library +#define D_FP_PASSFAIL "Password error" // 0x13 Find whether the fingerprint passed or failed +#define D_FP_INVALIDIMAGE "Image invalid" // 0x15 Failed to generate image because of lac of valid primary image +#define D_FP_FLASHERR "Flash write error" // 0x18 Error when writing flash +#define D_FP_INVALIDREG "Invalid number" // 0x1A Invalid register number +#define D_FP_ADDRCODE "Address code" // 0x20 Address code +#define D_FP_PASSVERIFY "Password verified" // 0x21 Verify the fingerprint passed +#define D_FP_UNKNOWNERROR "Error" // Any other error + #endif // _LANGUAGE_DE_DE_H_ diff --git a/tasmota/language/el_GR.h b/tasmota/language/el_GR.h index a23f5fc23..623b6b740 100644 --- a/tasmota/language/el_GR.h +++ b/tasmota/language/el_GR.h @@ -863,4 +863,38 @@ #define D_MAX_POWER "Max Power" #define D_MAX_CURRENT "Max Current" +// xsns_79_as608.ino +#define D_FP_ENROLL_PLACEFINGER "Place finger" +#define D_FP_ENROLL_REMOVEFINGER "Remove finger" +#define D_FP_ENROLL_PLACESAMEFINGER "Place same finger again" +#define D_FP_ENROLL_RETRY "Error so retry" +#define D_FP_ENROLL_RESTART "Restart" +#define D_FP_ENROLL_ERROR "Error" +#define D_FP_ENROLL_RESET "Reset" +#define D_FP_ENROLL_ACTIVE "Active" +#define D_FP_ENROLL_INACTIVE "Inactive" +// Indexed by Adafruit_Fingerprint.h defines +#define D_FP_PACKETRECIEVEERR "Comms error" // 0x01 Error when receiving data package +#define D_FP_NOFINGER "" // 0x02 No finger on the sensor +#define D_FP_IMAGEFAIL "Imaging error" // 0x03 Failed to enroll the finger +#define D_FP_IMAGEMESS "Image too messy" // 0x06 Failed to generate character file due to overly disorderly fingerprint image +#define D_FP_FEATUREFAIL "Fingerprint too small" // 0x07 Failed to generate character file due to the lack of character point or small fingerprint image +#define D_FP_NOMATCH "No match" // 0x08 Finger doesn't match +#define D_FP_NOTFOUND "Did not find a match" // 0x09 Failed to find matching finger +#define D_FP_ENROLLMISMATCH "Fingerprint did not match" // 0x0A Failed to combine the character files +#define D_FP_BADLOCATION "Bad location" // 0x0B Addressed PageID is beyond the finger library +#define D_FP_DBRANGEFAIL "DB range error" // 0x0C Error when reading template from library or invalid template +#define D_FP_UPLOADFEATUREFAIL "Upload feature error" // 0x0D Error when uploading template +#define D_FP_PACKETRESPONSEFAIL "Packet response error" // 0x0E Module failed to receive the following data packages +#define D_FP_UPLOADFAIL "Upload error" // 0x0F Error when uploading image +#define D_FP_DELETEFAIL "Delete error" // 0x10 Failed to delete the template +#define D_FP_DBCLEARFAIL "DB Clear error" // 0x11 Failed to clear finger library +#define D_FP_PASSFAIL "Password error" // 0x13 Find whether the fingerprint passed or failed +#define D_FP_INVALIDIMAGE "Image invalid" // 0x15 Failed to generate image because of lac of valid primary image +#define D_FP_FLASHERR "Flash write error" // 0x18 Error when writing flash +#define D_FP_INVALIDREG "Invalid number" // 0x1A Invalid register number +#define D_FP_ADDRCODE "Address code" // 0x20 Address code +#define D_FP_PASSVERIFY "Password verified" // 0x21 Verify the fingerprint passed +#define D_FP_UNKNOWNERROR "Error" // Any other error + #endif // _LANGUAGE_EL_GR_H_ diff --git a/tasmota/language/en_GB.h b/tasmota/language/en_GB.h index 66322e57b..580570d88 100644 --- a/tasmota/language/en_GB.h +++ b/tasmota/language/en_GB.h @@ -863,4 +863,38 @@ #define D_MAX_POWER "Max Power" #define D_MAX_CURRENT "Max Current" +// xsns_79_as608.ino +#define D_FP_ENROLL_PLACEFINGER "Place finger" +#define D_FP_ENROLL_REMOVEFINGER "Remove finger" +#define D_FP_ENROLL_PLACESAMEFINGER "Place same finger again" +#define D_FP_ENROLL_RETRY "Error so retry" +#define D_FP_ENROLL_RESTART "Restart" +#define D_FP_ENROLL_ERROR "Error" +#define D_FP_ENROLL_RESET "Reset" +#define D_FP_ENROLL_ACTIVE "Active" +#define D_FP_ENROLL_INACTIVE "Inactive" +// Indexed by Adafruit_Fingerprint.h defines +#define D_FP_PACKETRECIEVEERR "Comms error" // 0x01 Error when receiving data package +#define D_FP_NOFINGER "" // 0x02 No finger on the sensor +#define D_FP_IMAGEFAIL "Imaging error" // 0x03 Failed to enroll the finger +#define D_FP_IMAGEMESS "Image too messy" // 0x06 Failed to generate character file due to overly disorderly fingerprint image +#define D_FP_FEATUREFAIL "Fingerprint too small" // 0x07 Failed to generate character file due to the lack of character point or small fingerprint image +#define D_FP_NOMATCH "No match" // 0x08 Finger doesn't match +#define D_FP_NOTFOUND "Did not find a match" // 0x09 Failed to find matching finger +#define D_FP_ENROLLMISMATCH "Fingerprint did not match" // 0x0A Failed to combine the character files +#define D_FP_BADLOCATION "Bad location" // 0x0B Addressed PageID is beyond the finger library +#define D_FP_DBRANGEFAIL "DB range error" // 0x0C Error when reading template from library or invalid template +#define D_FP_UPLOADFEATUREFAIL "Upload feature error" // 0x0D Error when uploading template +#define D_FP_PACKETRESPONSEFAIL "Packet response error" // 0x0E Module failed to receive the following data packages +#define D_FP_UPLOADFAIL "Upload error" // 0x0F Error when uploading image +#define D_FP_DELETEFAIL "Delete error" // 0x10 Failed to delete the template +#define D_FP_DBCLEARFAIL "DB Clear error" // 0x11 Failed to clear finger library +#define D_FP_PASSFAIL "Password error" // 0x13 Find whether the fingerprint passed or failed +#define D_FP_INVALIDIMAGE "Image invalid" // 0x15 Failed to generate image because of lac of valid primary image +#define D_FP_FLASHERR "Flash write error" // 0x18 Error when writing flash +#define D_FP_INVALIDREG "Invalid number" // 0x1A Invalid register number +#define D_FP_ADDRCODE "Address code" // 0x20 Address code +#define D_FP_PASSVERIFY "Password verified" // 0x21 Verify the fingerprint passed +#define D_FP_UNKNOWNERROR "Error" // Any other error + #endif // _LANGUAGE_EN_GB_H_ diff --git a/tasmota/language/es_ES.h b/tasmota/language/es_ES.h index c97b114ea..3eea5f1c9 100644 --- a/tasmota/language/es_ES.h +++ b/tasmota/language/es_ES.h @@ -863,4 +863,38 @@ #define D_MAX_POWER "Potencia Máxima" #define D_MAX_CURRENT "Corriente Máxima" +// xsns_79_as608.ino +#define D_FP_ENROLL_PLACEFINGER "Place finger" +#define D_FP_ENROLL_REMOVEFINGER "Remove finger" +#define D_FP_ENROLL_PLACESAMEFINGER "Place same finger again" +#define D_FP_ENROLL_RETRY "Error so retry" +#define D_FP_ENROLL_RESTART "Restart" +#define D_FP_ENROLL_ERROR "Error" +#define D_FP_ENROLL_RESET "Reset" +#define D_FP_ENROLL_ACTIVE "Active" +#define D_FP_ENROLL_INACTIVE "Inactive" +// Indexed by Adafruit_Fingerprint.h defines +#define D_FP_PACKETRECIEVEERR "Comms error" // 0x01 Error when receiving data package +#define D_FP_NOFINGER "" // 0x02 No finger on the sensor +#define D_FP_IMAGEFAIL "Imaging error" // 0x03 Failed to enroll the finger +#define D_FP_IMAGEMESS "Image too messy" // 0x06 Failed to generate character file due to overly disorderly fingerprint image +#define D_FP_FEATUREFAIL "Fingerprint too small" // 0x07 Failed to generate character file due to the lack of character point or small fingerprint image +#define D_FP_NOMATCH "No match" // 0x08 Finger doesn't match +#define D_FP_NOTFOUND "Did not find a match" // 0x09 Failed to find matching finger +#define D_FP_ENROLLMISMATCH "Fingerprint did not match" // 0x0A Failed to combine the character files +#define D_FP_BADLOCATION "Bad location" // 0x0B Addressed PageID is beyond the finger library +#define D_FP_DBRANGEFAIL "DB range error" // 0x0C Error when reading template from library or invalid template +#define D_FP_UPLOADFEATUREFAIL "Upload feature error" // 0x0D Error when uploading template +#define D_FP_PACKETRESPONSEFAIL "Packet response error" // 0x0E Module failed to receive the following data packages +#define D_FP_UPLOADFAIL "Upload error" // 0x0F Error when uploading image +#define D_FP_DELETEFAIL "Delete error" // 0x10 Failed to delete the template +#define D_FP_DBCLEARFAIL "DB Clear error" // 0x11 Failed to clear finger library +#define D_FP_PASSFAIL "Password error" // 0x13 Find whether the fingerprint passed or failed +#define D_FP_INVALIDIMAGE "Image invalid" // 0x15 Failed to generate image because of lac of valid primary image +#define D_FP_FLASHERR "Flash write error" // 0x18 Error when writing flash +#define D_FP_INVALIDREG "Invalid number" // 0x1A Invalid register number +#define D_FP_ADDRCODE "Address code" // 0x20 Address code +#define D_FP_PASSVERIFY "Password verified" // 0x21 Verify the fingerprint passed +#define D_FP_UNKNOWNERROR "Error" // Any other error + #endif // _LANGUAGE_ES_ES_H_ diff --git a/tasmota/language/fr_FR.h b/tasmota/language/fr_FR.h index 3b38ec4b0..ac5ade26b 100644 --- a/tasmota/language/fr_FR.h +++ b/tasmota/language/fr_FR.h @@ -852,4 +852,39 @@ #define D_OVERLOAD "ADPS" #define D_MAX_POWER "Puissance max" #define D_MAX_CURRENT "Courant max" + +// xsns_79_as608.ino +#define D_FP_ENROLL_PLACEFINGER "Place finger" +#define D_FP_ENROLL_REMOVEFINGER "Remove finger" +#define D_FP_ENROLL_PLACESAMEFINGER "Place same finger again" +#define D_FP_ENROLL_RETRY "Error so retry" +#define D_FP_ENROLL_RESTART "Restart" +#define D_FP_ENROLL_ERROR "Error" +#define D_FP_ENROLL_RESET "Reset" +#define D_FP_ENROLL_ACTIVE "Active" +#define D_FP_ENROLL_INACTIVE "Inactive" +// Indexed by Adafruit_Fingerprint.h defines +#define D_FP_PACKETRECIEVEERR "Comms error" // 0x01 Error when receiving data package +#define D_FP_NOFINGER "" // 0x02 No finger on the sensor +#define D_FP_IMAGEFAIL "Imaging error" // 0x03 Failed to enroll the finger +#define D_FP_IMAGEMESS "Image too messy" // 0x06 Failed to generate character file due to overly disorderly fingerprint image +#define D_FP_FEATUREFAIL "Fingerprint too small" // 0x07 Failed to generate character file due to the lack of character point or small fingerprint image +#define D_FP_NOMATCH "No match" // 0x08 Finger doesn't match +#define D_FP_NOTFOUND "Did not find a match" // 0x09 Failed to find matching finger +#define D_FP_ENROLLMISMATCH "Fingerprint did not match" // 0x0A Failed to combine the character files +#define D_FP_BADLOCATION "Bad location" // 0x0B Addressed PageID is beyond the finger library +#define D_FP_DBRANGEFAIL "DB range error" // 0x0C Error when reading template from library or invalid template +#define D_FP_UPLOADFEATUREFAIL "Upload feature error" // 0x0D Error when uploading template +#define D_FP_PACKETRESPONSEFAIL "Packet response error" // 0x0E Module failed to receive the following data packages +#define D_FP_UPLOADFAIL "Upload error" // 0x0F Error when uploading image +#define D_FP_DELETEFAIL "Delete error" // 0x10 Failed to delete the template +#define D_FP_DBCLEARFAIL "DB Clear error" // 0x11 Failed to clear finger library +#define D_FP_PASSFAIL "Password error" // 0x13 Find whether the fingerprint passed or failed +#define D_FP_INVALIDIMAGE "Image invalid" // 0x15 Failed to generate image because of lac of valid primary image +#define D_FP_FLASHERR "Flash write error" // 0x18 Error when writing flash +#define D_FP_INVALIDREG "Invalid number" // 0x1A Invalid register number +#define D_FP_ADDRCODE "Address code" // 0x20 Address code +#define D_FP_PASSVERIFY "Password verified" // 0x21 Verify the fingerprint passed +#define D_FP_UNKNOWNERROR "Error" // Any other error + #endif // _LANGUAGE_FR_FR_H_ diff --git a/tasmota/language/he_HE.h b/tasmota/language/he_HE.h index 6fcd10532..2ad3700d3 100644 --- a/tasmota/language/he_HE.h +++ b/tasmota/language/he_HE.h @@ -863,4 +863,38 @@ #define D_MAX_POWER "Max Power" #define D_MAX_CURRENT "Max Current" +// xsns_79_as608.ino +#define D_FP_ENROLL_PLACEFINGER "Place finger" +#define D_FP_ENROLL_REMOVEFINGER "Remove finger" +#define D_FP_ENROLL_PLACESAMEFINGER "Place same finger again" +#define D_FP_ENROLL_RETRY "Error so retry" +#define D_FP_ENROLL_RESTART "Restart" +#define D_FP_ENROLL_ERROR "Error" +#define D_FP_ENROLL_RESET "Reset" +#define D_FP_ENROLL_ACTIVE "Active" +#define D_FP_ENROLL_INACTIVE "Inactive" +// Indexed by Adafruit_Fingerprint.h defines +#define D_FP_PACKETRECIEVEERR "Comms error" // 0x01 Error when receiving data package +#define D_FP_NOFINGER "" // 0x02 No finger on the sensor +#define D_FP_IMAGEFAIL "Imaging error" // 0x03 Failed to enroll the finger +#define D_FP_IMAGEMESS "Image too messy" // 0x06 Failed to generate character file due to overly disorderly fingerprint image +#define D_FP_FEATUREFAIL "Fingerprint too small" // 0x07 Failed to generate character file due to the lack of character point or small fingerprint image +#define D_FP_NOMATCH "No match" // 0x08 Finger doesn't match +#define D_FP_NOTFOUND "Did not find a match" // 0x09 Failed to find matching finger +#define D_FP_ENROLLMISMATCH "Fingerprint did not match" // 0x0A Failed to combine the character files +#define D_FP_BADLOCATION "Bad location" // 0x0B Addressed PageID is beyond the finger library +#define D_FP_DBRANGEFAIL "DB range error" // 0x0C Error when reading template from library or invalid template +#define D_FP_UPLOADFEATUREFAIL "Upload feature error" // 0x0D Error when uploading template +#define D_FP_PACKETRESPONSEFAIL "Packet response error" // 0x0E Module failed to receive the following data packages +#define D_FP_UPLOADFAIL "Upload error" // 0x0F Error when uploading image +#define D_FP_DELETEFAIL "Delete error" // 0x10 Failed to delete the template +#define D_FP_DBCLEARFAIL "DB Clear error" // 0x11 Failed to clear finger library +#define D_FP_PASSFAIL "Password error" // 0x13 Find whether the fingerprint passed or failed +#define D_FP_INVALIDIMAGE "Image invalid" // 0x15 Failed to generate image because of lac of valid primary image +#define D_FP_FLASHERR "Flash write error" // 0x18 Error when writing flash +#define D_FP_INVALIDREG "Invalid number" // 0x1A Invalid register number +#define D_FP_ADDRCODE "Address code" // 0x20 Address code +#define D_FP_PASSVERIFY "Password verified" // 0x21 Verify the fingerprint passed +#define D_FP_UNKNOWNERROR "Error" // Any other error + #endif // _LANGUAGE_HE_HE_H_ diff --git a/tasmota/language/hu_HU.h b/tasmota/language/hu_HU.h index 56e80a9f2..6dbb44c9c 100644 --- a/tasmota/language/hu_HU.h +++ b/tasmota/language/hu_HU.h @@ -863,4 +863,38 @@ #define D_MAX_POWER "Max Power" #define D_MAX_CURRENT "Max Current" +// xsns_79_as608.ino +#define D_FP_ENROLL_PLACEFINGER "Place finger" +#define D_FP_ENROLL_REMOVEFINGER "Remove finger" +#define D_FP_ENROLL_PLACESAMEFINGER "Place same finger again" +#define D_FP_ENROLL_RETRY "Error so retry" +#define D_FP_ENROLL_RESTART "Restart" +#define D_FP_ENROLL_ERROR "Error" +#define D_FP_ENROLL_RESET "Reset" +#define D_FP_ENROLL_ACTIVE "Active" +#define D_FP_ENROLL_INACTIVE "Inactive" +// Indexed by Adafruit_Fingerprint.h defines +#define D_FP_PACKETRECIEVEERR "Comms error" // 0x01 Error when receiving data package +#define D_FP_NOFINGER "" // 0x02 No finger on the sensor +#define D_FP_IMAGEFAIL "Imaging error" // 0x03 Failed to enroll the finger +#define D_FP_IMAGEMESS "Image too messy" // 0x06 Failed to generate character file due to overly disorderly fingerprint image +#define D_FP_FEATUREFAIL "Fingerprint too small" // 0x07 Failed to generate character file due to the lack of character point or small fingerprint image +#define D_FP_NOMATCH "No match" // 0x08 Finger doesn't match +#define D_FP_NOTFOUND "Did not find a match" // 0x09 Failed to find matching finger +#define D_FP_ENROLLMISMATCH "Fingerprint did not match" // 0x0A Failed to combine the character files +#define D_FP_BADLOCATION "Bad location" // 0x0B Addressed PageID is beyond the finger library +#define D_FP_DBRANGEFAIL "DB range error" // 0x0C Error when reading template from library or invalid template +#define D_FP_UPLOADFEATUREFAIL "Upload feature error" // 0x0D Error when uploading template +#define D_FP_PACKETRESPONSEFAIL "Packet response error" // 0x0E Module failed to receive the following data packages +#define D_FP_UPLOADFAIL "Upload error" // 0x0F Error when uploading image +#define D_FP_DELETEFAIL "Delete error" // 0x10 Failed to delete the template +#define D_FP_DBCLEARFAIL "DB Clear error" // 0x11 Failed to clear finger library +#define D_FP_PASSFAIL "Password error" // 0x13 Find whether the fingerprint passed or failed +#define D_FP_INVALIDIMAGE "Image invalid" // 0x15 Failed to generate image because of lac of valid primary image +#define D_FP_FLASHERR "Flash write error" // 0x18 Error when writing flash +#define D_FP_INVALIDREG "Invalid number" // 0x1A Invalid register number +#define D_FP_ADDRCODE "Address code" // 0x20 Address code +#define D_FP_PASSVERIFY "Password verified" // 0x21 Verify the fingerprint passed +#define D_FP_UNKNOWNERROR "Error" // Any other error + #endif // _LANGUAGE_HU_HU_H_ diff --git a/tasmota/language/it_IT.h b/tasmota/language/it_IT.h index 79331c1fc..81b7080ca 100644 --- a/tasmota/language/it_IT.h +++ b/tasmota/language/it_IT.h @@ -863,4 +863,38 @@ #define D_MAX_POWER "Potenza max" #define D_MAX_CURRENT "Corrente max" +// xsns_79_as608.ino +#define D_FP_ENROLL_PLACEFINGER "Place finger" +#define D_FP_ENROLL_REMOVEFINGER "Remove finger" +#define D_FP_ENROLL_PLACESAMEFINGER "Place same finger again" +#define D_FP_ENROLL_RETRY "Error so retry" +#define D_FP_ENROLL_RESTART "Restart" +#define D_FP_ENROLL_ERROR "Error" +#define D_FP_ENROLL_RESET "Reset" +#define D_FP_ENROLL_ACTIVE "Active" +#define D_FP_ENROLL_INACTIVE "Inactive" +// Indexed by Adafruit_Fingerprint.h defines +#define D_FP_PACKETRECIEVEERR "Comms error" // 0x01 Error when receiving data package +#define D_FP_NOFINGER "" // 0x02 No finger on the sensor +#define D_FP_IMAGEFAIL "Imaging error" // 0x03 Failed to enroll the finger +#define D_FP_IMAGEMESS "Image too messy" // 0x06 Failed to generate character file due to overly disorderly fingerprint image +#define D_FP_FEATUREFAIL "Fingerprint too small" // 0x07 Failed to generate character file due to the lack of character point or small fingerprint image +#define D_FP_NOMATCH "No match" // 0x08 Finger doesn't match +#define D_FP_NOTFOUND "Did not find a match" // 0x09 Failed to find matching finger +#define D_FP_ENROLLMISMATCH "Fingerprint did not match" // 0x0A Failed to combine the character files +#define D_FP_BADLOCATION "Bad location" // 0x0B Addressed PageID is beyond the finger library +#define D_FP_DBRANGEFAIL "DB range error" // 0x0C Error when reading template from library or invalid template +#define D_FP_UPLOADFEATUREFAIL "Upload feature error" // 0x0D Error when uploading template +#define D_FP_PACKETRESPONSEFAIL "Packet response error" // 0x0E Module failed to receive the following data packages +#define D_FP_UPLOADFAIL "Upload error" // 0x0F Error when uploading image +#define D_FP_DELETEFAIL "Delete error" // 0x10 Failed to delete the template +#define D_FP_DBCLEARFAIL "DB Clear error" // 0x11 Failed to clear finger library +#define D_FP_PASSFAIL "Password error" // 0x13 Find whether the fingerprint passed or failed +#define D_FP_INVALIDIMAGE "Image invalid" // 0x15 Failed to generate image because of lac of valid primary image +#define D_FP_FLASHERR "Flash write error" // 0x18 Error when writing flash +#define D_FP_INVALIDREG "Invalid number" // 0x1A Invalid register number +#define D_FP_ADDRCODE "Address code" // 0x20 Address code +#define D_FP_PASSVERIFY "Password verified" // 0x21 Verify the fingerprint passed +#define D_FP_UNKNOWNERROR "Error" // Any other error + #endif // _LANGUAGE_IT_IT_H_ diff --git a/tasmota/language/ko_KO.h b/tasmota/language/ko_KO.h index 7f310bab5..3fe15a1b2 100644 --- a/tasmota/language/ko_KO.h +++ b/tasmota/language/ko_KO.h @@ -863,4 +863,38 @@ #define D_MAX_POWER "Max Power" #define D_MAX_CURRENT "Max Current" +// xsns_79_as608.ino +#define D_FP_ENROLL_PLACEFINGER "Place finger" +#define D_FP_ENROLL_REMOVEFINGER "Remove finger" +#define D_FP_ENROLL_PLACESAMEFINGER "Place same finger again" +#define D_FP_ENROLL_RETRY "Error so retry" +#define D_FP_ENROLL_RESTART "Restart" +#define D_FP_ENROLL_ERROR "Error" +#define D_FP_ENROLL_RESET "Reset" +#define D_FP_ENROLL_ACTIVE "Active" +#define D_FP_ENROLL_INACTIVE "Inactive" +// Indexed by Adafruit_Fingerprint.h defines +#define D_FP_PACKETRECIEVEERR "Comms error" // 0x01 Error when receiving data package +#define D_FP_NOFINGER "" // 0x02 No finger on the sensor +#define D_FP_IMAGEFAIL "Imaging error" // 0x03 Failed to enroll the finger +#define D_FP_IMAGEMESS "Image too messy" // 0x06 Failed to generate character file due to overly disorderly fingerprint image +#define D_FP_FEATUREFAIL "Fingerprint too small" // 0x07 Failed to generate character file due to the lack of character point or small fingerprint image +#define D_FP_NOMATCH "No match" // 0x08 Finger doesn't match +#define D_FP_NOTFOUND "Did not find a match" // 0x09 Failed to find matching finger +#define D_FP_ENROLLMISMATCH "Fingerprint did not match" // 0x0A Failed to combine the character files +#define D_FP_BADLOCATION "Bad location" // 0x0B Addressed PageID is beyond the finger library +#define D_FP_DBRANGEFAIL "DB range error" // 0x0C Error when reading template from library or invalid template +#define D_FP_UPLOADFEATUREFAIL "Upload feature error" // 0x0D Error when uploading template +#define D_FP_PACKETRESPONSEFAIL "Packet response error" // 0x0E Module failed to receive the following data packages +#define D_FP_UPLOADFAIL "Upload error" // 0x0F Error when uploading image +#define D_FP_DELETEFAIL "Delete error" // 0x10 Failed to delete the template +#define D_FP_DBCLEARFAIL "DB Clear error" // 0x11 Failed to clear finger library +#define D_FP_PASSFAIL "Password error" // 0x13 Find whether the fingerprint passed or failed +#define D_FP_INVALIDIMAGE "Image invalid" // 0x15 Failed to generate image because of lac of valid primary image +#define D_FP_FLASHERR "Flash write error" // 0x18 Error when writing flash +#define D_FP_INVALIDREG "Invalid number" // 0x1A Invalid register number +#define D_FP_ADDRCODE "Address code" // 0x20 Address code +#define D_FP_PASSVERIFY "Password verified" // 0x21 Verify the fingerprint passed +#define D_FP_UNKNOWNERROR "Error" // Any other error + #endif // _LANGUAGE_KO_KO_H_ diff --git a/tasmota/language/nl_NL.h b/tasmota/language/nl_NL.h index ad0a81a5e..4763c030f 100644 --- a/tasmota/language/nl_NL.h +++ b/tasmota/language/nl_NL.h @@ -863,4 +863,38 @@ #define D_MAX_POWER "Max Power" #define D_MAX_CURRENT "Max Current" +// xsns_79_as608.ino +#define D_FP_ENROLL_PLACEFINGER "Place finger" +#define D_FP_ENROLL_REMOVEFINGER "Remove finger" +#define D_FP_ENROLL_PLACESAMEFINGER "Place same finger again" +#define D_FP_ENROLL_RETRY "Error so retry" +#define D_FP_ENROLL_RESTART "Restart" +#define D_FP_ENROLL_ERROR "Error" +#define D_FP_ENROLL_RESET "Reset" +#define D_FP_ENROLL_ACTIVE "Active" +#define D_FP_ENROLL_INACTIVE "Inactive" +// Indexed by Adafruit_Fingerprint.h defines +#define D_FP_PACKETRECIEVEERR "Comms error" // 0x01 Error when receiving data package +#define D_FP_NOFINGER "" // 0x02 No finger on the sensor +#define D_FP_IMAGEFAIL "Imaging error" // 0x03 Failed to enroll the finger +#define D_FP_IMAGEMESS "Image too messy" // 0x06 Failed to generate character file due to overly disorderly fingerprint image +#define D_FP_FEATUREFAIL "Fingerprint too small" // 0x07 Failed to generate character file due to the lack of character point or small fingerprint image +#define D_FP_NOMATCH "No match" // 0x08 Finger doesn't match +#define D_FP_NOTFOUND "Did not find a match" // 0x09 Failed to find matching finger +#define D_FP_ENROLLMISMATCH "Fingerprint did not match" // 0x0A Failed to combine the character files +#define D_FP_BADLOCATION "Bad location" // 0x0B Addressed PageID is beyond the finger library +#define D_FP_DBRANGEFAIL "DB range error" // 0x0C Error when reading template from library or invalid template +#define D_FP_UPLOADFEATUREFAIL "Upload feature error" // 0x0D Error when uploading template +#define D_FP_PACKETRESPONSEFAIL "Packet response error" // 0x0E Module failed to receive the following data packages +#define D_FP_UPLOADFAIL "Upload error" // 0x0F Error when uploading image +#define D_FP_DELETEFAIL "Delete error" // 0x10 Failed to delete the template +#define D_FP_DBCLEARFAIL "DB Clear error" // 0x11 Failed to clear finger library +#define D_FP_PASSFAIL "Password error" // 0x13 Find whether the fingerprint passed or failed +#define D_FP_INVALIDIMAGE "Image invalid" // 0x15 Failed to generate image because of lac of valid primary image +#define D_FP_FLASHERR "Flash write error" // 0x18 Error when writing flash +#define D_FP_INVALIDREG "Invalid number" // 0x1A Invalid register number +#define D_FP_ADDRCODE "Address code" // 0x20 Address code +#define D_FP_PASSVERIFY "Password verified" // 0x21 Verify the fingerprint passed +#define D_FP_UNKNOWNERROR "Error" // Any other error + #endif // _LANGUAGE_NL_NL_H_ diff --git a/tasmota/language/pl_PL.h b/tasmota/language/pl_PL.h index 1eb720b8b..324de77fb 100644 --- a/tasmota/language/pl_PL.h +++ b/tasmota/language/pl_PL.h @@ -863,4 +863,38 @@ #define D_MAX_POWER "Max Power" #define D_MAX_CURRENT "Max Current" +// xsns_79_as608.ino +#define D_FP_ENROLL_PLACEFINGER "Place finger" +#define D_FP_ENROLL_REMOVEFINGER "Remove finger" +#define D_FP_ENROLL_PLACESAMEFINGER "Place same finger again" +#define D_FP_ENROLL_RETRY "Error so retry" +#define D_FP_ENROLL_RESTART "Restart" +#define D_FP_ENROLL_ERROR "Error" +#define D_FP_ENROLL_RESET "Reset" +#define D_FP_ENROLL_ACTIVE "Active" +#define D_FP_ENROLL_INACTIVE "Inactive" +// Indexed by Adafruit_Fingerprint.h defines +#define D_FP_PACKETRECIEVEERR "Comms error" // 0x01 Error when receiving data package +#define D_FP_NOFINGER "" // 0x02 No finger on the sensor +#define D_FP_IMAGEFAIL "Imaging error" // 0x03 Failed to enroll the finger +#define D_FP_IMAGEMESS "Image too messy" // 0x06 Failed to generate character file due to overly disorderly fingerprint image +#define D_FP_FEATUREFAIL "Fingerprint too small" // 0x07 Failed to generate character file due to the lack of character point or small fingerprint image +#define D_FP_NOMATCH "No match" // 0x08 Finger doesn't match +#define D_FP_NOTFOUND "Did not find a match" // 0x09 Failed to find matching finger +#define D_FP_ENROLLMISMATCH "Fingerprint did not match" // 0x0A Failed to combine the character files +#define D_FP_BADLOCATION "Bad location" // 0x0B Addressed PageID is beyond the finger library +#define D_FP_DBRANGEFAIL "DB range error" // 0x0C Error when reading template from library or invalid template +#define D_FP_UPLOADFEATUREFAIL "Upload feature error" // 0x0D Error when uploading template +#define D_FP_PACKETRESPONSEFAIL "Packet response error" // 0x0E Module failed to receive the following data packages +#define D_FP_UPLOADFAIL "Upload error" // 0x0F Error when uploading image +#define D_FP_DELETEFAIL "Delete error" // 0x10 Failed to delete the template +#define D_FP_DBCLEARFAIL "DB Clear error" // 0x11 Failed to clear finger library +#define D_FP_PASSFAIL "Password error" // 0x13 Find whether the fingerprint passed or failed +#define D_FP_INVALIDIMAGE "Image invalid" // 0x15 Failed to generate image because of lac of valid primary image +#define D_FP_FLASHERR "Flash write error" // 0x18 Error when writing flash +#define D_FP_INVALIDREG "Invalid number" // 0x1A Invalid register number +#define D_FP_ADDRCODE "Address code" // 0x20 Address code +#define D_FP_PASSVERIFY "Password verified" // 0x21 Verify the fingerprint passed +#define D_FP_UNKNOWNERROR "Error" // Any other error + #endif // _LANGUAGE_PL_PL_D_H_ diff --git a/tasmota/language/pt_BR.h b/tasmota/language/pt_BR.h index c74613b53..38f91e7ea 100644 --- a/tasmota/language/pt_BR.h +++ b/tasmota/language/pt_BR.h @@ -863,4 +863,38 @@ #define D_MAX_POWER "Max Power" #define D_MAX_CURRENT "Max Current" +// xsns_79_as608.ino +#define D_FP_ENROLL_PLACEFINGER "Place finger" +#define D_FP_ENROLL_REMOVEFINGER "Remove finger" +#define D_FP_ENROLL_PLACESAMEFINGER "Place same finger again" +#define D_FP_ENROLL_RETRY "Error so retry" +#define D_FP_ENROLL_RESTART "Restart" +#define D_FP_ENROLL_ERROR "Error" +#define D_FP_ENROLL_RESET "Reset" +#define D_FP_ENROLL_ACTIVE "Active" +#define D_FP_ENROLL_INACTIVE "Inactive" +// Indexed by Adafruit_Fingerprint.h defines +#define D_FP_PACKETRECIEVEERR "Comms error" // 0x01 Error when receiving data package +#define D_FP_NOFINGER "" // 0x02 No finger on the sensor +#define D_FP_IMAGEFAIL "Imaging error" // 0x03 Failed to enroll the finger +#define D_FP_IMAGEMESS "Image too messy" // 0x06 Failed to generate character file due to overly disorderly fingerprint image +#define D_FP_FEATUREFAIL "Fingerprint too small" // 0x07 Failed to generate character file due to the lack of character point or small fingerprint image +#define D_FP_NOMATCH "No match" // 0x08 Finger doesn't match +#define D_FP_NOTFOUND "Did not find a match" // 0x09 Failed to find matching finger +#define D_FP_ENROLLMISMATCH "Fingerprint did not match" // 0x0A Failed to combine the character files +#define D_FP_BADLOCATION "Bad location" // 0x0B Addressed PageID is beyond the finger library +#define D_FP_DBRANGEFAIL "DB range error" // 0x0C Error when reading template from library or invalid template +#define D_FP_UPLOADFEATUREFAIL "Upload feature error" // 0x0D Error when uploading template +#define D_FP_PACKETRESPONSEFAIL "Packet response error" // 0x0E Module failed to receive the following data packages +#define D_FP_UPLOADFAIL "Upload error" // 0x0F Error when uploading image +#define D_FP_DELETEFAIL "Delete error" // 0x10 Failed to delete the template +#define D_FP_DBCLEARFAIL "DB Clear error" // 0x11 Failed to clear finger library +#define D_FP_PASSFAIL "Password error" // 0x13 Find whether the fingerprint passed or failed +#define D_FP_INVALIDIMAGE "Image invalid" // 0x15 Failed to generate image because of lac of valid primary image +#define D_FP_FLASHERR "Flash write error" // 0x18 Error when writing flash +#define D_FP_INVALIDREG "Invalid number" // 0x1A Invalid register number +#define D_FP_ADDRCODE "Address code" // 0x20 Address code +#define D_FP_PASSVERIFY "Password verified" // 0x21 Verify the fingerprint passed +#define D_FP_UNKNOWNERROR "Error" // Any other error + #endif // _LANGUAGE_PT_BR_H_ diff --git a/tasmota/language/pt_PT.h b/tasmota/language/pt_PT.h index b1a7e567c..ae76b55ad 100644 --- a/tasmota/language/pt_PT.h +++ b/tasmota/language/pt_PT.h @@ -863,4 +863,38 @@ #define D_MAX_POWER "Max Power" #define D_MAX_CURRENT "Max Current" +// xsns_79_as608.ino +#define D_FP_ENROLL_PLACEFINGER "Place finger" +#define D_FP_ENROLL_REMOVEFINGER "Remove finger" +#define D_FP_ENROLL_PLACESAMEFINGER "Place same finger again" +#define D_FP_ENROLL_RETRY "Error so retry" +#define D_FP_ENROLL_RESTART "Restart" +#define D_FP_ENROLL_ERROR "Error" +#define D_FP_ENROLL_RESET "Reset" +#define D_FP_ENROLL_ACTIVE "Active" +#define D_FP_ENROLL_INACTIVE "Inactive" +// Indexed by Adafruit_Fingerprint.h defines +#define D_FP_PACKETRECIEVEERR "Comms error" // 0x01 Error when receiving data package +#define D_FP_NOFINGER "" // 0x02 No finger on the sensor +#define D_FP_IMAGEFAIL "Imaging error" // 0x03 Failed to enroll the finger +#define D_FP_IMAGEMESS "Image too messy" // 0x06 Failed to generate character file due to overly disorderly fingerprint image +#define D_FP_FEATUREFAIL "Fingerprint too small" // 0x07 Failed to generate character file due to the lack of character point or small fingerprint image +#define D_FP_NOMATCH "No match" // 0x08 Finger doesn't match +#define D_FP_NOTFOUND "Did not find a match" // 0x09 Failed to find matching finger +#define D_FP_ENROLLMISMATCH "Fingerprint did not match" // 0x0A Failed to combine the character files +#define D_FP_BADLOCATION "Bad location" // 0x0B Addressed PageID is beyond the finger library +#define D_FP_DBRANGEFAIL "DB range error" // 0x0C Error when reading template from library or invalid template +#define D_FP_UPLOADFEATUREFAIL "Upload feature error" // 0x0D Error when uploading template +#define D_FP_PACKETRESPONSEFAIL "Packet response error" // 0x0E Module failed to receive the following data packages +#define D_FP_UPLOADFAIL "Upload error" // 0x0F Error when uploading image +#define D_FP_DELETEFAIL "Delete error" // 0x10 Failed to delete the template +#define D_FP_DBCLEARFAIL "DB Clear error" // 0x11 Failed to clear finger library +#define D_FP_PASSFAIL "Password error" // 0x13 Find whether the fingerprint passed or failed +#define D_FP_INVALIDIMAGE "Image invalid" // 0x15 Failed to generate image because of lac of valid primary image +#define D_FP_FLASHERR "Flash write error" // 0x18 Error when writing flash +#define D_FP_INVALIDREG "Invalid number" // 0x1A Invalid register number +#define D_FP_ADDRCODE "Address code" // 0x20 Address code +#define D_FP_PASSVERIFY "Password verified" // 0x21 Verify the fingerprint passed +#define D_FP_UNKNOWNERROR "Error" // Any other error + #endif // _LANGUAGE_PT_PT_H_ diff --git a/tasmota/language/ro_RO.h b/tasmota/language/ro_RO.h index a280d5667..c17f4d29f 100644 --- a/tasmota/language/ro_RO.h +++ b/tasmota/language/ro_RO.h @@ -863,4 +863,38 @@ #define D_MAX_POWER "Max Power" #define D_MAX_CURRENT "Max Current" +// xsns_79_as608.ino +#define D_FP_ENROLL_PLACEFINGER "Place finger" +#define D_FP_ENROLL_REMOVEFINGER "Remove finger" +#define D_FP_ENROLL_PLACESAMEFINGER "Place same finger again" +#define D_FP_ENROLL_RETRY "Error so retry" +#define D_FP_ENROLL_RESTART "Restart" +#define D_FP_ENROLL_ERROR "Error" +#define D_FP_ENROLL_RESET "Reset" +#define D_FP_ENROLL_ACTIVE "Active" +#define D_FP_ENROLL_INACTIVE "Inactive" +// Indexed by Adafruit_Fingerprint.h defines +#define D_FP_PACKETRECIEVEERR "Comms error" // 0x01 Error when receiving data package +#define D_FP_NOFINGER "" // 0x02 No finger on the sensor +#define D_FP_IMAGEFAIL "Imaging error" // 0x03 Failed to enroll the finger +#define D_FP_IMAGEMESS "Image too messy" // 0x06 Failed to generate character file due to overly disorderly fingerprint image +#define D_FP_FEATUREFAIL "Fingerprint too small" // 0x07 Failed to generate character file due to the lack of character point or small fingerprint image +#define D_FP_NOMATCH "No match" // 0x08 Finger doesn't match +#define D_FP_NOTFOUND "Did not find a match" // 0x09 Failed to find matching finger +#define D_FP_ENROLLMISMATCH "Fingerprint did not match" // 0x0A Failed to combine the character files +#define D_FP_BADLOCATION "Bad location" // 0x0B Addressed PageID is beyond the finger library +#define D_FP_DBRANGEFAIL "DB range error" // 0x0C Error when reading template from library or invalid template +#define D_FP_UPLOADFEATUREFAIL "Upload feature error" // 0x0D Error when uploading template +#define D_FP_PACKETRESPONSEFAIL "Packet response error" // 0x0E Module failed to receive the following data packages +#define D_FP_UPLOADFAIL "Upload error" // 0x0F Error when uploading image +#define D_FP_DELETEFAIL "Delete error" // 0x10 Failed to delete the template +#define D_FP_DBCLEARFAIL "DB Clear error" // 0x11 Failed to clear finger library +#define D_FP_PASSFAIL "Password error" // 0x13 Find whether the fingerprint passed or failed +#define D_FP_INVALIDIMAGE "Image invalid" // 0x15 Failed to generate image because of lac of valid primary image +#define D_FP_FLASHERR "Flash write error" // 0x18 Error when writing flash +#define D_FP_INVALIDREG "Invalid number" // 0x1A Invalid register number +#define D_FP_ADDRCODE "Address code" // 0x20 Address code +#define D_FP_PASSVERIFY "Password verified" // 0x21 Verify the fingerprint passed +#define D_FP_UNKNOWNERROR "Error" // Any other error + #endif // _LANGUAGE_RO_RO_H_ diff --git a/tasmota/language/ru_RU.h b/tasmota/language/ru_RU.h index 6bf05807c..e9b453281 100644 --- a/tasmota/language/ru_RU.h +++ b/tasmota/language/ru_RU.h @@ -863,4 +863,38 @@ #define D_MAX_POWER "Max Power" #define D_MAX_CURRENT "Max Current" +// xsns_79_as608.ino +#define D_FP_ENROLL_PLACEFINGER "Place finger" +#define D_FP_ENROLL_REMOVEFINGER "Remove finger" +#define D_FP_ENROLL_PLACESAMEFINGER "Place same finger again" +#define D_FP_ENROLL_RETRY "Error so retry" +#define D_FP_ENROLL_RESTART "Restart" +#define D_FP_ENROLL_ERROR "Error" +#define D_FP_ENROLL_RESET "Reset" +#define D_FP_ENROLL_ACTIVE "Active" +#define D_FP_ENROLL_INACTIVE "Inactive" +// Indexed by Adafruit_Fingerprint.h defines +#define D_FP_PACKETRECIEVEERR "Comms error" // 0x01 Error when receiving data package +#define D_FP_NOFINGER "" // 0x02 No finger on the sensor +#define D_FP_IMAGEFAIL "Imaging error" // 0x03 Failed to enroll the finger +#define D_FP_IMAGEMESS "Image too messy" // 0x06 Failed to generate character file due to overly disorderly fingerprint image +#define D_FP_FEATUREFAIL "Fingerprint too small" // 0x07 Failed to generate character file due to the lack of character point or small fingerprint image +#define D_FP_NOMATCH "No match" // 0x08 Finger doesn't match +#define D_FP_NOTFOUND "Did not find a match" // 0x09 Failed to find matching finger +#define D_FP_ENROLLMISMATCH "Fingerprint did not match" // 0x0A Failed to combine the character files +#define D_FP_BADLOCATION "Bad location" // 0x0B Addressed PageID is beyond the finger library +#define D_FP_DBRANGEFAIL "DB range error" // 0x0C Error when reading template from library or invalid template +#define D_FP_UPLOADFEATUREFAIL "Upload feature error" // 0x0D Error when uploading template +#define D_FP_PACKETRESPONSEFAIL "Packet response error" // 0x0E Module failed to receive the following data packages +#define D_FP_UPLOADFAIL "Upload error" // 0x0F Error when uploading image +#define D_FP_DELETEFAIL "Delete error" // 0x10 Failed to delete the template +#define D_FP_DBCLEARFAIL "DB Clear error" // 0x11 Failed to clear finger library +#define D_FP_PASSFAIL "Password error" // 0x13 Find whether the fingerprint passed or failed +#define D_FP_INVALIDIMAGE "Image invalid" // 0x15 Failed to generate image because of lac of valid primary image +#define D_FP_FLASHERR "Flash write error" // 0x18 Error when writing flash +#define D_FP_INVALIDREG "Invalid number" // 0x1A Invalid register number +#define D_FP_ADDRCODE "Address code" // 0x20 Address code +#define D_FP_PASSVERIFY "Password verified" // 0x21 Verify the fingerprint passed +#define D_FP_UNKNOWNERROR "Error" // Any other error + #endif // _LANGUAGE_RU_RU_H_ diff --git a/tasmota/language/sk_SK.h b/tasmota/language/sk_SK.h index 54d253129..b14d8b1bf 100644 --- a/tasmota/language/sk_SK.h +++ b/tasmota/language/sk_SK.h @@ -863,4 +863,38 @@ #define D_MAX_POWER "Max Power" #define D_MAX_CURRENT "Max Current" +// xsns_79_as608.ino +#define D_FP_ENROLL_PLACEFINGER "Place finger" +#define D_FP_ENROLL_REMOVEFINGER "Remove finger" +#define D_FP_ENROLL_PLACESAMEFINGER "Place same finger again" +#define D_FP_ENROLL_RETRY "Error so retry" +#define D_FP_ENROLL_RESTART "Restart" +#define D_FP_ENROLL_ERROR "Error" +#define D_FP_ENROLL_RESET "Reset" +#define D_FP_ENROLL_ACTIVE "Active" +#define D_FP_ENROLL_INACTIVE "Inactive" +// Indexed by Adafruit_Fingerprint.h defines +#define D_FP_PACKETRECIEVEERR "Comms error" // 0x01 Error when receiving data package +#define D_FP_NOFINGER "" // 0x02 No finger on the sensor +#define D_FP_IMAGEFAIL "Imaging error" // 0x03 Failed to enroll the finger +#define D_FP_IMAGEMESS "Image too messy" // 0x06 Failed to generate character file due to overly disorderly fingerprint image +#define D_FP_FEATUREFAIL "Fingerprint too small" // 0x07 Failed to generate character file due to the lack of character point or small fingerprint image +#define D_FP_NOMATCH "No match" // 0x08 Finger doesn't match +#define D_FP_NOTFOUND "Did not find a match" // 0x09 Failed to find matching finger +#define D_FP_ENROLLMISMATCH "Fingerprint did not match" // 0x0A Failed to combine the character files +#define D_FP_BADLOCATION "Bad location" // 0x0B Addressed PageID is beyond the finger library +#define D_FP_DBRANGEFAIL "DB range error" // 0x0C Error when reading template from library or invalid template +#define D_FP_UPLOADFEATUREFAIL "Upload feature error" // 0x0D Error when uploading template +#define D_FP_PACKETRESPONSEFAIL "Packet response error" // 0x0E Module failed to receive the following data packages +#define D_FP_UPLOADFAIL "Upload error" // 0x0F Error when uploading image +#define D_FP_DELETEFAIL "Delete error" // 0x10 Failed to delete the template +#define D_FP_DBCLEARFAIL "DB Clear error" // 0x11 Failed to clear finger library +#define D_FP_PASSFAIL "Password error" // 0x13 Find whether the fingerprint passed or failed +#define D_FP_INVALIDIMAGE "Image invalid" // 0x15 Failed to generate image because of lac of valid primary image +#define D_FP_FLASHERR "Flash write error" // 0x18 Error when writing flash +#define D_FP_INVALIDREG "Invalid number" // 0x1A Invalid register number +#define D_FP_ADDRCODE "Address code" // 0x20 Address code +#define D_FP_PASSVERIFY "Password verified" // 0x21 Verify the fingerprint passed +#define D_FP_UNKNOWNERROR "Error" // Any other error + #endif // _LANGUAGE_SK_SK_H_ diff --git a/tasmota/language/sv_SE.h b/tasmota/language/sv_SE.h index 55234b37f..8112bdf4f 100644 --- a/tasmota/language/sv_SE.h +++ b/tasmota/language/sv_SE.h @@ -863,4 +863,38 @@ #define D_MAX_POWER "Max Power" #define D_MAX_CURRENT "Max Current" +// xsns_79_as608.ino +#define D_FP_ENROLL_PLACEFINGER "Place finger" +#define D_FP_ENROLL_REMOVEFINGER "Remove finger" +#define D_FP_ENROLL_PLACESAMEFINGER "Place same finger again" +#define D_FP_ENROLL_RETRY "Error so retry" +#define D_FP_ENROLL_RESTART "Restart" +#define D_FP_ENROLL_ERROR "Error" +#define D_FP_ENROLL_RESET "Reset" +#define D_FP_ENROLL_ACTIVE "Active" +#define D_FP_ENROLL_INACTIVE "Inactive" +// Indexed by Adafruit_Fingerprint.h defines +#define D_FP_PACKETRECIEVEERR "Comms error" // 0x01 Error when receiving data package +#define D_FP_NOFINGER "" // 0x02 No finger on the sensor +#define D_FP_IMAGEFAIL "Imaging error" // 0x03 Failed to enroll the finger +#define D_FP_IMAGEMESS "Image too messy" // 0x06 Failed to generate character file due to overly disorderly fingerprint image +#define D_FP_FEATUREFAIL "Fingerprint too small" // 0x07 Failed to generate character file due to the lack of character point or small fingerprint image +#define D_FP_NOMATCH "No match" // 0x08 Finger doesn't match +#define D_FP_NOTFOUND "Did not find a match" // 0x09 Failed to find matching finger +#define D_FP_ENROLLMISMATCH "Fingerprint did not match" // 0x0A Failed to combine the character files +#define D_FP_BADLOCATION "Bad location" // 0x0B Addressed PageID is beyond the finger library +#define D_FP_DBRANGEFAIL "DB range error" // 0x0C Error when reading template from library or invalid template +#define D_FP_UPLOADFEATUREFAIL "Upload feature error" // 0x0D Error when uploading template +#define D_FP_PACKETRESPONSEFAIL "Packet response error" // 0x0E Module failed to receive the following data packages +#define D_FP_UPLOADFAIL "Upload error" // 0x0F Error when uploading image +#define D_FP_DELETEFAIL "Delete error" // 0x10 Failed to delete the template +#define D_FP_DBCLEARFAIL "DB Clear error" // 0x11 Failed to clear finger library +#define D_FP_PASSFAIL "Password error" // 0x13 Find whether the fingerprint passed or failed +#define D_FP_INVALIDIMAGE "Image invalid" // 0x15 Failed to generate image because of lac of valid primary image +#define D_FP_FLASHERR "Flash write error" // 0x18 Error when writing flash +#define D_FP_INVALIDREG "Invalid number" // 0x1A Invalid register number +#define D_FP_ADDRCODE "Address code" // 0x20 Address code +#define D_FP_PASSVERIFY "Password verified" // 0x21 Verify the fingerprint passed +#define D_FP_UNKNOWNERROR "Error" // Any other error + #endif // _LANGUAGE_SV_SE_H_ diff --git a/tasmota/language/tr_TR.h b/tasmota/language/tr_TR.h index e4908e1c4..290d468e4 100644 --- a/tasmota/language/tr_TR.h +++ b/tasmota/language/tr_TR.h @@ -863,4 +863,38 @@ #define D_MAX_POWER "Max Power" #define D_MAX_CURRENT "Max Current" +// xsns_79_as608.ino +#define D_FP_ENROLL_PLACEFINGER "Place finger" +#define D_FP_ENROLL_REMOVEFINGER "Remove finger" +#define D_FP_ENROLL_PLACESAMEFINGER "Place same finger again" +#define D_FP_ENROLL_RETRY "Error so retry" +#define D_FP_ENROLL_RESTART "Restart" +#define D_FP_ENROLL_ERROR "Error" +#define D_FP_ENROLL_RESET "Reset" +#define D_FP_ENROLL_ACTIVE "Active" +#define D_FP_ENROLL_INACTIVE "Inactive" +// Indexed by Adafruit_Fingerprint.h defines +#define D_FP_PACKETRECIEVEERR "Comms error" // 0x01 Error when receiving data package +#define D_FP_NOFINGER "" // 0x02 No finger on the sensor +#define D_FP_IMAGEFAIL "Imaging error" // 0x03 Failed to enroll the finger +#define D_FP_IMAGEMESS "Image too messy" // 0x06 Failed to generate character file due to overly disorderly fingerprint image +#define D_FP_FEATUREFAIL "Fingerprint too small" // 0x07 Failed to generate character file due to the lack of character point or small fingerprint image +#define D_FP_NOMATCH "No match" // 0x08 Finger doesn't match +#define D_FP_NOTFOUND "Did not find a match" // 0x09 Failed to find matching finger +#define D_FP_ENROLLMISMATCH "Fingerprint did not match" // 0x0A Failed to combine the character files +#define D_FP_BADLOCATION "Bad location" // 0x0B Addressed PageID is beyond the finger library +#define D_FP_DBRANGEFAIL "DB range error" // 0x0C Error when reading template from library or invalid template +#define D_FP_UPLOADFEATUREFAIL "Upload feature error" // 0x0D Error when uploading template +#define D_FP_PACKETRESPONSEFAIL "Packet response error" // 0x0E Module failed to receive the following data packages +#define D_FP_UPLOADFAIL "Upload error" // 0x0F Error when uploading image +#define D_FP_DELETEFAIL "Delete error" // 0x10 Failed to delete the template +#define D_FP_DBCLEARFAIL "DB Clear error" // 0x11 Failed to clear finger library +#define D_FP_PASSFAIL "Password error" // 0x13 Find whether the fingerprint passed or failed +#define D_FP_INVALIDIMAGE "Image invalid" // 0x15 Failed to generate image because of lac of valid primary image +#define D_FP_FLASHERR "Flash write error" // 0x18 Error when writing flash +#define D_FP_INVALIDREG "Invalid number" // 0x1A Invalid register number +#define D_FP_ADDRCODE "Address code" // 0x20 Address code +#define D_FP_PASSVERIFY "Password verified" // 0x21 Verify the fingerprint passed +#define D_FP_UNKNOWNERROR "Error" // Any other error + #endif // _LANGUAGE_TR_TR_H_ diff --git a/tasmota/language/uk_UA.h b/tasmota/language/uk_UA.h index e17c41272..d0941916f 100644 --- a/tasmota/language/uk_UA.h +++ b/tasmota/language/uk_UA.h @@ -863,4 +863,38 @@ #define D_MAX_POWER "Max Power" #define D_MAX_CURRENT "Max Current" +// xsns_79_as608.ino +#define D_FP_ENROLL_PLACEFINGER "Place finger" +#define D_FP_ENROLL_REMOVEFINGER "Remove finger" +#define D_FP_ENROLL_PLACESAMEFINGER "Place same finger again" +#define D_FP_ENROLL_RETRY "Error so retry" +#define D_FP_ENROLL_RESTART "Restart" +#define D_FP_ENROLL_ERROR "Error" +#define D_FP_ENROLL_RESET "Reset" +#define D_FP_ENROLL_ACTIVE "Active" +#define D_FP_ENROLL_INACTIVE "Inactive" +// Indexed by Adafruit_Fingerprint.h defines +#define D_FP_PACKETRECIEVEERR "Comms error" // 0x01 Error when receiving data package +#define D_FP_NOFINGER "" // 0x02 No finger on the sensor +#define D_FP_IMAGEFAIL "Imaging error" // 0x03 Failed to enroll the finger +#define D_FP_IMAGEMESS "Image too messy" // 0x06 Failed to generate character file due to overly disorderly fingerprint image +#define D_FP_FEATUREFAIL "Fingerprint too small" // 0x07 Failed to generate character file due to the lack of character point or small fingerprint image +#define D_FP_NOMATCH "No match" // 0x08 Finger doesn't match +#define D_FP_NOTFOUND "Did not find a match" // 0x09 Failed to find matching finger +#define D_FP_ENROLLMISMATCH "Fingerprint did not match" // 0x0A Failed to combine the character files +#define D_FP_BADLOCATION "Bad location" // 0x0B Addressed PageID is beyond the finger library +#define D_FP_DBRANGEFAIL "DB range error" // 0x0C Error when reading template from library or invalid template +#define D_FP_UPLOADFEATUREFAIL "Upload feature error" // 0x0D Error when uploading template +#define D_FP_PACKETRESPONSEFAIL "Packet response error" // 0x0E Module failed to receive the following data packages +#define D_FP_UPLOADFAIL "Upload error" // 0x0F Error when uploading image +#define D_FP_DELETEFAIL "Delete error" // 0x10 Failed to delete the template +#define D_FP_DBCLEARFAIL "DB Clear error" // 0x11 Failed to clear finger library +#define D_FP_PASSFAIL "Password error" // 0x13 Find whether the fingerprint passed or failed +#define D_FP_INVALIDIMAGE "Image invalid" // 0x15 Failed to generate image because of lac of valid primary image +#define D_FP_FLASHERR "Flash write error" // 0x18 Error when writing flash +#define D_FP_INVALIDREG "Invalid number" // 0x1A Invalid register number +#define D_FP_ADDRCODE "Address code" // 0x20 Address code +#define D_FP_PASSVERIFY "Password verified" // 0x21 Verify the fingerprint passed +#define D_FP_UNKNOWNERROR "Error" // Any other error + #endif // _LANGUAGE_UK_UA_H_ diff --git a/tasmota/language/vi_VN.h b/tasmota/language/vi_VN.h index 07a2e6645..7bd64ffb4 100644 --- a/tasmota/language/vi_VN.h +++ b/tasmota/language/vi_VN.h @@ -863,4 +863,38 @@ #define D_MAX_POWER "Nguồn cực đại" #define D_MAX_CURRENT "Dòng cực đại" +// xsns_79_as608.ino +#define D_FP_ENROLL_PLACEFINGER "Place finger" +#define D_FP_ENROLL_REMOVEFINGER "Remove finger" +#define D_FP_ENROLL_PLACESAMEFINGER "Place same finger again" +#define D_FP_ENROLL_RETRY "Error so retry" +#define D_FP_ENROLL_RESTART "Restart" +#define D_FP_ENROLL_ERROR "Error" +#define D_FP_ENROLL_RESET "Reset" +#define D_FP_ENROLL_ACTIVE "Active" +#define D_FP_ENROLL_INACTIVE "Inactive" +// Indexed by Adafruit_Fingerprint.h defines +#define D_FP_PACKETRECIEVEERR "Comms error" // 0x01 Error when receiving data package +#define D_FP_NOFINGER "" // 0x02 No finger on the sensor +#define D_FP_IMAGEFAIL "Imaging error" // 0x03 Failed to enroll the finger +#define D_FP_IMAGEMESS "Image too messy" // 0x06 Failed to generate character file due to overly disorderly fingerprint image +#define D_FP_FEATUREFAIL "Fingerprint too small" // 0x07 Failed to generate character file due to the lack of character point or small fingerprint image +#define D_FP_NOMATCH "No match" // 0x08 Finger doesn't match +#define D_FP_NOTFOUND "Did not find a match" // 0x09 Failed to find matching finger +#define D_FP_ENROLLMISMATCH "Fingerprint did not match" // 0x0A Failed to combine the character files +#define D_FP_BADLOCATION "Bad location" // 0x0B Addressed PageID is beyond the finger library +#define D_FP_DBRANGEFAIL "DB range error" // 0x0C Error when reading template from library or invalid template +#define D_FP_UPLOADFEATUREFAIL "Upload feature error" // 0x0D Error when uploading template +#define D_FP_PACKETRESPONSEFAIL "Packet response error" // 0x0E Module failed to receive the following data packages +#define D_FP_UPLOADFAIL "Upload error" // 0x0F Error when uploading image +#define D_FP_DELETEFAIL "Delete error" // 0x10 Failed to delete the template +#define D_FP_DBCLEARFAIL "DB Clear error" // 0x11 Failed to clear finger library +#define D_FP_PASSFAIL "Password error" // 0x13 Find whether the fingerprint passed or failed +#define D_FP_INVALIDIMAGE "Image invalid" // 0x15 Failed to generate image because of lac of valid primary image +#define D_FP_FLASHERR "Flash write error" // 0x18 Error when writing flash +#define D_FP_INVALIDREG "Invalid number" // 0x1A Invalid register number +#define D_FP_ADDRCODE "Address code" // 0x20 Address code +#define D_FP_PASSVERIFY "Password verified" // 0x21 Verify the fingerprint passed +#define D_FP_UNKNOWNERROR "Error" // Any other error + #endif // _LANGUAGE_VI_VN_H_ diff --git a/tasmota/language/zh_CN.h b/tasmota/language/zh_CN.h index bf310f1ab..85fbb2af5 100644 --- a/tasmota/language/zh_CN.h +++ b/tasmota/language/zh_CN.h @@ -863,4 +863,38 @@ #define D_MAX_POWER "Max Power" #define D_MAX_CURRENT "Max Current" +// xsns_79_as608.ino +#define D_FP_ENROLL_PLACEFINGER "Place finger" +#define D_FP_ENROLL_REMOVEFINGER "Remove finger" +#define D_FP_ENROLL_PLACESAMEFINGER "Place same finger again" +#define D_FP_ENROLL_RETRY "Error so retry" +#define D_FP_ENROLL_RESTART "Restart" +#define D_FP_ENROLL_ERROR "Error" +#define D_FP_ENROLL_RESET "Reset" +#define D_FP_ENROLL_ACTIVE "Active" +#define D_FP_ENROLL_INACTIVE "Inactive" +// Indexed by Adafruit_Fingerprint.h defines +#define D_FP_PACKETRECIEVEERR "Comms error" // 0x01 Error when receiving data package +#define D_FP_NOFINGER "" // 0x02 No finger on the sensor +#define D_FP_IMAGEFAIL "Imaging error" // 0x03 Failed to enroll the finger +#define D_FP_IMAGEMESS "Image too messy" // 0x06 Failed to generate character file due to overly disorderly fingerprint image +#define D_FP_FEATUREFAIL "Fingerprint too small" // 0x07 Failed to generate character file due to the lack of character point or small fingerprint image +#define D_FP_NOMATCH "No match" // 0x08 Finger doesn't match +#define D_FP_NOTFOUND "Did not find a match" // 0x09 Failed to find matching finger +#define D_FP_ENROLLMISMATCH "Fingerprint did not match" // 0x0A Failed to combine the character files +#define D_FP_BADLOCATION "Bad location" // 0x0B Addressed PageID is beyond the finger library +#define D_FP_DBRANGEFAIL "DB range error" // 0x0C Error when reading template from library or invalid template +#define D_FP_UPLOADFEATUREFAIL "Upload feature error" // 0x0D Error when uploading template +#define D_FP_PACKETRESPONSEFAIL "Packet response error" // 0x0E Module failed to receive the following data packages +#define D_FP_UPLOADFAIL "Upload error" // 0x0F Error when uploading image +#define D_FP_DELETEFAIL "Delete error" // 0x10 Failed to delete the template +#define D_FP_DBCLEARFAIL "DB Clear error" // 0x11 Failed to clear finger library +#define D_FP_PASSFAIL "Password error" // 0x13 Find whether the fingerprint passed or failed +#define D_FP_INVALIDIMAGE "Image invalid" // 0x15 Failed to generate image because of lac of valid primary image +#define D_FP_FLASHERR "Flash write error" // 0x18 Error when writing flash +#define D_FP_INVALIDREG "Invalid number" // 0x1A Invalid register number +#define D_FP_ADDRCODE "Address code" // 0x20 Address code +#define D_FP_PASSVERIFY "Password verified" // 0x21 Verify the fingerprint passed +#define D_FP_UNKNOWNERROR "Error" // Any other error + #endif // _LANGUAGE_ZH_CN_H_ diff --git a/tasmota/language/zh_TW.h b/tasmota/language/zh_TW.h index c041faa97..ed0467608 100644 --- a/tasmota/language/zh_TW.h +++ b/tasmota/language/zh_TW.h @@ -863,4 +863,38 @@ #define D_MAX_POWER "Max Power" #define D_MAX_CURRENT "Max Current" +// xsns_79_as608.ino +#define D_FP_ENROLL_PLACEFINGER "Place finger" +#define D_FP_ENROLL_REMOVEFINGER "Remove finger" +#define D_FP_ENROLL_PLACESAMEFINGER "Place same finger again" +#define D_FP_ENROLL_RETRY "Error so retry" +#define D_FP_ENROLL_RESTART "Restart" +#define D_FP_ENROLL_ERROR "Error" +#define D_FP_ENROLL_RESET "Reset" +#define D_FP_ENROLL_ACTIVE "Active" +#define D_FP_ENROLL_INACTIVE "Inactive" +// Indexed by Adafruit_Fingerprint.h defines +#define D_FP_PACKETRECIEVEERR "Comms error" // 0x01 Error when receiving data package +#define D_FP_NOFINGER "" // 0x02 No finger on the sensor +#define D_FP_IMAGEFAIL "Imaging error" // 0x03 Failed to enroll the finger +#define D_FP_IMAGEMESS "Image too messy" // 0x06 Failed to generate character file due to overly disorderly fingerprint image +#define D_FP_FEATUREFAIL "Fingerprint too small" // 0x07 Failed to generate character file due to the lack of character point or small fingerprint image +#define D_FP_NOMATCH "No match" // 0x08 Finger doesn't match +#define D_FP_NOTFOUND "Did not find a match" // 0x09 Failed to find matching finger +#define D_FP_ENROLLMISMATCH "Fingerprint did not match" // 0x0A Failed to combine the character files +#define D_FP_BADLOCATION "Bad location" // 0x0B Addressed PageID is beyond the finger library +#define D_FP_DBRANGEFAIL "DB range error" // 0x0C Error when reading template from library or invalid template +#define D_FP_UPLOADFEATUREFAIL "Upload feature error" // 0x0D Error when uploading template +#define D_FP_PACKETRESPONSEFAIL "Packet response error" // 0x0E Module failed to receive the following data packages +#define D_FP_UPLOADFAIL "Upload error" // 0x0F Error when uploading image +#define D_FP_DELETEFAIL "Delete error" // 0x10 Failed to delete the template +#define D_FP_DBCLEARFAIL "DB Clear error" // 0x11 Failed to clear finger library +#define D_FP_PASSFAIL "Password error" // 0x13 Find whether the fingerprint passed or failed +#define D_FP_INVALIDIMAGE "Image invalid" // 0x15 Failed to generate image because of lac of valid primary image +#define D_FP_FLASHERR "Flash write error" // 0x18 Error when writing flash +#define D_FP_INVALIDREG "Invalid number" // 0x1A Invalid register number +#define D_FP_ADDRCODE "Address code" // 0x20 Address code +#define D_FP_PASSVERIFY "Password verified" // 0x21 Verify the fingerprint passed +#define D_FP_UNKNOWNERROR "Error" // Any other error + #endif // _LANGUAGE_ZH_TW_H_ diff --git a/tasmota/my_user_config.h b/tasmota/my_user_config.h index 742d24f6c..2e4798142 100644 --- a/tasmota/my_user_config.h +++ b/tasmota/my_user_config.h @@ -655,6 +655,7 @@ #define USE_TASMOTA_CLIENT_SERIAL_SPEED 57600 // Depends on the sketch that is running on the Uno/Pro Mini //#define USE_OPENTHERM // Add support for OpenTherm (+15k code) //#define USE_MIEL_HVAC // Add support for Mitsubishi Electric HVAC serial interface (+5k code) +//#define USE_AS608 // Add support for AS608 optical and R503 capacitive fingerprint sensor (+3k4 code) // -- Power monitoring sensors -------------------- #define USE_ENERGY_MARGIN_DETECTION // Add support for Energy Margin detection (+1k6 code) @@ -729,7 +730,7 @@ #define USE_ZIGBEE_COALESCE_ATTR_TIMER 350 // timer to coalesce attribute values (in ms) #define USE_ZIGBEE_MODELID "Tasmota Z2T" // reported "ModelId" (cluster 0000 / attribute 0005) #define USE_ZIGBEE_MANUFACTURER "Tasmota" // reported "Manufacturer" (cluster 0000 / attribute 0004) - #define USE_ZBBRIDGE_TLS // TLS support for zbbridge + #define USE_ZBBRIDGE_TLS // TLS support for zbbridge #define USE_ZIGBEE_ZBBRIDGE_EEPROM 0x50 // I2C id for the ZBBridge EEPROM // -- Other sensors/drivers ----------------------- diff --git a/tasmota/tasmota_configurations.h b/tasmota/tasmota_configurations.h index 24e3f9ace..756fdbc83 100644 --- a/tasmota/tasmota_configurations.h +++ b/tasmota/tasmota_configurations.h @@ -169,6 +169,7 @@ //#define USE_TASMOTA_CLIENT // Add support for Arduino Uno/Pro Mini via serial interface including flashing (+2k3 code, 44 mem) //#define USE_OPENTHERM // Add support for OpenTherm (+15k code) //#define USE_MIEL_HVAC // Add support for Mitsubishi Electric HVAC serial interface (+5k code) +//#define USE_AS608 // Add support for AS608 optical and R503 capacitive fingerprint sensor (+3k4 code) #define USE_ENERGY_SENSOR // Add energy sensors (-14k code) #define USE_PZEM004T // Add support for PZEM004T Energy monitor (+2k code) @@ -449,7 +450,7 @@ #undef USE_HOME_ASSISTANT // Disable Home Assistant // -- MQTT - TLS - AWS IoT ------------------------ -#ifdef USE_ZBBRIDGE_TLS // Enable TLS for ZbBridge +#ifdef USE_ZBBRIDGE_TLS // Enable TLS for ZbBridge #define USE_MQTT_TLS // Use TLS for MQTT connection (+34.5k code, +7.0k mem and +4.8k additional during connection handshake) #define USE_MQTT_TLS_CA_CERT // Force full CA validation instead of fingerprints, slower, but simpler to use. (+2.2k code, +1.9k mem during connection handshake) // This includes the LetsEncrypt CA in tasmota_ca.ino for verifying server certificates @@ -799,6 +800,7 @@ #undef USE_TASMOTA_CLIENT // Disable support for Arduino Uno/Pro Mini via serial interface including flashing (+2k3 code, 44 mem) #undef USE_OPENTHERM // Disable support for OpenTherm (+15k code) #undef USE_MIEL_HVAC // Disable support for Mitsubishi Electric HVAC serial interface (+5k code) +#undef USE_AS608 // Disable support for AS608 optical and R503 capacitive fingerprint sensor (+3k4 code) #undef USE_ENERGY_SENSOR // Disable energy sensors #undef USE_PZEM004T // Disable PZEM004T energy sensor diff --git a/tasmota/xsns_79_as608.ino b/tasmota/xsns_79_as608.ino index 6c7614de6..be942e881 100644 --- a/tasmota/xsns_79_as608.ino +++ b/tasmota/xsns_79_as608.ino @@ -21,8 +21,7 @@ /*********************************************************************************************\ * AS608 optical and R503 capacitive Fingerprint sensor * - * Currently supports: - * - English only as there are no tanslations supported + * Uses Adafruit-Fingerprint-sensor-library with TasmotaSerial \*********************************************************************************************/ #define XSNS_79 79 @@ -39,9 +38,10 @@ const char kAs608Commands[] PROGMEM = D_PRFX_FP "|" D_CMND_FP_ENROLL "|" D_CMND_ void (*const As608Commands[])(void) PROGMEM = { &CmndFpEnroll, &CmndFpDelete, &CmndFpCount }; const char kAs608Messages[] PROGMEM = - "Done|Comms error||Imaging error|Unknown error|Image too messy|Could not find fingerprint features|No match|Did not find a match|Fingerprint did not match|" - "Bad location|DB range error|Upload feature error|Packet response error|Upload error|Delete error|DB Clear error|Password error|Image invalid|" - "Error writing to flash|Invalid reg|Address code|Password verify"; + D_DONE "|" D_FP_PACKETRECIEVEERR "|" D_FP_NOFINGER "|" D_FP_IMAGEFAIL "|" D_FP_UNKNOWNERROR "|" D_FP_IMAGEMESS "|" D_FP_FEATUREFAIL "|" D_FP_NOMATCH "|" + D_FP_NOTFOUND "|" D_FP_ENROLLMISMATCH "|" D_FP_BADLOCATION "|" D_FP_DBRANGEFAIL "|" D_FP_UPLOADFEATUREFAIL "|" D_FP_PACKETRESPONSEFAIL "|" + D_FP_UPLOADFAIL "|" D_FP_DELETEFAIL "|" D_FP_DBCLEARFAIL "|" D_FP_PASSFAIL "|" D_FP_INVALIDIMAGE "|" D_FP_FLASHERR "|" D_FP_INVALIDREG "|" + D_FP_ADDRCODE "|" D_FP_PASSVERIFY; const uint8_t As608Reference[] PROGMEM = { 0, 1, 2, 3, 4, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 4, 17, 4, 18, 4, 4, 19, 4, 20, 4, 4, 4, 4, 4, 21, 22 }; @@ -137,14 +137,14 @@ void As608Loop(void) { } // Found a match - Response_P(PSTR("{\"" D_JSON_FPRINT "\":{\"Id\":%d,\"Confidence\":%d}}"), As608Finger->fingerID, As608Finger->confidence); + Response_P(PSTR("{\"" D_JSON_FPRINT "\":{\"" D_JSON_ID "\":%d,\"" D_JSON_CONFIDENCE "\":%d}}"), As608Finger->fingerID, As608Finger->confidence); MqttPublishPrefixTopicRulesProcess_P(RESULT_OR_STAT, PSTR(D_JSON_FPRINT)); return; } else { // enroll is active switch (As608.enroll_step) { case 1: - As608PublishMessage(PSTR("Place finger")); + As608PublishMessage(PSTR(D_FP_ENROLL_PLACEFINGER)); // As608Finger->LEDcontrol(FINGERPRINT_LED_ON, 0, FINGERPRINT_LED_BLUE); As608.enroll_step++; break; @@ -163,7 +163,7 @@ void As608Loop(void) { } break; case 4: - As608PublishMessage(PSTR("Remove finger")); + As608PublishMessage(PSTR(D_FP_ENROLL_REMOVEFINGER)); As608.enroll_step++; break; case 5: @@ -174,7 +174,7 @@ void As608Loop(void) { } break; case 6: - As608PublishMessage(PSTR("Place same finger again")); + As608PublishMessage(PSTR(D_FP_ENROLL_PLACESAMEFINGER)); // As608Finger->LEDcontrol(FINGERPRINT_LED_OFF, 0, FINGERPRINT_LED_PURPLE); As608.enroll_step++; break; @@ -187,7 +187,7 @@ void As608Loop(void) { case 8: // convert second image if (As608ConvertFingerImage(2) != FINGERPRINT_OK) { - As608PublishMessage(PSTR("Not Ok so try again")); + As608PublishMessage(PSTR(D_FP_ENROLL_RETRY)); As608.enroll_step -= 2; break; } @@ -211,11 +211,11 @@ void As608Loop(void) { } break; case 99: - As608PublishMessage(PSTR("Restart")); + As608PublishMessage(PSTR(D_FP_ENROLL_RESTART)); As608.enroll_step = 1; break; default: - As608PublishMessage(PSTR("Error")); + As608PublishMessage(PSTR(D_FP_ENROLL_ERROR)); As608.enroll_step = 0; As608.model_number = 0; break; @@ -232,10 +232,10 @@ void CmndFpEnroll(void) { if (0 == XdrvMailbox.payload) { // FpEnroll 0 - Stop enrollement As608.enroll_step = 0; - ResponseCmndChar_P(PSTR("Reset")); + ResponseCmndChar_P(PSTR(D_FP_ENROLL_RESET)); } else { // FpEnroll - Enrollement state - ResponseCmndChar_P(PSTR("Active")); + ResponseCmndChar_P(PSTR(D_FP_ENROLL_ACTIVE)); } } else { if ((XdrvMailbox.payload > 0) && (XdrvMailbox.payload <= 128)) { @@ -245,7 +245,7 @@ void CmndFpEnroll(void) { ResponseClear(); // Will use loop start message } else { // FpEnroll - Enrollement state - ResponseCmndChar_P(PSTR("Inactive")); + ResponseCmndChar_P(PSTR(D_FP_ENROLL_INACTIVE)); } } } @@ -256,7 +256,7 @@ void CmndFpDelete(void) { As608Finger->emptyDatabase(); As608Finger->getTemplateCount(); if (As608Finger->templateCount) { - ResponseCmndChar_P(PSTR("Error")); + ResponseCmndChar_P(PSTR(D_FP_DBCLEARFAIL)); } else { ResponseCmndDone(); }