Commit Graph

3370 Commits

Author SHA1 Message Date
Theo Arends 827a1e7764 Refactor shutter logging 2021-01-02 15:47:03 +01:00
Theo Arends 708d231c9c Reduce generic log buffer to 128 chars 2021-01-02 14:59:02 +01:00
Jeroen Vermeulen - MageHost cb45eb5201 fixes DisplayMode 1-5 support for ILI9342_2 driver 2021-01-02 13:26:18 +01:00
Theo Arends 78ce7b142d Tune log string stack usage 2021-01-02 12:23:30 +01:00
Simon Hailes 9fdeac8924 update TasAutoMutex & use.
Automatically initialise it.  Add a name per instance.  Add a default timeout of 40ticks - at which point it enters anyway and logs to serial the potential deadlock.
2021-01-02 09:02:11 +00:00
Barbudor ca09594c24 RuleTimer0 applies to all RuleTimers 2021-01-01 21:13:22 +01:00
jaapgvk 2b12e995d3
Add files via upload 2021-01-01 20:47:29 +01:00
jaapgvk 30a5355526
Delete xsns_15_mhz19.ino 2021-01-01 20:47:03 +01:00
Christian Langanke 0747239d4c - for 7 segment displays
- added support for FUNC_DISPLAY_DIM
  - added new FUNC_DISPLAY_BLINKRATE with new command DisplayBlinkrate
    Value is not being persistently stored, so no seting req.
  - added SevensegLog for DisplayMode 1..5 support, displaying the
    nth sensor value to nth atached 7-segment display.
    For that unsed display adresses before the first one being used
    may not be zero, but must be configured to unused addresses
    (e.g. 0xFF), otherwise driver init will fail.
