Commit Graph

289 Commits

Author SHA1 Message Date
Theo Arends 5abadbf221 Fix ESP32 do not use chip temperature sensor as global temperature if external temperature sensor is used (#12630) 2021-07-13 16:44:28 +02:00
Theo Arends 0de0834bb6 Fix ESP32-C3 valid GPIO list 2021-06-29 17:38:46 +02:00
Theo Arends 6767a9809a Fix GUI console initial update time 2021-06-18 16:47:14 +02:00
Theo Arends 51def9790f
Merge pull request #12366 from s-hadinger/esp32c3_fix_template
Esp32c3 fix template command and Web UI
2021-06-15 08:16:35 +02:00
Stephan Hadinger b622c53cdd Esp32c3 fix template command and Web UI 2021-06-14 21:32:07 +02:00
Stephan Hadinger 980720b5a0 Esp32c3 fix wrong baudrate 2021-06-14 19:36:21 +02:00
Theo Arends 5e805e0c4a Move Settings from DRAM to heap 2021-06-11 18:14:12 +02:00
Theo Arends 99a8c3d06a Allocate ESP8266 log buffer in iram heap space if available 2021-06-11 16:02:49 +02:00
Theo Arends 8693f5b0a8 Fix ESP32 bootloop regression 2021-06-11 10:04:27 +02:00
Theo Arends d0cd897ea0 Prep for larger log buffer 2021-06-10 18:06:11 +02:00
Theo Arends 446706f16d Prep for larger log buffer 2021-06-09 17:24:28 +02:00
Theo Arends 49b5ae71ca Change command ``Modules`` layout of JSON message changed to single line 2021-06-09 10:14:39 +02:00
Stephan Hadinger 0e3006c46f Add preliminary support for Esp32C3 - RiscV based 2021-06-08 20:31:01 +02:00
Theo Arends 749093a697 Prep mqtt_data from char to String (prt.3) 2021-06-06 17:26:01 +02:00
Theo Arends ebeb4ea7ff Remove AddLog_P in favour of AddLog
Remove AddLog_P in favour of AddLog switching log from stack to heap allowing longer log entries (up to approximate log buffer size)
2021-06-05 11:47:09 +02:00
Theo Arends d01f577782 Add log buffer max size check 2021-05-31 18:34:51 +02:00
Theo Arends 36c816dce1 Fix ESP8266 syslog large packets 2021-05-31 14:23:12 +02:00
Theo Arends 317483bf09 Comments to longer logging support 2021-05-30 22:32:37 +02:00
Theo Arends c55babd415 Fix ESP32 compile error 2021-05-30 18:47:39 +02:00
Theo Arends cea58d66c8 Prep virtual mqtt_data prt3 2021-05-24 16:52:59 +02:00
Theo Arends 77760dc2cc Prep virtual mqtt_data prt2 2021-05-23 16:50:17 +02:00
Theo Arends 408ae6a4ef Prep virtual mqtt_data 2021-05-23 14:42:27 +02:00
Theo Arends b284caa1fa Fix StrCaseStr result 2021-05-19 16:39:56 +02:00
Theo Arends caaee6b103 Add upload binary decode to logging 2021-05-17 15:15:35 +02:00
Theo Arends 5b94f4450a Fix StrCaseStr_P() and refactor GUI save settings 2021-05-02 15:28:47 +02:00
Theo Arends 89b922675d Add backward compatibility to Template CMND fieldpair using | as command separator
Add backward compatibility to Template CMND fieldpair using | as command separator (#11788)
2021-04-29 17:00:04 +02:00
Theo Arends 1c2db8ca46 Minor strstr() refactor 2021-04-26 10:35:39 +02:00
Theo Arends 1ace2d2292 Add initial support for optional for template specific commands
Add initial support for optional ``Template`` JSON fieldpair ``"CMND":"<any template related command>;<any template related command>;..."`` (#11788)
2021-04-25 17:22:38 +02:00
Theo Arends 2bf681dbe2 Revert "Add initial support for optional for template specific commands"
This reverts commit b44c16d861.
2021-04-25 17:03:11 +02:00
Theo Arends b44c16d861 Add initial support for optional for template specific commands
Add initial support for optional ``Template`` JSON fieldpair ``"CMND":"<any template related command>;<any template related command>;..."`` (#11788)
2021-04-25 16:51:18 +02:00
Theo Arends 2f5c20a42f Add more rule triggers 2021-04-07 15:07:05 +02:00
Theo Arends 2350697815 Use IRAM_ATTR in place of ICACHE_RAM_ATTR 2021-04-02 17:14:08 +02:00
Theo Arends ff7a911e45 Fix logging if network down (#11373) 2021-03-18 09:27:46 +01:00
Barbudor 74da6eb057 check on hostByName + disable syslog 2021-03-17 19:45:29 +01:00
Barbudor 2dfec2ec4d don't keep 0xFFFFFFFF as a valid addres in case of DNS fail 2021-03-16 22:28:39 +01:00
Stephan Hadinger 95e696075e Add support for MPU6686 on primary or secondary I2C bus 2021-03-15 21:06:50 +01:00
Stephan Hadinger 44517380ff Berry upgrade 2021-03-13 22:42:24 +01:00
Stephan Hadinger 0475212b54 ESP32 support for secondary I2C controller 2021-03-10 22:20:21 +01:00
Theo Arends 89d8fbb0ec Change ARRAY_SIZE() to nitems() 2021-02-28 12:50:02 +01:00
gemu2015 95bdb15ae9 upd 2021-02-15 17:26:55 +01:00
gemu2015 f6572a863b display text vars 2021-02-15 17:22:06 +01:00
Theo Arends 541443f0aa Refactor pin test 2021-02-14 16:07:35 +01:00
Theo Arends e6bff6bf9e Standardize on unconnected pin being -1 2021-02-14 13:06:19 +01:00
Theo Arends b073905a2e Consolidate ESP specific functions 2021-02-08 11:34:29 +01:00
Theo Arends 607654297b Add Server to HTTP header (#10831) 2021-02-04 18:06:34 +01:00
Theo Arends a4e8b9d681 Refactor command line arguments 2021-01-30 17:00:50 +01:00
Theo Arends f43c098158 Refactor command line arguments 2021-01-30 14:52:53 +01:00
Theo Arends 1e0631d7e1 Refactor command line arguments 2021-01-30 12:27:48 +01:00
Theo Arends ef59ad7d4f Fix subStr related exceptions 2021-01-29 16:16:20 +01:00
Theo Arends 5b375acdd2 refactor dtostrfd 2021-01-27 17:42:59 +01:00
Theo Arends b4ceb9e5e9 Add light synonyms
Add commands ``ChannelRemap``, ``MultiPWM``, ``AlexaCTRange``, ``PowerOnFade``, ``PWMCT``, ``WhiteBlend``, ``VirtualCT`` as synonyms for ``SetOption37, 68, 82, 91, 92, 105 and 106`` respectively
2021-01-26 14:56:58 +01:00
Stephan Hadinger 48c4b64879 Fix and improvement to ext_snprintf 2021-01-25 16:02:56 +01:00
Theo Arends 72e4d8f0d2 Update support.ino 2021-01-24 17:52:56 +01:00
Stephan Hadinger cf52f1c99e Added ext_snprintf to support extended types 2021-01-24 16:35:36 +01:00
Theo Arends a6c51f1fb4 Final fix Device Groups Exception 2021-01-24 16:03:42 +01:00
Theo Arends efaed8046d Refactor AddLog usage 2021-01-23 16:26:23 +01:00
Theo Arends bc384a3858 Restore AddLog_P to max 700 chars
Changed maximum chars in ``AddLog_P`` logging restored from 128 to 700 (MAX_LOGSZ) to solve broken error messages
2021-01-23 13:21:17 +01:00
polarduck-dev 6ab6708c34
Merge branch 'development' into development 2021-01-19 16:39:31 +00:00
Stephan Hadinger 2f139d0e47 More PROGMEM 2021-01-18 21:48:04 +01:00
polarduck-dev ff08501b39 fixed IPv6 address acquisition 2021-01-18 15:32:58 +00:00
Theo Arends 256f9fc285 Fix telegram response using UrlEncode
Fix telegram response using UrlEncode (#10486)
2021-01-11 14:50:43 +01:00
Theo Arends 2b7d605696 Changed maximum chars in AddLog_P logging
Changed maximum chars in AddLog_P logging reduced from 700 to 128 (LOGSZ) to enhance stability
2021-01-02 16:20:15 +01:00
Theo Arends 708d231c9c Reduce generic log buffer to 128 chars 2021-01-02 14:59:02 +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
Theo Arends 628f17de8c Add TasAutoMutex 2021-01-01 17:04:36 +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 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
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
Simon Hailes 6b2daa14d0 Add mutex/semaphore for logging - protects new logging_buffer 2020-12-31 11:36:35 +00: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 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
Theo Arends 6058cf014e Prep for embedded ESP32 module template re-introduction 2020-12-28 18:01:02 +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
Theo Arends 9747dd4b5c Logging optimizations 2020-12-24 11:42:59 +01:00
Theo Arends 593675eb7a Removal of global log_data providing re-entry
Removal of global log_data providing re-entry and freeing 700k RAM
2020-12-23 18:26:15 +01:00
Theo Arends b1b20c53b4 Prep removal of global log_data
Prep removal of global log_data providing re-entry
2020-12-23 18:00:59 +01:00
Theo Arends fb15736ed7 Unload use of global log_data 2020-12-23 16:35:46 +01:00
Theo Arends 0624ee1ca3 Add logging quick exit code 2020-12-23 10:56:21 +01:00
Theo Arends 244611f12f Add logging buffer management 2020-12-22 15:26:07 +01:00
Stephan Hadinger f94b75d150 Zigbee add unishox strings 2020-12-21 09:56:04 +01:00
Theo Arends 25a660bdec Update support.ino 2020-12-20 17:15:22 +01:00
Theo Arends 5f7aacf13c Refactor logging 2020-12-19 17:29:14 +01:00
Theo Arends bafcee4b05 Effort to get rid of PrepLog_P
Effort to get rid of PrepLog_P now syslog and mqttlog are async
2020-12-18 16:49:11 +01:00
Theo Arends 2eb4eef08c Rename web_log to log_buffer 2020-12-18 16:30:37 +01:00
Theo Arends b7af08c03b Redesign syslog and mqttlog using log buffer
Redesign syslog and mqttlog using log buffer (#10164)
2020-12-18 15:37:20 +01:00
Theo Arends e2ec826dec Fix log buffer eot mark location 2020-12-17 17:41:53 +01:00
Theo Arends 078a9a258a Add milliseconds to console output
Add milliseconds to console output (#10152)
2020-12-17 14:16:53 +01:00
Theo Arends 2f47a4b5c9 Refactor serial init 2020-12-07 17:03:22 +01:00
Theo Arends 17e6890809 Prep for ESP32-C3 ph2 2020-11-28 16:39:15 +01:00
Theo Arends 547e5d9c5d Fix command ``gpio``
Fix command ``gpio`` using non-indexed functions regression from v9.1.0 (#9962)
2020-11-24 15:14:22 +01:00
Barbudor 11ed01983c comparison should be >= 2020-11-20 00:01:48 +01:00
Theo Arends 29e990dd23 Remove obsolete code 2020-11-13 14:23:16 +01:00
Stephan Hadinger 5f494b7d8a Remove compiler warnings 2020-11-12 19:38:21 +01:00
Theo Arends fa7fdbd51a Consolidate `AddLog_P`
Consolidate `AddLog_P` into `AddLog_P2` and rename to `AddLog_P`
2020-11-06 17:09:13 +01:00
Theo Arends 488a360d5b Fixed NTP fallback server functionality
Fixed NTP fallback server functionality (#9739)
2020-11-06 15:22:03 +01:00
Theo Arends 404e34df36 Fix ESP32 serial issues 2020-10-31 17:53:12 +01:00
Theo Arends 57a3e7f88c Fix ESP32 issues 2020-10-31 17:28:33 +01:00
Theo Arends 604a03e617 Fix ESP32 serial reconfig
Fix ESP32 serial reconfig (#9664)
2020-10-30 18:27:34 +01:00