diff --git a/tasmota/include/tasmota_template.h b/tasmota/include/tasmota_template.h index 3788d9a8b..d4c324cfb 100644 --- a/tasmota/include/tasmota_template.h +++ b/tasmota/include/tasmota_template.h @@ -227,6 +227,7 @@ enum UserSelectablePins { GPIO_DALI_RX_INV, GPIO_DALI_TX_INV, // DALI GPIO_LD2410S_TX, GPIO_LD2410S_RX, // HLK-LD2410S GPIO_I2C_SER_TX, GPIO_I2C_SER_RX, // I2C via Serial using SC18IM704 protocol (xdrv74) + GPIO_TM1640CLK, GPIO_TM1640DIN, // TM1640 (16 x seven-segment LED controler) GPIO_SENSOR_END }; // Error as warning to rethink GPIO usage with max 2045 @@ -501,6 +502,7 @@ const char kSensorNames[] PROGMEM = D_SENSOR_DALI_RX "_i|" D_SENSOR_DALI_TX "_i|" D_SENSOR_LD2410S_TX "|" D_SENSOR_LD2410S_RX "|" D_SENSOR_I2C_SER_TX "|" D_SENSOR_I2C_SER_RX "|" + D_SENSOR_TM1640_CLK "|" D_SENSOR_TM1640_DIN "|" ; const char kSensorNamesFixed[] PROGMEM = @@ -732,6 +734,10 @@ const uint16_t kGpioNiceList[] PROGMEM = { AGPIO(GPIO_TM1638DIO), AGPIO(GPIO_TM1638STB), #endif // USE_DISPLAY_TM1637 +#ifdef USE_DISPLAY_TM1640 + AGPIO(GPIO_TM1640CLK), + AGPIO(GPIO_TM1640DIN), +#endif // USE_DISPLAY_TM1640 AGPIO(GPIO_BACKLIGHT), // Display backlight control AGPIO(GPIO_OLED_RESET), // OLED Display Reset #ifdef ESP32 diff --git a/tasmota/language/af_AF.h b/tasmota/language/af_AF.h index e863df45c..0042913a8 100644 --- a/tasmota/language/af_AF.h +++ b/tasmota/language/af_AF.h @@ -788,6 +788,8 @@ #define D_SENSOR_TM1638_CLK "TM1638 CLK" #define D_SENSOR_TM1638_DIO "TM1638 DIO" #define D_SENSOR_TM1638_STB "TM1638 STB" +#define D_SENSOR_TM1640_CLK "TM1640 CLK" +#define D_SENSOR_TM1640_DIN "TM1640 DIN" #define D_SENSOR_MAX7219_DIN "MAX7219 DIN" #define D_SENSOR_MAX7219_CS "MAX7219 CS" #define D_SENSOR_MAX7219_CLK "MAX7219 CLK" diff --git a/tasmota/language/bg_BG.h b/tasmota/language/bg_BG.h index 50560e359..e4adb6dbb 100644 --- a/tasmota/language/bg_BG.h +++ b/tasmota/language/bg_BG.h @@ -788,6 +788,8 @@ #define D_SENSOR_TM1638_CLK "TM1638 CLK" #define D_SENSOR_TM1638_DIO "TM1638 DIO" #define D_SENSOR_TM1638_STB "TM1638 STB" +#define D_SENSOR_TM1640_CLK "TM1640 CLK" +#define D_SENSOR_TM1640_DIN "TM1640 DIN" #define D_SENSOR_MAX7219_DIN "MAX7219 DIN" #define D_SENSOR_MAX7219_CS "MAX7219 CS" #define D_SENSOR_MAX7219_CLK "MAX7219 CLK" diff --git a/tasmota/language/ca_AD.h b/tasmota/language/ca_AD.h index 93ce54f52..5c4638ddc 100644 --- a/tasmota/language/ca_AD.h +++ b/tasmota/language/ca_AD.h @@ -788,6 +788,8 @@ #define D_SENSOR_TM1638_CLK "TM1638 CLK" #define D_SENSOR_TM1638_DIO "TM1638 DIO" #define D_SENSOR_TM1638_STB "TM1638 STB" +#define D_SENSOR_TM1640_CLK "TM1640 CLK" +#define D_SENSOR_TM1640_DIN "TM1640 DIN" #define D_SENSOR_MAX7219_DIN "MAX7219 DIN" #define D_SENSOR_MAX7219_CS "MAX7219 CS" #define D_SENSOR_MAX7219_CLK "MAX7219 CLK" diff --git a/tasmota/language/cs_CZ.h b/tasmota/language/cs_CZ.h index cf3b917f0..f09bb97d3 100644 --- a/tasmota/language/cs_CZ.h +++ b/tasmota/language/cs_CZ.h @@ -788,6 +788,8 @@ #define D_SENSOR_TM1638_CLK "TM1638 CLK" #define D_SENSOR_TM1638_DIO "TM1638 DIO" #define D_SENSOR_TM1638_STB "TM1638 STB" +#define D_SENSOR_TM1640_CLK "TM1640 CLK" +#define D_SENSOR_TM1640_DIN "TM1640 DIN" #define D_SENSOR_MAX7219_DIN "MAX7219 DIN" #define D_SENSOR_MAX7219_CS "MAX7219 CS" #define D_SENSOR_MAX7219_CLK "MAX7219 CLK" diff --git a/tasmota/language/de_DE.h b/tasmota/language/de_DE.h index a25a7030b..04096ee3c 100644 --- a/tasmota/language/de_DE.h +++ b/tasmota/language/de_DE.h @@ -788,6 +788,8 @@ #define D_SENSOR_TM1638_CLK "TM1638 CLK" #define D_SENSOR_TM1638_DIO "TM1638 DIO" #define D_SENSOR_TM1638_STB "TM1638 STB" +#define D_SENSOR_TM1640_CLK "TM1640 CLK" +#define D_SENSOR_TM1640_DIN "TM1640 DIN" #define D_SENSOR_MAX7219_DIN "MAX7219 DIN" #define D_SENSOR_MAX7219_CS "MAX7219 CS" #define D_SENSOR_MAX7219_CLK "MAX7219 CLK" diff --git a/tasmota/language/el_GR.h b/tasmota/language/el_GR.h index 3194feeec..cfe3e1a39 100644 --- a/tasmota/language/el_GR.h +++ b/tasmota/language/el_GR.h @@ -788,6 +788,8 @@ #define D_SENSOR_TM1638_CLK "TM1638 CLK" #define D_SENSOR_TM1638_DIO "TM1638 DIO" #define D_SENSOR_TM1638_STB "TM1638 STB" +#define D_SENSOR_TM1640_CLK "TM1640 CLK" +#define D_SENSOR_TM1640_DIN "TM1640 DIN" #define D_SENSOR_MAX7219_DIN "MAX7219 DIN" #define D_SENSOR_MAX7219_CS "MAX7219 CS" #define D_SENSOR_MAX7219_CLK "MAX7219 CLK" diff --git a/tasmota/language/en_GB.h b/tasmota/language/en_GB.h index 9133db349..f379bd8e4 100644 --- a/tasmota/language/en_GB.h +++ b/tasmota/language/en_GB.h @@ -788,6 +788,8 @@ #define D_SENSOR_TM1638_CLK "TM1638 CLK" #define D_SENSOR_TM1638_DIO "TM1638 DIO" #define D_SENSOR_TM1638_STB "TM1638 STB" +#define D_SENSOR_TM1640_CLK "TM1640 CLK" +#define D_SENSOR_TM1640_DIN "TM1640 DIN" #define D_SENSOR_MAX7219_DIN "MAX7219 DIN" #define D_SENSOR_MAX7219_CS "MAX7219 CS" #define D_SENSOR_MAX7219_CLK "MAX7219 CLK" diff --git a/tasmota/language/es_ES.h b/tasmota/language/es_ES.h index bcba22c7e..ff49b3058 100644 --- a/tasmota/language/es_ES.h +++ b/tasmota/language/es_ES.h @@ -788,6 +788,8 @@ #define D_SENSOR_TM1638_CLK "TM1638 CLK" #define D_SENSOR_TM1638_DIO "TM1638 DIO" #define D_SENSOR_TM1638_STB "TM1638 STB" +#define D_SENSOR_TM1640_CLK "TM1640 CLK" +#define D_SENSOR_TM1640_DIN "TM1640 DIN" #define D_SENSOR_MAX7219_DIN "MAX7219 DIN" #define D_SENSOR_MAX7219_CS "MAX7219 CS" #define D_SENSOR_MAX7219_CLK "MAX7219 CLK" diff --git a/tasmota/language/fr_FR.h b/tasmota/language/fr_FR.h index 1a9f67add..1b07f5e8b 100644 --- a/tasmota/language/fr_FR.h +++ b/tasmota/language/fr_FR.h @@ -788,6 +788,8 @@ #define D_SENSOR_TM1638_CLK "TM1638 Clk" #define D_SENSOR_TM1638_DIO "TM1638 DIO" #define D_SENSOR_TM1638_STB "TM1638 Stb" +#define D_SENSOR_TM1640_CLK "TM1640 CLK" +#define D_SENSOR_TM1640_DIN "TM1640 DIN" #define D_SENSOR_MAX7219_DIN "MAX7219 Din" #define D_SENSOR_MAX7219_CS "MAX7219 CS" #define D_SENSOR_MAX7219_CLK "MAX7219 Clk" diff --git a/tasmota/language/fy_NL.h b/tasmota/language/fy_NL.h index ced0b6087..189e2297a 100644 --- a/tasmota/language/fy_NL.h +++ b/tasmota/language/fy_NL.h @@ -788,6 +788,8 @@ #define D_SENSOR_TM1638_CLK "TM1638 CLK" #define D_SENSOR_TM1638_DIO "TM1638 DIO" #define D_SENSOR_TM1638_STB "TM1638 STB" +#define D_SENSOR_TM1640_CLK "TM1640 CLK" +#define D_SENSOR_TM1640_DIN "TM1640 DIN" #define D_SENSOR_MAX7219_DIN "MAX7219 DIN" #define D_SENSOR_MAX7219_CS "MAX7219 CS" #define D_SENSOR_MAX7219_CLK "MAX7219 CLK" diff --git a/tasmota/language/he_HE.h b/tasmota/language/he_HE.h index ed49d923a..6a04467ac 100644 --- a/tasmota/language/he_HE.h +++ b/tasmota/language/he_HE.h @@ -788,6 +788,8 @@ #define D_SENSOR_TM1638_CLK "TM1638 CLK" #define D_SENSOR_TM1638_DIO "TM1638 DIO" #define D_SENSOR_TM1638_STB "TM1638 STB" +#define D_SENSOR_TM1640_CLK "TM1640 CLK" +#define D_SENSOR_TM1640_DIN "TM1640 DIN" #define D_SENSOR_MAX7219_DIN "MAX7219 DIN" #define D_SENSOR_MAX7219_CS "MAX7219 CS" #define D_SENSOR_MAX7219_CLK "MAX7219 CLK" diff --git a/tasmota/language/hu_HU.h b/tasmota/language/hu_HU.h index 50bc0c9c7..9f07ff5cc 100644 --- a/tasmota/language/hu_HU.h +++ b/tasmota/language/hu_HU.h @@ -788,6 +788,8 @@ #define D_SENSOR_TM1638_CLK "TM1638 CLK" #define D_SENSOR_TM1638_DIO "TM1638 DIO" #define D_SENSOR_TM1638_STB "TM1638 STB" +#define D_SENSOR_TM1640_CLK "TM1640 CLK" +#define D_SENSOR_TM1640_DIN "TM1640 DIN" #define D_SENSOR_MAX7219_DIN "MAX7219 DIN" #define D_SENSOR_MAX7219_CS "MAX7219 CS" #define D_SENSOR_MAX7219_CLK "MAX7219 CLK" diff --git a/tasmota/language/it_IT.h b/tasmota/language/it_IT.h index dd4d5a1f6..a58afd364 100644 --- a/tasmota/language/it_IT.h +++ b/tasmota/language/it_IT.h @@ -788,6 +788,8 @@ #define D_SENSOR_TM1638_CLK "TM1638 - CLK" #define D_SENSOR_TM1638_DIO "TM1638 - DIO" #define D_SENSOR_TM1638_STB "TM1638 - STB" +#define D_SENSOR_TM1640_CLK "TM1640 CLK" +#define D_SENSOR_TM1640_DIN "TM1640 DIN" #define D_SENSOR_MAX7219_DIN "MAX7219 - DIN" #define D_SENSOR_MAX7219_CS "MAX7219 - CS" #define D_SENSOR_MAX7219_CLK "MAX7219 - CLK" diff --git a/tasmota/language/ko_KO.h b/tasmota/language/ko_KO.h index 8c19dbffe..d47bee947 100644 --- a/tasmota/language/ko_KO.h +++ b/tasmota/language/ko_KO.h @@ -788,6 +788,8 @@ #define D_SENSOR_TM1638_CLK "TM1638 CLK" #define D_SENSOR_TM1638_DIO "TM1638 DIO" #define D_SENSOR_TM1638_STB "TM1638 STB" +#define D_SENSOR_TM1640_CLK "TM1640 CLK" +#define D_SENSOR_TM1640_DIN "TM1640 DIN" #define D_SENSOR_MAX7219_DIN "MAX7219 DIN" #define D_SENSOR_MAX7219_CS "MAX7219 CS" #define D_SENSOR_MAX7219_CLK "MAX7219 CLK" diff --git a/tasmota/language/nl_NL.h b/tasmota/language/nl_NL.h index f3143e094..dac4c6eee 100644 --- a/tasmota/language/nl_NL.h +++ b/tasmota/language/nl_NL.h @@ -788,6 +788,8 @@ #define D_SENSOR_TM1638_CLK "TM1638 CLK" #define D_SENSOR_TM1638_DIO "TM1638 DIO" #define D_SENSOR_TM1638_STB "TM1638 STB" +#define D_SENSOR_TM1640_CLK "TM1640 CLK" +#define D_SENSOR_TM1640_DIN "TM1640 DIN" #define D_SENSOR_MAX7219_DIN "MAX7219 DIN" #define D_SENSOR_MAX7219_CS "MAX7219 CS" #define D_SENSOR_MAX7219_CLK "MAX7219 CLK" diff --git a/tasmota/language/pl_PL.h b/tasmota/language/pl_PL.h index f30d94fb1..108daccc2 100644 --- a/tasmota/language/pl_PL.h +++ b/tasmota/language/pl_PL.h @@ -788,6 +788,8 @@ #define D_SENSOR_TM1638_CLK "TM1638 CLK" #define D_SENSOR_TM1638_DIO "TM1638 DIO" #define D_SENSOR_TM1638_STB "TM1638 STB" +#define D_SENSOR_TM1640_CLK "TM1640 CLK" +#define D_SENSOR_TM1640_DIN "TM1640 DIN" #define D_SENSOR_MAX7219_DIN "MAX7219 DIN" #define D_SENSOR_MAX7219_CS "MAX7219 CS" #define D_SENSOR_MAX7219_CLK "MAX7219 CLK" diff --git a/tasmota/language/pt_BR.h b/tasmota/language/pt_BR.h index 186f156ad..4dfaf2058 100644 --- a/tasmota/language/pt_BR.h +++ b/tasmota/language/pt_BR.h @@ -788,6 +788,8 @@ #define D_SENSOR_TM1638_CLK "TM1638 CLK" #define D_SENSOR_TM1638_DIO "TM1638 DIO" #define D_SENSOR_TM1638_STB "TM1638 STB" +#define D_SENSOR_TM1640_CLK "TM1640 CLK" +#define D_SENSOR_TM1640_DIN "TM1640 DIN" #define D_SENSOR_MAX7219_DIN "MAX7219 DIN" #define D_SENSOR_MAX7219_CS "MAX7219 CS" #define D_SENSOR_MAX7219_CLK "MAX7219 CLK" diff --git a/tasmota/language/pt_PT.h b/tasmota/language/pt_PT.h index e75bdc3c3..4735ffe3f 100644 --- a/tasmota/language/pt_PT.h +++ b/tasmota/language/pt_PT.h @@ -788,6 +788,8 @@ #define D_SENSOR_TM1638_CLK "TM1638 CLK" #define D_SENSOR_TM1638_DIO "TM1638 DIO" #define D_SENSOR_TM1638_STB "TM1638 STB" +#define D_SENSOR_TM1640_CLK "TM1640 CLK" +#define D_SENSOR_TM1640_DIN "TM1640 DIN" #define D_SENSOR_MAX7219_DIN "MAX7219 DIN" #define D_SENSOR_MAX7219_CS "MAX7219 CS" #define D_SENSOR_MAX7219_CLK "MAX7219 CLK" diff --git a/tasmota/language/ro_RO.h b/tasmota/language/ro_RO.h index 982d7599f..96a0f506d 100644 --- a/tasmota/language/ro_RO.h +++ b/tasmota/language/ro_RO.h @@ -788,6 +788,8 @@ #define D_SENSOR_TM1638_CLK "TM1638 CLK" #define D_SENSOR_TM1638_DIO "TM1638 DIO" #define D_SENSOR_TM1638_STB "TM1638 STB" +#define D_SENSOR_TM1640_CLK "TM1640 CLK" +#define D_SENSOR_TM1640_DIN "TM1640 DIN" #define D_SENSOR_MAX7219_DIN "MAX7219 DIN" #define D_SENSOR_MAX7219_CS "MAX7219 CS" #define D_SENSOR_MAX7219_CLK "MAX7219 CLK" diff --git a/tasmota/language/ru_RU.h b/tasmota/language/ru_RU.h index bf2148662..0a70d129c 100644 --- a/tasmota/language/ru_RU.h +++ b/tasmota/language/ru_RU.h @@ -789,6 +789,8 @@ #define D_SENSOR_TM1638_CLK "TM1638 CLK" #define D_SENSOR_TM1638_DIO "TM1638 DIO" #define D_SENSOR_TM1638_STB "TM1638 STB" +#define D_SENSOR_TM1640_CLK "TM1640 CLK" +#define D_SENSOR_TM1640_DIN "TM1640 DIN" #define D_SENSOR_MAX7219_DIN "MAX7219 DIN" #define D_SENSOR_MAX7219_CS "MAX7219 CS" #define D_SENSOR_MAX7219_CLK "MAX7219 CLK" diff --git a/tasmota/language/sk_SK.h b/tasmota/language/sk_SK.h index 7e95c1680..91ba8d635 100644 --- a/tasmota/language/sk_SK.h +++ b/tasmota/language/sk_SK.h @@ -788,6 +788,8 @@ #define D_SENSOR_TM1638_CLK "TM1638 CLK" #define D_SENSOR_TM1638_DIO "TM1638 DIO" #define D_SENSOR_TM1638_STB "TM1638 STB" +#define D_SENSOR_TM1640_CLK "TM1640 CLK" +#define D_SENSOR_TM1640_DIN "TM1640 DIN" #define D_SENSOR_MAX7219_DIN "MAX7219 DIN" #define D_SENSOR_MAX7219_CS "MAX7219 CS" #define D_SENSOR_MAX7219_CLK "MAX7219 CLK" diff --git a/tasmota/language/sv_SE.h b/tasmota/language/sv_SE.h index c2988b36f..8bf23eb8d 100644 --- a/tasmota/language/sv_SE.h +++ b/tasmota/language/sv_SE.h @@ -788,6 +788,8 @@ #define D_SENSOR_TM1638_CLK "TM1638 CLK" #define D_SENSOR_TM1638_DIO "TM1638 DIO" #define D_SENSOR_TM1638_STB "TM1638 STB" +#define D_SENSOR_TM1640_CLK "TM1640 CLK" +#define D_SENSOR_TM1640_DIN "TM1640 DIN" #define D_SENSOR_MAX7219_DIN "MAX7219 DIN" #define D_SENSOR_MAX7219_CS "MAX7219 CS" #define D_SENSOR_MAX7219_CLK "MAX7219 CLK" diff --git a/tasmota/language/tr_TR.h b/tasmota/language/tr_TR.h index 7880d2ce0..d73fbd1ab 100644 --- a/tasmota/language/tr_TR.h +++ b/tasmota/language/tr_TR.h @@ -788,6 +788,8 @@ #define D_SENSOR_TM1638_CLK "TM1638 CLK" #define D_SENSOR_TM1638_DIO "TM1638 DIO" #define D_SENSOR_TM1638_STB "TM1638 STB" +#define D_SENSOR_TM1640_CLK "TM1640 CLK" +#define D_SENSOR_TM1640_DIN "TM1640 DIN" #define D_SENSOR_MAX7219_DIN "MAX7219 DIN" #define D_SENSOR_MAX7219_CS "MAX7219 CS" #define D_SENSOR_MAX7219_CLK "MAX7219 CLK" diff --git a/tasmota/language/uk_UA.h b/tasmota/language/uk_UA.h index 42b14bec8..0cf2ac690 100644 --- a/tasmota/language/uk_UA.h +++ b/tasmota/language/uk_UA.h @@ -788,6 +788,8 @@ #define D_SENSOR_TM1638_CLK "TM1638 CLK" #define D_SENSOR_TM1638_DIO "TM1638 DIO" #define D_SENSOR_TM1638_STB "TM1638 STB" +#define D_SENSOR_TM1640_CLK "TM1640 CLK" +#define D_SENSOR_TM1640_DIN "TM1640 DIN" #define D_SENSOR_MAX7219_DIN "MAX7219 DIN" #define D_SENSOR_MAX7219_CS "MAX7219 CS" #define D_SENSOR_MAX7219_CLK "MAX7219 CLK" diff --git a/tasmota/language/vi_VN.h b/tasmota/language/vi_VN.h index 62762814a..4b625a7c0 100644 --- a/tasmota/language/vi_VN.h +++ b/tasmota/language/vi_VN.h @@ -788,6 +788,8 @@ #define D_SENSOR_TM1638_CLK "TM1638 CLK" #define D_SENSOR_TM1638_DIO "TM1638 DIO" #define D_SENSOR_TM1638_STB "TM1638 STB" +#define D_SENSOR_TM1640_CLK "TM1640 CLK" +#define D_SENSOR_TM1640_DIN "TM1640 DIN" #define D_SENSOR_MAX7219_DIN "MAX7219 DIN" #define D_SENSOR_MAX7219_CS "MAX7219 CS" #define D_SENSOR_MAX7219_CLK "MAX7219 CLK" diff --git a/tasmota/language/zh_CN.h b/tasmota/language/zh_CN.h index 28699b933..70d2c5d97 100644 --- a/tasmota/language/zh_CN.h +++ b/tasmota/language/zh_CN.h @@ -788,6 +788,8 @@ #define D_SENSOR_TM1638_CLK "TM1638 CLK" #define D_SENSOR_TM1638_DIO "TM1638 DIO" #define D_SENSOR_TM1638_STB "TM1638 STB" +#define D_SENSOR_TM1640_CLK "TM1640 CLK" +#define D_SENSOR_TM1640_DIN "TM1640 DIN" #define D_SENSOR_MAX7219_DIN "MAX7219 DIN" #define D_SENSOR_MAX7219_CS "MAX7219 CS" #define D_SENSOR_MAX7219_CLK "MAX7219 CLK" diff --git a/tasmota/language/zh_TW.h b/tasmota/language/zh_TW.h index b65007bf0..2b721c2ab 100644 --- a/tasmota/language/zh_TW.h +++ b/tasmota/language/zh_TW.h @@ -788,6 +788,8 @@ #define D_SENSOR_TM1638_CLK "TM1638 CLK" #define D_SENSOR_TM1638_DIO "TM1638 DIO" #define D_SENSOR_TM1638_STB "TM1638 STB" +#define D_SENSOR_TM1640_CLK "TM1640 CLK" +#define D_SENSOR_TM1640_DIN "TM1640 DIN" #define D_SENSOR_MAX7219_DIN "MAX7219 DIN" #define D_SENSOR_MAX7219_CS "MAX7219 CS" #define D_SENSOR_MAX7219_CLK "MAX7219 CLK"