2021-01-01 18:17:55 +01:00
Theo Arends 628f17de8c Add TasAutoMutex 2021-01-01 17:04:36 +01:00
gemu2015 84334bc015 Update xdrv_98_filesystem.ino 2021-01-01 16:48:52 +01:00
Theo Arends ee146b2e29
Merge pull request #10336 from btsimonh/loggingmutex
Add mutex/semaphore for logging - protects new logging_buffer
2021-01-01 16:26:19 +01:00
Theo Arends 7e62aa548d
Merge pull request #10341 from gemu2015/fixes
Fixes
2021-01-01 16:11:15 +01:00
Theo Arends ee1648d3e0 Prep SSD1331 driver 2021-01-01 16:05:06 +01:00
Theo Arends 46d7e9392e Fix ST7789 2021-01-01 15:54:47 +01:00
Theo Arends ad82ba78c4
Merge pull request #10328 from jeroenvermeulen/feature_adafruit_ssd1331
Feature: Adafruit SSD1331 Display support
2021-01-01 15:10:05 +01:00
Theo Arends 54c1a2d029 Add support for SPI display driver for ST7789 TFT
Add support for SPI display driver for ST7789 TFT by Gerhard Mutz (#9037)
2021-01-01 15:05:58 +01:00
Theo Arends dcbb3f1e0e Happy New Year 2021-01-01 13:44:04 +01:00
gemu2015 c61fb025db Update xdrv_98_filesystem.ino 2021-01-01 11:38:01 +01:00
gemu2015 ef8f1bf810 remove spiffs (saves 27k!!!)
leave ffat for backwards compatibility with old linker files
2021-01-01 11:15:48 +01:00
gemu2015 f86bfbc298 sdcrad optional compile (saves 7k)
#define USE_SDCARD
2021-01-01 11:08:48 +01:00
gemu2015 03a9d5b71f Update xdrv_98_filesystem.ino 2021-01-01 08:41:36 +01:00
gemu2015 f8067735e1 add in and batt current 2021-01-01 06:45:07 +01:00
gemu2015 3ee92fb4ba smaller log buffer 2021-01-01 06:44:04 +01:00
gemu2015 96ecffe571 reduce stack pressure, some fixes 2021-01-01 06:43:50 +01:00
Jeroen Vermeulen - MageHost 08d65c69d5 show time and date in DiplayMode 3 and 5 2021-01-01 01:37:08 +01:00
gemu2015 55d0f99910 little fs is default 2020-12-31 20:22:54 +01:00
gemu2015 0de64f3376 esp32 littlefs 2020-12-31 18:05:42 +01:00
gemu2015 9c9d7e0eef spiffs 2020-12-31 16:41:58 +01:00
Theo Arends 58e6ec55f1 Breaking change replacing SPI CS and SPI DC
Breaking change replacing SPI CS and SPI DC by device specific CS and DC
2020-12-31 16:17:30 +01:00
gemu2015 1e579804da universal file system inital commit 2020-12-31 14:19:50 +01:00
Simon Hailes 0c38aca915 MAC compatible httm webtimout changes 2020-12-31 12:31:22 +00:00
Simon Hailes 6b2daa14d0 Add mutex/semaphore for logging - protects new logging_buffer 2020-12-31 11:36:35 +00:00
Theo Arends 89e697fab6 Revert "Merge pull request #10318 from btsimonh/webtimeouts"
This reverts commit c7ff3f39db, reversing
changes made to 0703e5899b.
2020-12-31 11:47:37 +01:00
Jeroen Vermeulen - MageHost 8f63663c1e Improved hardware SPI.
Removed unnecessary setTextSize in PrintLog.
2020-12-31 10:17:30 +01:00
Jeroen Vermeulen - MageHost 3676ad3eb8 Removed font setting in DisplayMode 1
The user can choose it using DisplayFont.
2020-12-31 09:06:21 +01:00
Jeroen Vermeulen - MageHost 49e8612a14 Merge remote-tracking branch 'origin/development' into feature_adafruit_ssd1331 2020-12-31 00:16:28 +01:00
Jeroen Vermeulen - MageHost db7e0ff97a SSD1331: fixed hardware SPI 2020-12-30 23:51:02 +01:00
Theo Arends 9c2b8040f1 Revert "Breaking change replaced NRF24L01 GPIO selection"
This reverts commit 01f3a7da19.
2020-12-30 17:52:05 +01:00
Theo Arends 01f3a7da19 Breaking change replaced NRF24L01 GPIO selection
Breaking change replaced NRF24L01 GPIO selection from ``GPIO_SPI_CS`` by ``GPIO_NRF24_CS`` and ``GPIO_SPI_DC`` by ``GPIO_NRF24_DC``
2020-12-30 17:49:52 +01:00
Theo Arends c7ff3f39db
Merge pull request #10318 from btsimonh/webtimeouts
Modify web refresh scripts (Main and Console)
2020-12-30 14:49:34 +01:00
Simon Hailes 0ffa5ad75a Allow up to 20s for an XHR request to succeed - only cancel & retry after that. Move refresh timer inside successful response.
Applied to main menu and Console menu.
Fixes times when commands are issued from Web Console, but get the XHR gets cancelled after the default 2.345s webrefresh time.
2020-12-30 12:52:16 +00:00
Theo Arends ea224a681f
Merge pull request #10316 from techman83/fix_mcp230xx_input
Only apply mcp230xx_oldoutpincount when USE_MCP230xx_OUTPUT set
2020-12-30 13:51:20 +01:00
Theo Arends a4bde40ab5
Merge pull request #10314 from hackbar/cleanup3
Fix typo s/renegociation/renegotiation.
2020-12-30 13:49:46 +01:00
Theo Arends 70c93dadea
Merge pull request #10311 from s-hadinger/virtual_ct_phase_2
Commands `CTRange` and `VirtualCT`
2020-12-30 13:49:20 +01:00
Theo Arends ac953dd18b
Merge pull request #10310 from jeroenvermeulen/fix_ST7789_135x240
fix: ST7789 display driver for 135*240px
2020-12-30 13:47:34 +01:00
Leon Wright a328f0e4de Only apply mcp230xx_oldoutpincount when USE_MCP230xx_OUTPUT set 2020-12-30 15:23:34 +08:00
Mike Harris 00b3a9180a Fix typo s/renegociation/renegotiation. 2020-12-29 15:57:59 -08:00
Mike Harris d69be912e9 Make all initial tabs two spaces for consistency.
Also clean up some trailing comments spacing.

This seems to be the common style.
2020-12-29 15:57:30 -08:00
Jeroen Vermeulen - MageHost e866db7364 feature: SSD1331 SPI display driver
Based on release 1.2.0: https://github.com/adafruit/Adafruit-SSD1331-OLED-Driver-Library-for-Arduino/releases/tag/1.2.0
Inspired by the xdsp_09_SSD1351 driver.
2020-12-29 22:39:06 +01:00
Stephan Hadinger 2afc18bac2 Fix compilation for TuyaMCU 2020-12-29 19:58:38 +01:00
Stephan Hadinger 488712c3f0 Commands `CTRange` and `VirtualCT` 2020-12-29 19:31:27 +01:00
Theo Arends f004cfea60 Breaking change regarding MFRC522 and ILI9341
- Replaced MFRC522 13.56MHz rfid card reader GPIO selection from ``GPIO_SPI_CS`` by ``GPIO_RC522_CS``
- Replaced ILI9341 GPIO selection from ``GPIO_SPI_CS`` by ``GPIO_ILI9341_CS`` and ``GPIO_SPI_DC`` by ``GPIO_ILI9341_DC``
2020-12-29 17:42:53 +01:00
Jeroen Vermeulen - MageHost 8fb6ba2bf7 fix: ST7789 display driver for 135*240px
Improved the driver to support both 135*240 and 240*240 formats. These are the most common for the ST7789 display.
Fixes #10282
2020-12-29 17:42:36 +01:00
Theo Arends 313c4ea613
Merge pull request #10303 from btsimonh/unishox-2
Unishox - enhance the supportability for the xdrv_01_webserver.ino scripts/headers etc.
2020-12-29 14:02:52 +01:00
Stephan Hadinger 44751c39f1 Zigbee fix color of SSI and last seen 2020-12-29 12:59:41 +01:00
Theo Arends 594870aebb Prep individual SPI CS selection 2020-12-29 12:31:08 +01:00
Theo Arends 576a36641a Prep individual SPI CS selection 2020-12-29 12:06:47 +01:00
Theo Arends 43254afdee Prep for embedded ESP32 module template re-introduction 2020-12-29 11:07:35 +01:00
Simon Hailes cb71466bd4 webserver - move all compressed scripts to subfolders /html_uncompressed and /htmlcompressed.
Add utility tools/unishox/compress-html-uncompressed.py to compress all files found in tasmota/html_uncompressed and write compressed version to tasmota/htmlcompressed
2020-12-29 09:53:15 +00:00
Stephan Hadinger 02f34a3d6d Add IR_SEND_INVERTED and IR_SEND_USE_MODULATION compile options 2020-12-29 10:35:44 +01:00
Theo Arends 6058cf014e Prep for embedded ESP32 module template re-introduction 2020-12-28 18:01:02 +01:00
Theo Arends 15db0f0e72
Merge pull request #10286 from stefanbode/patch-11
fixed regression on calibration matrix with high values overflow
2020-12-28 13:13:31 +01:00
Theo Arends 4d516c65a6 Prep for embedded ESP32 module template re-introduction 2020-12-28 12:36:44 +01:00
stefanbode ad5b04934d
Update xdrv_27_shutter.ino
code and variable optimization. Now internally testest against regression test
2020-12-28 12:27:45 +01:00
Theo Arends dc3c7207d5
Merge pull request #10279 from crispy78/development
African language file
2020-12-28 11:36:14 +01:00
crispy78 f2b5eb1395
Update my_user_config.h 2020-12-27 21:30:06 +01:00
crispy78 2a1051f3f4
Update af_AF.h 2020-12-27 21:03:56 +01:00
crispy78 eea2357b6a
Update af_AF.h 2020-12-27 20:58:23 +01:00
crispy78 cc1513a373
Update af_AF.h 2020-12-27 20:47:48 +01:00
crispy78 2e05ca25f1
Update af_AF.h 2020-12-27 20:27:23 +01:00
crispy78 5aa6e76728
Update af_AF.h 2020-12-27 19:19:18 +01:00
crispy78 41d2e2675c
Update af_AF.h 2020-12-27 19:15:05 +01:00
crispy78 25d36dbe5a
Update af_AF.h 2020-12-27 17:42:33 +01:00
crispy78 08d116bb7b
Update af_AF.h 2020-12-27 17:24:31 +01:00
crispy78 802c963e1b
Update af_AF.h 2020-12-27 16:46:02 +01:00
crispy78 7a1539d4ff
Update af_AF.h 2020-12-27 16:41:30 +01:00
crispy78 6df2af7a48
Update af_AF.h 2020-12-27 16:40:41 +01:00
Theo Arends 83b3aa576d Add BSSID and Signal Strength Indicator to GUI wifi scan result (#10253)
Add BSSID and Signal Strength Indicator to GUI wifi scan result (#10253)
2020-12-27 16:25:34 +01:00
crispy78 85bbb3c247
Update af_AF.h 2020-12-27 15:47:53 +01:00
crispy78 d3f2a8614b
Rename af-AF.h to af_AF.h 2020-12-27 15:20:48 +01:00
crispy78 496302b442
African language file 2020-12-27 15:19:42 +01:00
Theo Arends 31fedcb000
Merge pull request #10274 from s-hadinger/minimal_without_json
Reduce tasmota-minmal by 4kb
2020-12-27 14:26:32 +01:00
Stephan Hadinger 51d39798d4 Reduce tasmota-minmal
Making `WebColor` and `Template` commands read-only
Saves 4kb on tasmota-minimal. No changes for other versions.
2020-12-27 14:13:23 +01:00
stefanbode 01ad0510a1
Fix problem of config loss
Sometimes the deepsleep loop is too fast and causes a config reset. Fixed
2020-12-27 10:51:29 +01:00
Stephan Hadinger 76a4dfb1c1 Fixing fat fingers 2020-12-26 19:53:25 +01:00
Stephan Hadinger f4268cad15 Add ``IR_RCV_WHILE_SENDING`` compile time option to revert #10041 2020-12-26 19:45:06 +01:00
Theo Arends 8d6f8f505f Change once tickers 2020-12-26 15:12:46 +01:00
Theo Arends 9baa1bd9f4 Remove obsolete switch timer re-arm code
Remove obsolete switch timer re-arm code possibly attributing to watch dog restarts (#10237)
2020-12-26 14:51:24 +01:00
Theo Arends d75beb92f3 Add support character `#` to be replaced by `space`-character
Add support character `#` to be replaced by `space`-character in command ``Publish`` topic (#10258)
2020-12-26 12:18:16 +01:00
gemu2015 559e9df0aa record microphone, guard arrays 2020-12-26 09:45:59 +01:00
gemu2015 99ac0ef94a core 2 rtc sync and wakeup 2020-12-26 09:45:17 +01:00
gemu2015 9b890bcd98 add i2s initial microphone support 2020-12-26 09:44:46 +01:00
Jason2866 50506017c9
Fix compile error 2020-12-25 20:38:29 +01:00
Theo Arends 0b00e92c78 Add mandatory defines 2020-12-24 14:38:48 +01:00
Jason2866 8b9f25c032
Zigbee translation DE 2020-12-24 13:38:09 +01:00
Theo Arends f3feb3ea6a Fix prometheus exception
Fix prometheus exception (#10221)
2020-12-24 12:37:59 +01:00
Theo Arends 9747dd4b5c Logging optimizations 2020-12-24 11:42:59 +01:00
bovirus bcf3e302d0
Update Italian language 2020-12-24 10:28:36 +01:00
s-hadinger 668448a88a
Merge pull request #10246 from s-hadinger/zigbee_fix_opple
Zigbee fix type for OppleMode
2020-12-23 18:48:21 +01:00