100 Commits
Author SHA1 Message Date
TD-er ebaf41e7fd Merge pull request #5672 from goodprogrammist/bugfix/clearTask-OLD_TaskDeviceID-overflow
[Settings] Fix clearTask() overwriting pins of other tasks
2026-10-24 21:14:14 +02:00
TD-er 42b03c17ff Merge pull request #5669 from goodprogrammist/bugfix/P163-failed-init-cleanup
[P163] Fix double-free after failed RadSens initialization
2026-10-23 13:32:45 +02:00
TD-er 2164531742 Merge pull request #5656 from TD-er/build/use_cpp_static_functiondecl
[Build] Reduce build size using static functions
2026-10-18 23:50:55 +02:00
TD-er fe2c86f0b0 [Provisioning] downloadFile() fails to fetch via https (#5663)
Fixes: #5663
2026-10-18 22:30:14 +02:00
TD-er 89950db921 [HTTP] SendToHTTPS reboots ESP32 (#5661)
Fixes: #5661
2026-10-18 21:13:31 +02:00
TD-er 161d7d4cff Merge remote-tracking branch 'letscontrolit/mega' into build/use_cpp_static_functiondecl 2026-10-18 20:01:52 +02:00
TD-er 1c34d2fece [KeyValueStruct] Keep bool type when collecting sysinfo 2026-10-18 20:01:43 +02:00
TD-er 6d83d96a82 Merge pull request #5649 from adamsthws/fix/httpclientlight-read-timeout
[HttpClientLight] Time out reading a body when the server goes silent
2026-10-18 19:59:55 +02:00
TD-er 755d357694 [Rules] Calculation: operators get lost or are applied to the wrong operands #5660
Fixes: #5660
Credits to @mschlenstedt
2026-10-18 14:42:22 +02:00
TD-er 412a9e64fb [Build] Use static func. MQTT helper, NWPlugin Helper, NW import/export 2026-10-18 02:43:36 +02:00
TD-er ff9a7f6150 [Build] Reduce build size by using static functions (src/WebServer) 2nd 2026-10-18 00:53:03 +02:00
TD-er 396504655e [Build] Reduce build size using static functions in src/WebServer 2026-10-17 23:55:19 +02:00
TD-er 5961277bf8 [Build] Reduce build size by static only functions in .cpp files 2026-10-17 18:03:37 +02:00
TD-er 11070fbd17 [Build] Reduce build size using static functions
As suggested here: https://github.com/letscontrolit/ESPEasy/pull/5654#issuecomment-6222575013
2026-10-17 03:32:20 +02:00
TD-er 680517fa4c Merge pull request #5654 from goodprogrammist/bugfix/Rules_unknown_braces_endless_loop
[Rules] Fix endless loop on unknown {...} in rules on ESP8266
2026-10-17 01:08:32 +02:00
TD-er ed56769e43 Merge pull request #5652 from goodprogrammist/bugfix/P056_ReadAverage_by_reference
[P056] Fix SDS011 always reporting 0 (ReadAverage by reference)
2026-10-16 11:12:35 +02:00
TD-er 0c5d756fd1 Merge pull request #5645 from Firat17aze/fix/hdc10xx-read-errors
[P072] Reject failed HDC10xx sensor reads
2026-10-10 15:47:27 +02:00
TD-er d4efae2f20 Merge pull request #5623 from vaibhav8a/fix-typo-noticeable
docs: fix the misspellings across docs/source
2026-10-07 21:56:56 +02:00
TD-er a31a417540 Merge pull request #5639 from BrainHunter/Fix_SHT1x_SendDataOption
Fixed SendDataOption in P031_SHT1X.ino
2026-10-07 21:55:52 +02:00
TD-er 06b2d3a037 Merge pull request #5642 from tonhuisman/bugfix/Command-udpport-argument-parsing
[Commands] UdpPort argument processing fix
2026-10-07 21:54:56 +02:00
TD-er e826e12969 Merge pull request #5644 from tonhuisman/bugfix/MQTT-discovery-sysname-not-made-ha-compliant
[Bugfix] MQTT AutoDiscovery should use HA-compliant SysName
2026-10-07 21:54:07 +02:00
TD-er 8ca31acb52 Merge pull request #5637 from TD-er/bugfix/load_1wire_page_after_save
[1Wire] Fix caching issue + multiple attempts scan sensors after save
2026-10-07 13:04:59 +02:00
TD-er 02b8acc73e [WiFi] Fix wrong sign check in set TX power (ESP32) 2026-10-07 09:34:54 +02:00
TD-er 050017b2b0 [DNS] Fix hostByName returning negative values when lookup failed
`hostByName` does only return `1` on success, however it may return a negative value when lookup failed.
So need to check for the exact return value and not consider it a boolean return type.
2026-10-07 08:27:40 +02:00
TD-er 488cb70ba9 [WiFi] Fix setting TX power on ESP32 when not exactly matching pwr value 2026-10-07 08:23:54 +02:00
TD-er 3533142af4 Merge remote-tracking branch 'letscontrolit/mega' into bugfix/load_1wire_page_after_save 2026-09-23 00:36:37 +02:00
TD-er 2c53b7b82a [Time] Speedup getting first NTP time sync 2026-09-22 23:51:29 +02:00
TD-er 7f5f5d4f35 Merge pull request #5640 from tonhuisman/bugfix/Rules-taskname-command-prefix-issue
[Tasks] Taskname prefix for commands not always working
2026-09-21 22:30:02 +02:00
TD-er a6b95f8851 [1Wire] Fix caching issue + multiple attempts scan sensors after save 2026-09-18 00:26:28 +02:00
TD-er b1ecd19790 Merge pull request #5636 from TD-er/bugfix/1wire_show_sensors
[1Wire] Fix not always showing 1-wire sensor & correct saving sensor
2026-09-16 23:58:49 +02:00
TD-er 3393f1801b [Build] Install pygit2 Python package. 2026-09-16 22:35:52 +02:00
TD-er e81eb68fab [Build] Fix build binaries path 2026-09-16 22:10:48 +02:00
TD-er 235d7076b0 [Build] Disable PVS-Studio as it has been removed from pioarduino 6.2.0 2026-09-16 15:47:34 +02:00
TD-er da65e7836d [Build] Use matrix.env instead of matrix.variant 2026-09-16 15:33:01 +02:00
TD-er a5a980ce7d [Build] Make sure to install pioarduino in build section YAML file 2026-09-16 15:29:00 +02:00
TD-er 1c669e6bc8 [Build] Call platformio command directly from GH Actions yaml file 2026-09-16 15:12:30 +02:00
TD-er 5239d2e172 [Build] Update to latest PioArduino to fix GH Actions builds 2026-09-16 14:37:32 +02:00
TD-er e329922abd [1Wire] Fix not always showing 1-wire sensor & correct saving sensor
Fixes: #5309
2026-09-16 13:47:48 +02:00
TD-er 8ccd7d13e8 Merge pull request #5622 from tonhuisman/feature/Flash-size-logged-during-boot
[Init] Log flash-size and used size during boot
2026-09-14 23:26:51 +02:00
TD-er 6934e59005 Merge pull request #5633 from tonhuisman/feature/P037-process-variables-in-json-attributes
[P037] Add variable processing for JSON attributes
2026-09-14 21:43:37 +02:00
TD-er 2c15aed103 Merge pull request #5629 from tonhuisman/bugfix/I2Cscan-pconfig-errors
[I2CScan] Avoid using PCONFIG() during I2CScan
2026-09-14 21:42:11 +02:00
TD-er 49df5aca47 Merge pull request #5634 from TD-er/build/ReduceBuildSize_KeyValueStruct
[Build] Reduce build size optimizing KeyValueStruct use
2026-09-14 20:32:47 +02:00
TD-er c46d726f21 [Build] Change 'long' to 'int32_t' and fix some signed/unsigned issues 2026-09-14 14:44:11 +02:00
TD-er 157a954e5d [Build] Change 'unsigned long' to 'uint32_t' 2026-09-14 12:28:33 +02:00
TD-er 233602d268 [mDNS] Enable mDNS for ESP32-MAX builds 2026-09-13 23:26:42 +02:00
TD-er 45c456aaf6 [Build] Reduce build size by reducing number possible concat functions 2026-09-13 23:26:21 +02:00
TD-er 9950d33e38 [ESP-IDF] Update to Arduino changes upto 28/08 and IDF 5.5.5 2026-09-13 21:21:52 +02:00
TD-er bc6dfdc93f [Build] Reduce build size optimizing KeyValueStruct use 2026-09-12 01:59:42 +02:00
TD-er e0240ef278 Merge pull request #5625 from TD-er/bugfix/log_memory_usage
[Log] Fix half printed loglines + memory management + other cleanups
2026-09-11 22:54:52 +02:00
TD-er 01e4d49d96 [Build] Fix failing collection_B_ESP32_4M316k build 2026-09-11 20:24:39 +02:00
TD-er 5df8230524 [Build] Fix failing ESP8266 'normal' builds due to build size 2026-09-11 20:07:38 +02:00
TD-er 6dfd71a4a0 [Build] Reduce ESP8266 and ESP32-C6 DisplayB build size 2026-09-11 18:14:19 +02:00
TD-er f6bd2ea643 [Debug] Make CommandArgParser debug logs better readable 2026-09-10 23:58:30 +02:00
TD-er a850597aca [Cleanup] Speedup parsing empty command args 2026-09-10 23:57:38 +02:00
TD-er 16e280188d [Command] Use new CommandArgParser for all commands to parse int args 2026-09-10 23:57:06 +02:00
TD-er 26147d9964 [P129] Use new CommandArgParser for P129 Shift Registers Input 2026-09-10 22:20:42 +02:00
TD-er 5b98f1ebf1 [Build] Fix ESP8266 build issue 2026-09-10 22:19:48 +02:00
TD-er afbbc545b6 [P126] Implement simplified command arg parser for ShiftOut commands 2026-09-10 21:15:48 +02:00
TD-er 2859473c7b [Cleanup] Add CommandArgParser to simplify processing commands 2026-09-10 15:20:48 +02:00
TD-er c17dc1888c Fix formatting issue on short strings + optimize parsing cmd arguments 2026-09-08 16:22:55 +02:00
TD-er 557f91dce8 [ValueStruct] Fix formatting issues + add formatting options 2026-09-08 14:48:40 +02:00
TD-er 4b01c1daf3 [ShiftRegister] Fix showing taskvaluename + formatting value 2026-09-07 22:26:09 +02:00
TD-er c6df9e0fbd [ValueStruct] Fix issues formatting longer numbers + add parse Str 2026-09-07 20:18:03 +02:00
TD-er 24884cdc7f [WebUI] Cleanup code formatting task values 2026-09-06 16:36:11 +02:00
TD-er e83c23e8b2 [WebUI] Add divs even for empty values, so they can be updated later 2026-09-06 16:14:17 +02:00
TD-er 74e2c6ee53 [JSON] Fix live updating of preformatted values + display preview 2026-09-06 15:13:36 +02:00
TD-er d59536fb4b [Build] Fix failing minimal build with WEBSERVER_JSON disabled 2026-09-06 03:15:30 +02:00
TD-er da556b92b1 [Build] Fix build errors on ESP8266 2026-09-06 03:08:02 +02:00
TD-er 513314996c [JSON] Quick work-around for P126/P129 Still needs work string detection 2026-09-06 02:57:51 +02:00
TD-er 775f69dcec [JSON] Also update OLED display preview in JSON 2026-09-06 01:52:16 +02:00
TD-er 69f04fe375 [JSON] Generate all custom formatting same for Web as well as JSON 2026-09-06 00:10:48 +02:00
TD-er efc0525f31 [JSON] Merge formatting code DerivedTaskValues for web and JSON 2026-09-05 22:55:59 +02:00
TD-er e938d4c7a9 [JSON] Add HTML IDs to JSON for DevicesPage 2026-09-05 17:59:56 +02:00
TD-er 03965a95c7 [Cleanup] Simplify removing chars/texts from strings 2026-09-04 22:09:15 +02:00
TD-er 620ec51738 [WebUI] Remove duplicate data from JSON when updating taskvalues 2026-09-04 22:08:03 +02:00
TD-er d10c055ce3 [Cleanup] Make using P126/P129 more intuitive
- Add pin numbers of the chips in the docs as different manufacturers use different names
- Show all used pins + label on Devices tab table for P126/P129
- Fix odd TaskValueCount issues for P126/P129
- Fix PLUGIN_GET_DEVICEVTYPE for P126/P129
- Simplify code for P126/P129
- Perform PLUGIN_READ when pin changes on P126
2026-09-03 13:39:03 +02:00
TD-er 614b94f314 Shorten taskValue formatting of shift registers (P126/P129) for <4 chips 2026-09-03 08:43:23 +02:00
TD-er ad273461dd Fix formating at P126 - Shift registers (74HC595) (#5627) 2026-09-02 17:41:57 +02:00
TD-er 8370cd47b3 [Cleanup] Uncrustify files 2026-09-01 17:09:23 +02:00
TD-er 5e86820672 [Log] Fix half printed loglines + memory management + other cleanups
- Events in EventQueue will be stored in 2nd heap/PSRAM when available
- LogEntries that need heap alloc will be stored in 2nd heap/PSRAM when available
- LogConsumer will also be marked as active read when checks for new log lines
- Log expiration will remove less important logs earlier when running low on memory
- Add formatting functions padToMinimumLength and prefixToMinimumLength (+ added comments where to use them later)
- Fix JSON outputting correct JSON when key-value is formatted JSON string
- Fix sending no more than available bytes to serial port for printing logs (which may block writing, thus speed optimization)
- Update CPU-load when it is queried (minimum interval 1000 msec)
- Make presentation of info more consistent when to use pre-formatted text (monospaced)
- Exclude code which will never be used on the rootpage
2026-09-01 16:59:02 +02:00
TD-er 23cbc84616 Merge pull request #5624 from TD-er/bugfix/log_crash
[Log] Fix crashes processing logs from callback/SDK events
2026-09-01 08:32:14 +02:00
TD-er c3bcf7c597 [Log] Use iterators to keep track of next to read per log subscriber 2026-09-01 00:24:20 +02:00
TD-er 82229dbac2 [Log] Fix crash processing log + improve ESPEasy scheduler 2026-09-01 00:08:20 +02:00
TD-er 8359db407f Merge pull request #5617 from tonhuisman/bugfix/P004-show-device-settings-when-no-gpio-configured
[P004] Fix: Show (most) configuration also when no GPIO configured
2026-08-27 09:48:15 +02:00
TD-er 5ce586b512 Merge pull request #5621 from tonhuisman/feature/Aug-2026-fixes-and-improvements
[Misc] Aug 2026 fixes and improvements
2026-08-27 09:47:27 +02:00
TD-er 9e6d47661a Merge pull request #5556 from tonhuisman/feature/P157-plugin-14-segment-display
[P157] Add plugin for 14-segment displays (HT16K33)
2026-08-25 16:30:31 +02:00
TD-er 7aac425be8 Merge pull request #5619 from TD-er/feature/runtime_PCONFIG_checks
[Debug] Add runtime bounds checks for PCONFIG_xxx macro parameters
2026-08-24 11:23:07 +02:00
TD-er f47acaa0e9 [Debug] Clarify DEBUG_PCONFIG_RANGE_CHECK + make logs more clear 2026-08-24 11:22:30 +02:00
TD-er 126c0f8149 [Debug] Simplify code for debugging PCONFIG_xx out-of-bounds in macros 2026-08-24 00:19:19 +02:00
TD-er 839a768ff1 [Debug] Add option to include filename:linenr on PCONFIG debug logs 2026-08-23 22:56:15 +02:00
TD-er 6cc2eb13c7 [Debug] Change log level to error + reduce build size + uncrustify 2026-08-23 20:29:49 +02:00
TD-er 7eeaa36358 [Debug] Add runtime bounds checks for PCONFIG_xxx macro parameters 2026-08-23 17:52:04 +02:00
TD-er 78384d9e4f Merge pull request #5616 from TD-er/bugfix/I2Ccheck_failingOnDisabledTasks
[Bug] Fix partial webform load on disabled tasks (#5615)
2026-08-22 16:32:40 +02:00
TD-er 093fd2a780 [Bug] Fix partial webform load on disabled tasks (#5615)
Fixes: #5615
2026-08-22 15:19:35 +02:00
TD-er cdc42ba3a1 Merge pull request #5614 from tonhuisman/feature/EEPROM-update-lib-for-better-timing
[EEPROM] Replace library and improve timing
2026-08-21 19:27:51 +02:00
TD-er 9e153a980e Merge pull request #5612 from TD-er/bugfix/Small_optimzations_reduce_load
Bugfix/small optimzations reduce load
2026-08-20 21:53:26 +02:00
TD-er 742cd74f34 [EEPROM/RTC] Add timing stats for read/write to EEPROM/RTC 2026-08-20 16:24:52 +02:00
TD-er 19806006ff [VL53L1X] Move includes to .cpp for linker to leave out unused code 2026-08-20 12:55:41 +02:00
TD-er 27048f5a8f [EEPROM/RTC] Add timing stats for read/write to EEPROM/RTC 2026-08-20 12:52:22 +02:00
TD-er 34261f9278 Merge remote-tracking branch 'letscontrolit/mega' into bugfix/Small_optimzations_reduce_load 2026-08-20 12:00:54 +02:00