Commit Graph

246 Commits

Author SHA1 Message Date
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
Theo Arends af5082320d Use global struct 2020-10-30 12:29:48 +01:00
Theo Arends e59bfc1d69 Use global struct 2020-10-29 13:58:50 +01:00
Theo Arends 280f0a9de7 Use global struct 2020-10-29 13:37:09 +01:00
Theo Arends 3bebfb32d3 Use global struct 2020-10-29 12:21:24 +01:00
Christopher Tremblay 4a8bc0841e Add support for EZO PRS
Adds support for EZO PRS sensors
2020-10-29 02:34:44 -07:00
Theo Arends f1ac7b2d67 Use global struct 2020-10-28 19:03:39 +01:00
Theo Arends b93b719108 Use global struct 2020-10-28 17:32:07 +01:00
Theo Arends 66f5d5d180 Prep global struct 2020-10-28 11:48:57 +01:00
Theo Arends f2d1785701 Fix GCC 10.1 compile errors 2020-10-22 15:23:22 +02:00
Theo Arends f79ed4464e Fix MQTT data corruption on ``MQTTLog 4`
Fix MQTT data corruption on ``MQTTLog 4`` (#9571)
2020-10-19 12:39:27 +02:00
Theo Arends 7bc8956d86 Changed management of serial baudrate
Changed management of serial baudrate (#9554)
2020-10-16 15:18:16 +02:00
Theo Arends 5ec972376c Consolidate function RemoveSpace 2020-10-10 17:00:37 +02:00
Theo Arends 70d49d210b Remove ctrlchars from mqtt log message 2020-10-10 16:44:35 +02:00
Theo Arends 490e7d838e Fix Template using ``#define USER_TEMPLATE``
Fix Template using ``#define USER_TEMPLATE`` (#9506)
2020-10-10 12:20:15 +02:00
Theo Arends 82e74b369f Add additional chk before converting template 2020-10-04 15:46:20 +02:00
Theo Arends 73ad5706c3 Fix template conversion when GPIO17 is 0 2020-10-04 12:46:06 +02:00
Theo Arends 6f790c0bb0 Add support for GPIO_ANY 2020-10-03 15:06:52 +02:00
Theo Arends b51ee2aa22 Update template using JSMN 2020-09-30 15:26:46 +02:00
Theo Arends 7a73dd7019 Merge branch 'development' into dev-gpio16 2020-09-30 14:54:29 +02:00
Theo Arends 1ae9adc642 Change redesigning ESP8266 GPIO internal numbering
Change redesigning ESP8266 GPIO internal numbering in line with ESP32
2020-09-30 14:19:18 +02:00
Theo Arends c00d7035d9 Redesign GPIO to 16-bit 2020-09-29 18:10:21 +02:00
Theo Arends 895ed2d041 Redesign GPIO to 16-bit 2020-09-29 14:41:45 +02:00
Theo Arends 805f93cfab Redesign GPIO to 16-bit 2020-09-29 14:08:48 +02:00
Theo Arends 46cbe13e9b Fix ESP32 compilation 2020-09-25 18:34:14 +02:00
Theo Arends 9cbd2d531d Initial GPIO redesign 2020-09-25 18:15:31 +02:00
Stephan Hadinger 019e402fe7 Move IR from ArduinoJson to JSMN 2020-09-24 08:51:43 +02:00
Stephan Hadinger f3591b8419 Fix memory corruption 2020-09-23 19:38:24 +02:00
Theo Arends bbd15fa174 Fix Status13 shutter exception 9 2020-09-23 17:13:10 +02:00
Stephan Hadinger 2ff756b3cc Change replace ArduinoJson with JSMN for JSON parsing 2020-09-21 21:49:32 +02:00
Stephan Hadinger ea85b70685 Zigbee minor improvements 2020-09-14 22:06:19 +02:00
Theo Arends d7017661ed Fix esp32 compilation error 2020-08-23 09:08:47 +02:00
Theo Arends ff0654701d Update template comments 2020-08-22 18:25:01 +02:00
Theo Arends 2d8916a9fa Module/Gpio re-design - consolidate internal templates - phase 3
Module/Gpio re-design - consolidate internal templates - phase 3
2020-08-22 18:03:20 +02:00
Theo Arends 474fb2518a Update status 13 2020-08-20 17:58:58 +02:00
stefanbode 91d2324cfb
Update support.ino 2020-08-20 16:22:40 +02:00
Theo Arends 3308b7a995 Module/Gpio re-design - consolidate internal templates - phase 2
Module/Gpio re-design - consolidate internal templates - phase 2
2020-08-19 15:18:33 +02:00
Theo Arends ce388c799f Add ESP32 Analog input support for GPIO32 to GPIO39 2020-08-04 16:33:05 +02:00
Theo Arends 317d4977d1 Fix masterlog_level to control master log level control 2020-07-31 16:56:42 +02:00
Theo Arends a5857ac03f Add masterlog_level to control master log level control 2020-07-31 11:53:12 +02:00
George 2ced749e4d serialsend6 - more fixes
oops
2020-07-20 10:14:01 +10:00
George 63242de249 Serialsend6
* Adds serialsend6, allowing sending of binary data with comma-delimited string of decimal numbers.
2020-07-19 20:34:43 +10:00
Theo Arends 934ca43463 Remove Arduino ESP8266 Core support before 2.7.1
Remove Arduino ESP8266 Core support for versions before 2.7.1
2020-07-17 11:49:56 +02:00
Theo Arends 7dafeb280e Rename global temp and pressure
- Rename global temp and pressure (#8808, #8810)
- Fix SGP30 calculation (#8808)
2020-06-28 12:23:18 +02:00