Commit Graph
31 Commits
Author SHA1 Message Date
TD-er 4e9a08dbdc Merge remote-tracking branch 'letscontrolit/mega' into bugfix/WiFi_state_machine 2025-11-17 22:10:11 +01:00
TD-er cb84df0b44 [ESPEasy p2p] Cleanup use of std::unique_ptr + p2p data structs 2025-10-24 00:06:30 +02:00
Ton Huisman ddd5b50bda Merge branch 'mega' of https://github.com/letscontrolit/ESPEasy into feature/HTTP-add-minimal-TLS-support 2025-10-17 21:57:56 +02:00
TD-er fda5b00e90 [Log] Simplify web log buffering 2025-10-09 23:11:22 +02:00
TD-er d9e281993f Merge remote-tracking branch 'letscontrolit/mega' into bugfix/WiFi_state_machine 2025-09-29 23:07:20 +02:00
Ton Huisman 8e805e9c85 [HTTP] Enable TLS support for Controllers using HTTP 2025-09-19 21:54:54 +02:00
Ton Huisman 24a14e8e2d [C011] HTTP Advanced - Don't URL-encode header 2025-09-15 22:35:32 +02:00
TD-er 21f53f1507 [Network] Move Network code to ESPEasy::net namespace 2025-07-27 15:42:14 +02:00
TD-er c27f249f69 [Memory] Move other controller queue elements to 2nd heap (ESP8266) 2025-02-20 17:07:15 +01:00
TD-er 5c9d7be604 [Memory] Move other controller queue elements to 2nd heap (ESP8266) 2025-02-19 23:17:18 +01:00
TD-er 7b7c2b8e22 [Cleanup] Reduce bin size using FormSelectOptions class 2025-01-27 01:17:09 +01:00
TD-er b60a6adb28 [Cleanup] Change addFormSelector calls to use new class 2025-01-24 22:57:21 +01:00
TD-er 7270701b72 [Cleanup] Rename ambiguously controller_number in controller code 2024-06-23 16:02:37 +02:00
TD-er d3b65298c7 [Controller] Fail gracefully when almost out of memory
One often reported issue is that the ESPEasy node (especially ESP8266 ones) will crash when WiFi is unstable.

This could be due to memory suddenly filling up by the controller queue.
When creating a new item for the controller queue, there was no `(std::nothrow)` included on the `new` calls, so if running out of memory this might have thrown a `std::bad_alloc` exception, which are not caught and thus ESPEasy might crash on it.
2024-05-23 15:19:39 +02:00
TD-er ef9c263b3e [ESP8266] Optimize memory allocations + 2nd heap 2023-11-16 17:52:28 +01:00
TD-er 3475de24ca [ESP8266] Fix stability issues when using 2nd heap 2023-11-15 11:44:41 +01:00
TD-er 69103b1d0d [ESP8266] Switch to using 2nd heap with Arduino SDK 3.1.2 2023-11-14 13:31:58 +01:00
TD-er 71630ba87b [Cleanup] Remove no longer needed globals/Protocol.h/.cpp 2023-09-15 18:13:15 +02:00
TD-er 922ad76e5e [Controller] Simplify ESPEasy core administration of CPlugins 2023-09-15 17:09:09 +02:00
TD-er 9c07393225 [Scheduler] Cleanup of Scheduler code 2023-09-12 12:29:51 +02:00
TD-er 405691b68c [Cleanup] Simplify allocation of ControllerSettings allocation, memleak? 2023-07-10 10:30:54 +02:00
TD-er 30ec3a6c2e [Controller Queue] Do not format message when controller queue is full 2023-01-18 12:03:02 +01:00
TD-er 6bc0cc5fcf [Controller] Fix queue element vase class members being set 2023-01-04 13:56:55 +01:00
TD-er d038ce2e15 [Controllers] Reduce bin size by getting rid of extensive macros 2023-01-01 21:11:08 +01:00
TD-er 8fe63e47fd [Controller Queue] Reduce bin size by using inheritance 2022-12-31 01:15:47 +01:00
TD-er b87db70810 [SendToHttp] Fix HTTP 401 and 404 error
Still to do: look into why not all HTTP requests seem to arrive at the other node when sending at short intervals (less than 3 sec)
2022-08-23 18:28:39 +02:00
Ton Huisman 8474d47cb7 [Build] Remove TESTING tag from Stable plugins 2022-07-22 21:51:00 +02:00
TD-er e6c4d31748 [ESP32] Add cache for ExtraTaskSettings due to load speed on ESP32 2022-07-14 19:55:45 +02:00
TD-er 10cca9ca72 [Log] Call addLogMove where log Strings can be moved instead of copied
This is a macro for:
```
#define addLogMove(L, S)  addToLogMove(L, std::move(S))
```

This will then try to move the constructed string to the log buffer.
If it cannot be moved (e.g. log level is not active), the string will be cleared to free up memory.
2022-02-09 22:28:18 +01:00
TD-er 812485a1bb [Cleanup] Change NULL to nullptr 2022-02-07 11:52:44 +01:00
TD-er 1cfd75d6bf [INO to CPP] Rename Cnnn.ino to Cnnn.cpp
This way we know for sure the Arduino typical build issues will be affecting building controllers.
2022-01-31 11:01:41 +01:00