Commit Graph

5776 Commits

Author SHA1 Message Date
proddy
eceb097cc7 fix thermostat date/time for HT3 2026-06-28 16:08:31 +02:00
proddy
1040450cb2 fix set datetime for junkers 2026-06-28 16:03:31 +02:00
proddy
7f308f4036 auto-formatting 2026-06-28 14:39:02 +02:00
proddy
61d3ad023a updates from 3.8.3-dev.7 2026-06-28 14:38:29 +02:00
Proddy
0e18645ba5 Merge branch 'emsesp:dev' into dev 2026-06-27 14:32:48 +02:00
MichaelDvP
943048a920 dev.7 2026-06-27 13:14:57 +02:00
MichaelDvP
2b8a0bd8b7 Merge remote-tracking branch 'emsesp/dev' into dev 2026-06-27 13:06:19 +02:00
MichaelDvP
d83b56a13c calcutae dewtemp for Easycontrol, #3135 2026-06-27 13:03:10 +02:00
proddy
1a603e70ec AP crash and infinite loop during WiFi scan #3128 2026-06-25 21:29:02 +02:00
proddy
2a6b436b2e fix: negative dew point calculation (emulated RC100H) #3134 2026-06-25 21:23:49 +02:00
Proddy
1f34a41d27 Merge branch 'emsesp:dev' into dev 2026-06-25 21:14:59 +02:00
s-schnitzer
855edace20 fix: negative dew point calc. (emulated RC100H) 2026-06-25 18:10:52 +02:00
MichaelDvP
20e3d6a19b dev.7, fix crash 2026-06-23 07:57:55 +02:00
proddy
745d87c6d2 fixes https://github.com/emsesp/EMS-ESP32/discussions/3127 2026-06-22 22:54:25 +02:00
MichaelDvP
67953fccd6 from PR #3128 2026-06-22 11:59:06 +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
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
soderdaen
f8fa092ac3 Fix: AP crash and infinite loop during WiFi scan. 2026-06-20 10:42:38 +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
437b8447a2 Merge pull request #3122 from proddy/commands
Commands - update web
2026-06-14 17:11:13 +02:00
proddy
fa265e8ea4 3.9.0-dev.13 2026-06-14 17:09:52 +02:00
MichaelDvP
c260914dac fix update warning message 2026-06-14 08:59:50 +02:00
proddy
7f98139deb add missing commands to restore 2026-06-13 17:24:29 +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
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
f5c15f83b4 fix bug when comparing dev releases 2026-06-12 16:29:35 +02:00
proddy
e3bec544be version test 2026-06-12 16:29:26 +02:00
proddy
27eadcb875 add tests for version upgrades 2026-06-12 16:29:17 +02:00
proddy
7664d50d69 one command function, to save on heap 2026-06-10 22:06:46 +02:00
proddy
0406ee0529 Scheduler to sync, Commands to async 2026-06-09 23:04:41 +02:00
proddy
9426ae9df6 fix mDNS restart after a reset 2026-06-09 23:00:32 +02:00
proddy
b1944601ef scheduler loop is no longer async 2026-06-09 23:00:13 +02:00
proddy
cb6e452864 revert WiFi.disconnect 2026-06-09 20:30:12 +02:00
proddy
2cb7677098 implement migration to new Commands/Scheduler 2026-06-08 22:35:07 +02:00
proddy
dc096a9856 load Commands first before Scheduler 2026-06-08 22:34:50 +02:00
proddy
8496a911da remove colors 2026-06-08 22:34:27 +02:00
proddy
8fb69826f9 comments 2026-06-08 20:54:43 +02:00
proddy
7ee6dcf0e0 call commands can override value 2026-06-08 20:44:21 +02:00
proddy
9370ae69ec cleanup 2026-06-08 20:44:09 +02:00
proddy
afee7246c6 prevent STA warning 2026-06-08 20:44:00 +02:00
proddy
2102180c46 add commands to system backup 2026-06-08 20:43:42 +02:00
proddy
064548316e dont show unused json elements 2026-06-08 20:43:27 +02:00
proddy
e53aaffd4d add comment 2026-06-08 20:43:11 +02:00
proddy
0d14601385 optimize 2026-06-08 20:43:03 +02:00
proddy
96e3fdc323 use EMSdevice::DeviceType::SYSTEM 2026-06-08 20:42:42 +02:00
proddy
fd359ab9ed optional value when calling commands 2026-06-08 20:42:08 +02:00