Commit Graph

10827 Commits

Author SHA1 Message Date
MichaelDvP
0aaa566e73 Merge remote-tracking branch 'emsesp/dev' into dev 2026-06-23 08:02:32 +02:00
MichaelDvP
20e3d6a19b dev.7, fix crash 2026-06-23 07:57:55 +02:00
Proddy
d21f5f9ab6 Merge pull request #3130 from proddy/core3
Core3 - fix divide-by-zero in shuntingyard
2026-06-22 22:57:53 +02:00
proddy
745d87c6d2 fixes https://github.com/emsesp/EMS-ESP32/discussions/3127 2026-06-22 22:54:25 +02:00
proddy
17f76e594d add comment 2026-06-22 22:53:56 +02:00
proddy
722a41fb43 fix typo 2026-06-22 22:53:46 +02:00
proddy
f861924435 update 2026-06-22 22:53:39 +02:00
MichaelDvP
67953fccd6 from PR #3128 2026-06-22 11:59:06 +02:00
MichaelDvP
0c910bc822 fix mock-api 2026-06-22 11:58:05 +02:00
MichaelDvP
ec8c94f733 wifi scanner, mock example schedule 2026-06-22 08:12:54 +02:00
soderdaen
b6a7fb0bf0 Update changelog_latest.md and emsesp_version 2026-06-21 21:15:47 +02:00
Proddy
8fe8d87924 Merge pull request #3129 from proddy/core3
Core3 WebUI optimizations
2026-06-21 14:21:47 +02:00
MichaelDvP
95f475ab6f command message calsl compute direct,#3127 2026-06-21 10:53:10 +02:00
proddy
74e260b4be 3.9.0-dev.14 2026-06-21 10:48:02 +02:00
proddy
3e501ade4f use new validation 2026-06-21 00:12:38 +02:00
proddy
679b152dd0 fix inline warnings 2026-06-21 00:12:17 +02:00
proddy
00201b1202 make pretty 2026-06-21 00:12:00 +02:00
proddy
f2eb1b2e7f build web with optional ui languages 2026-06-20 13:10:56 +02:00
soderdaen
f8fa092ac3 Fix: AP crash and infinite loop during WiFi scan. 2026-06-20 10:42:38 +02:00
proddy
39b02591d9 react-router optimizations 2026-06-20 10:26:00 +02:00
proddy
92d63d6f5d replace async-validator 2026-06-19 12:06:33 +02:00
proddy
392812d489 own version of toast 2026-06-19 11:52:33 +02:00
proddy
88a777ca5f update react router to v8 2026-06-19 11:31:16 +02:00
proddy
5aadf7234f Reduce DeviceValue heap usage with on-demand custom name
Store the per-entity custom_fullname as a heap-allocated string that is
only created when a custom name is actually set, instead of an inline
std::string on every DeviceValue. Saves ~20 bytes per entity (hundreds to
~1000 entities), reclaiming internal heap on no-PSRAM boards.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-15 19:53:14 +02:00
Proddy
b8a63aeac6 Merge pull request #3125 from proddy/dev
remove old S3 binaries #3123
2026-06-15 18:24:46 +02:00
proddy
908a9ebbfc remove old S3 binaries #3123 2026-06-15 18:23:58 +02:00
Proddy
87a77586db Merge pull request #3124 from proddy/core3
remove old binaries #3123
2026-06-15 17:26:48 +02:00
proddy
ca26f93ae7 remove old binaries #3123 2026-06-15 17:25:50 +02:00
proddy
2551c255c4 update package manager 2026-06-15 17:25:27 +02:00
Proddy
437b8447a2 Merge pull request #3122 from proddy/commands
Commands - update web
2026-06-14 17:11:13 +02:00
proddy
4042d47736 rename CommandsPage to Commands 2026-06-14 17:10:23 +02:00
proddy
0bc5cc0fe8 update 2026-06-14 17:10:00 +02:00
proddy
fa265e8ea4 3.9.0-dev.13 2026-06-14 17:09:52 +02:00
proddy
30cc720dcf package update 2026-06-14 17:05:32 +02:00
proddy
cdc5011eb6 prevent icons flashing white on page reload 2026-06-14 17:04:07 +02:00
proddy
fe8cf2620d show execute button in table 2026-06-14 17:03:52 +02:00
proddy
e818a5a943 update example backup file 2026-06-14 17:03:31 +02:00
proddy
6dde0ffc79 hide execute button on save 2026-06-14 17:03:19 +02:00
Proddy
a790cf594e Merge pull request #3121 from MichaelDvP/core3
fix update warning message
2026-06-14 13:27:06 +02:00
MichaelDvP
c260914dac fix update warning message 2026-06-14 08:59:50 +02:00
Proddy
9558e1d5ab Merge pull request #3120 from proddy/commands
Commands - fixes
2026-06-13 17:31:22 +02:00
proddy
7f98139deb add missing commands to restore 2026-06-13 17:24:29 +02:00
proddy
ea8e0c1819 Merge branch 'commands' of github.com:proddy/EMS-ESP32 into commands 2026-06-13 17:16:40 +02:00
Proddy
be0737f783 Merge pull request #8 from proddy/cursor/critical-bug-investigation-ac3f
Fix main-loop deadlock that breaks system/message and sendmail commands
2026-06-13 17:16:19 +02:00
proddy
6cedc0adc1 package update 2026-06-13 17:14:44 +02:00
proddy
06a81db88a minor heap optimizations 2026-06-13 16:47:14 +02:00
Cursor Agent
5ee08443f9 refactor: drop dead scheduler raw_value deferral, route url messages to worker
The raw_value/computed_value handoff on WebSchedulerService is no longer
used now that command_message()/command_sendmail() compute synchronously,
so remove the members and the dead block in the scheduler loop.

Also drop the system/message special-case in dispatchCommand(): a
system/message whose value embeds a {url} now blocks at execution time
like any other internal command, so it should be offloaded to the
command worker task (large stack, off the main loop) instead of running
inline. Update the now-stale comments.

Co-authored-by: Proddy <proddy@users.noreply.github.com>
2026-06-13 07:02:28 +00:00
Cursor Agent
515eb2a16b fix: run message/sendmail shunting-yard synchronously to avoid main-loop deadlock
command_message() and command_sendmail() handed their value to
WebSchedulerService via raw_value and busy-waited up to 2s for the
scheduler loop (running in a separate task) to compute it. After the
scheduler was moved to run synchronously in the main loop, any caller
running in the main loop (MQTT-triggered commands, scheduler-triggered
commands) deadlocks: the loop that would compute raw_value cannot run
while the caller is blocking inside it. The 2s wait then times out and
system/message fails entirely (sendmail sends the un-computed body).

Compute the value directly with compute() instead, which restores
correct behaviour for all callers.

Co-authored-by: Proddy <proddy@users.noreply.github.com>
2026-06-13 06:59:43 +00:00
Proddy
497d7cf7f3 Merge branch 'emsesp:dev' into commands 2026-06-12 16:41:38 +02:00
Proddy
ea5be9508e Merge pull request #3114 from proddy/commands
Commands
2026-06-12 16:41:25 +02:00