diff --git a/BUILDS.md b/BUILDS.md index f724c74bd..d17b57901 100644 --- a/BUILDS.md +++ b/BUILDS.md @@ -246,6 +246,7 @@ Note: `minimal` variant is not listed as it shouldn't be used outside of the [up | USE_DISPLAY_ST7789 | - | - / - | - | - | - | x | | USE_DISPLAY_TM1637 | - | - / - | - | - | - | x | | USE_DISPLAY_TM1621_SONOFF | - | - / x | - | - | - | - | +| USE_DISPLAY_TM1650 | - | - / - | - | - | - | - | | | | | | | | | | USE_FT5206 | - | - / - | - | - | - | - | | USE_FTC532 | - | - / - | - | - | - | - | diff --git a/CHANGELOG.md b/CHANGELOG.md index 755e1e9b2..352670ca5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,13 +11,15 @@ All notable changes to this project will be documented in this file. - Support for up to 3 single phase modbus energy monitoring device using generic Energy Modbus driver - Berry crypto add ``SPAKE2P_Matter`` for Matter support - Support for IPv6 only networks on Ethernet (not yet Wifi) +- Support for TM1650 display as used in some clocks by Stefan Oskamp (#17594) ### Breaking Changed ### Changed - ESP32 Framework (Core) from v2.0.5.4 to v2.0.6 (IPv6 support) - Tasmota OTA scripts now support both unzipped and gzipped file uploads (#17378) -- Change NTP default servers to dual-stack (IPv4/IPv6) +- NTP default servers to dual-stack (IPv4/IPv6) +- Revert TuyaMcu rewrite by btsimonh as lack of support ### Fixed - Shutter default motorstop set to 0 (#17403) diff --git a/RELEASENOTES.md b/RELEASENOTES.md index 341ef87c1..7a76319aa 100644 --- a/RELEASENOTES.md +++ b/RELEASENOTES.md @@ -112,6 +112,7 @@ The latter links can be used for OTA upgrades too like ``OtaUrl https://ota.tasm - Support for up to 3 single phase modbus energy monitoring device using generic Energy Modbus driver- Support for RGB displays [#17414](https://github.com/arendst/Tasmota/issues/17414) - Support for IPv6 DNS records (AAAA) and IPv6 ``Ping`` for ESP32 and ESP8266 [#17417](https://github.com/arendst/Tasmota/issues/17417) - Support for IPv6 only networks on Ethernet (not yet Wifi) +- Support for TM1650 display as used in some clocks by Stefan Oskamp [#17594](https://github.com/arendst/Tasmota/issues/17594) - Berry support for ``crypto.SHA256`` [#17430](https://github.com/arendst/Tasmota/issues/17430) - Berry crypto add ``EC_P256`` and ``PBKDF2_HMAC_SHA256`` algorithms required by Matter protocol [#17473](https://github.com/arendst/Tasmota/issues/17473) - Berry crypto add ``random`` to generate series of random bytes diff --git a/tasmota/include/tasmota_configurations.h b/tasmota/include/tasmota_configurations.h index e425b018a..57de1b8ab 100644 --- a/tasmota/include/tasmota_configurations.h +++ b/tasmota/include/tasmota_configurations.h @@ -330,7 +330,7 @@ #define USE_DISPLAY // Add Display Support (+2k code) #define USE_DISPLAY_TM1637 // [DisplayModel 15] Enable TM1637 module - #define USE_DISPLAY_MAX7219 // [DisplayModel 16] Enable MAX7219 7-segment module + #define USE_DISPLAY_MAX7219 // [DisplayModel 19] Enable MAX7219 7-segment module #define USE_I2C // I2C using library wire (+10k code, 0k2 mem, 124 iram) #define USE_DISPLAY_MODES1TO5 // Enable display mode 1 to 5 in addition to mode 0 @@ -339,6 +339,7 @@ #define USE_DISPLAY_MATRIX // [DisplayModel 3] Enable 8x8 Matrix display (I2C adresseses see below) (+11k code) #define USE_DISPLAY_SEVENSEG // [DisplayModel 11] [I2cDriver47] Enable sevenseg display (I2C addresses 0x70 - 0x77) (<+11k code) #define USE_DISPLAY_SH1106 // [DisplayModel 7] Enable SH1106 Oled 128x64 display (I2C addresses 0x3C and 0x3D) +// #define USE_DISPLAY_TM1650 // [DisplayModel 20] [I2cDriver74] Enable TM1650 display (I2C addresses 0x24 - 0x27 and 0x34 - 0x37) #define USE_SPI // Hardware SPI using GPIO12(MISO), GPIO13(MOSI) and GPIO14(CLK) in addition to two user selectable GPIOs(CS and DC) #define USE_DISPLAY_ILI9341 // [DisplayModel 4] Enable ILI9341 Tft 480x320 display (+19k code) diff --git a/tasmota/my_user_config.h b/tasmota/my_user_config.h index 35296863d..4fe411b69 100644 --- a/tasmota/my_user_config.h +++ b/tasmota/my_user_config.h @@ -738,6 +738,7 @@ // Reference: https://cdn-learn.adafruit.com/downloads/pdf/adafruit-led-backpack.pdf // #define SEVENSEG_ADDRESS1 0x70 // No longer used. Use MTX_ADDRESS1 - MTX_ADDRESS8 instead to specify I2C address of sevenseg displays // #define USE_DISPLAY_SH1106 // [DisplayModel 7] [I2cDriver6] Enable SH1106 Oled 128x64 display (I2C addresses 0x3C and 0x3D) +// #define USE_DISPLAY_TM1650 // [DisplayModel 20] [I2cDriver74] Enable TM1650 display (I2C addresses 0x24 - 0x27 and 0x34 - 0x37) // #define USE_DT_VARS // Display variables that are exposed in JSON MQTT strings e.g. in TelePeriod messages. // #define MAX_DT_VARS 16 // Defaults to 7 // #define USE_GRAPH // Enable line charts with displays @@ -747,7 +748,7 @@ // #define USE_DISPLAY // Add I2C/TM1637/MAX7219 Display Support (+2k code) // #define USE_DISPLAY_TM1637 // [DisplayModel 15] Enable TM1637 Module -// #define USE_DISPLAY_MAX7219 // [DisplayModel 15] Enable MAX7219 Module +// #define USE_DISPLAY_MAX7219 // [DisplayModel 19] Enable MAX7219 Module // -- Universal Display Driver --------------------------------- // #define USE_UNIVERSAL_DISPLAY // New universal display driver for both I2C and SPI diff --git a/tasmota/tasmota_xdrv_driver/xdrv_16_tuyamcu_v1.ino b/tasmota/tasmota_xdrv_driver/xdrv_16_tuyamcu_v1.ino index 6bd5a655e..e4bb6b01a 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_16_tuyamcu_v1.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_16_tuyamcu_v1.ino @@ -18,7 +18,7 @@ */ #ifdef USE_LIGHT -#ifdef USE_TUYA_MCU_V1 +#ifdef USE_TUYA_MCU /*********************************************************************************************\ * Tuya MCU V1 \*********************************************************************************************/ diff --git a/tasmota/tasmota_xdrv_driver/xdrv_16_tuyamcu_v2.ino b/tasmota/tasmota_xdrv_driver/xdrv_16_tuyamcu_v2.ino index 969235e71..b0bc5e6aa 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_16_tuyamcu_v2.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_16_tuyamcu_v2.ino @@ -18,7 +18,7 @@ */ #ifdef USE_LIGHT -#ifdef USE_TUYA_MCU +#ifdef USE_TUYA_MCU_V2 /*********************************************************************************************\ * Tuya MCU V2 diff --git a/tools/decode-status.py b/tools/decode-status.py index a67a9f617..64177ba48 100755 --- a/tools/decode-status.py +++ b/tools/decode-status.py @@ -289,7 +289,7 @@ a_features = [[ "USE_SGP40","USE_LUXV30B","USE_CANSNIFFER","USE_QMC5883L", "USE_MODBUS_ENERGY","USE_SHELLY_PRO","USE_DALI","USE_BP1658CJ", "USE_DINGTIAN_RELAY","USE_HMC5883L","USE_LD2410","USE_ME007", - "","","","", + "USE_DISPLAY_TM1650","","","", "","","","", "","","","", "","","","", @@ -321,7 +321,7 @@ else: obj = json.load(fp) def StartDecode(): - print ("\n*** decode-status.py v12.2.0.5 by Theo Arends and Jacek Ziolkowski ***") + print ("\n*** decode-status.py v12.3.1.2 by Theo Arends and Jacek Ziolkowski ***") # print("Decoding\n{}".format(obj))