HeatMind
b2b98ef660
fix(weblog): guard against a weblog_buffer of 0 (pop_front on empty deque)
...
WebLogService::operator<< trims with `log_messages_.size() >= limit_log_messages_`.
size() is unsigned, so with limit_log_messages_ == 0 the condition holds even for an
empty deque and pop_front() runs on it - undefined behaviour, in practice heap
corruption. On a PSRAM board the stored value survives a reboot, so the device crashes
again as soon as the first log message is written.
Nothing clamps the value on the way in: start() copies settings.weblog_buffer with no
lower bound, the PSRAM branch of operator<< passes it straight into
limit_log_messages_, and ArduinoJson's | in WebSettings::update() only substitutes the
default for a missing or type-incompatible key - a stored 0 is a valid uint16_t.
- operator<<: skip the trim loop on an empty deque
- start(): keep the existing default when the stored value is 0
- getSetValues(): a missing or zero max_messages keeps the current size instead of
storing 0
- WebSettings::update(): repair a stored 0, and derive the psram/no-psram default once
instead of twice
Refs #3237
2026-09-15 09:13:24 +02:00
proddy
9a731d7731
update tests
2026-09-14 21:55:52 +02:00
proddy
167f194bdf
add auto check for firmware updates
2026-09-14 19:33:20 +02:00
proddy
7ae9d87a72
possible fix for #3201
2026-09-14 15:48:29 +02:00
Proddy
39e1555a9e
Merge branch 'emsesp:dev' into dev
2026-09-14 15:20:06 +02:00
Proddy
40079d764a
Merge pull request #3233 from MichaelDvP/dev
...
pc0flow #3224 , summermode #3230 , remove HA-config for excluded
2026-09-14 15:19:44 +02:00
proddy
ec73a134b5
check Eth, and show warnings
2026-09-14 12:43:34 +02:00
proddy
13a29ecc00
add internal sensors on fresh install
2026-09-13 15:14:40 +02:00
proddy
53e916ed96
use system_name function
2026-09-13 15:14:26 +02:00
proddy
3b4e0966e7
text changes
2026-09-13 15:14:11 +02:00
proddy
19cf29bfd3
update
2026-09-13 15:14:03 +02:00
proddy
33a44bc3a6
scripts to manually build fw
2026-09-13 15:13:54 +02:00
proddy
b6860c32ef
clean-up example
2026-09-13 15:13:41 +02:00
proddy
a27360d9b2
ESP32Async/ESPAsyncWebServer @ 3.12.1
2026-09-13 15:13:35 +02:00
proddy
c076af7515
package update
2026-09-13 15:13:19 +02:00
MichaelDvP
540a8654f7
chore: update generated files for v3.9.0-dev.9
2026-09-13 06:23:51 +00:00
MichaelDvP
65aca1b9c1
remove HA config for excluded entity, dev.9
2026-09-13 08:06:16 +02:00
MichaelDvP
c31bc9054a
Summermode for UI800, fix #3230
2026-09-11 17:05:13 +02:00
proddy
213e5ef80d
add back internal sensors on a fresh install
2026-09-11 16:28:50 +02:00
proddy
8f37296c89
show NVS values on show command
2026-09-11 16:28:35 +02:00
proddy
a1a880b8c3
text changes and comments
2026-09-11 16:27:53 +02:00
proddy
274b5635b0
change test url
2026-09-11 16:27:21 +02:00
proddy
28fa4aa63f
added clear()
2026-09-11 16:27:10 +02:00
proddy
a66b70c3f3
package update
2026-09-11 16:26:57 +02:00
proddy
906168f777
cleanup
2026-09-11 16:26:44 +02:00
proddy
d96048a416
update node
2026-09-11 11:29:30 +02:00
proddy
84357ba84a
adjust comments
2026-09-11 11:29:17 +02:00
proddy
4f3f858fc7
3.9.0-dev.9
2026-09-11 11:29:03 +02:00
proddy
a060e5efbf
reduce >1 blank lines
2026-09-11 11:28:53 +02:00
proddy
0bfbfcaecb
formatting
2026-09-11 11:28:33 +02:00
proddy
94267ba6e4
lint warning
2026-09-11 11:27:30 +02:00
proddy
158d5c9d4e
lint warning
2026-09-11 11:27:21 +02:00
proddy
9fccbbe152
update node, skip corepack
2026-09-11 11:27:08 +02:00
proddy
38f993a0ab
remove old param
2026-09-11 11:26:48 +02:00
MichaelDvP
604b1344ec
Merge remote-tracking branch 'emsesp/dev' into dev
2026-09-09 07:41:40 +02:00
Proddy
ef11879dc0
Merge pull request #3226 from proddy/dev
...
don't use Eth if not on ESP32
2026-09-08 22:09:02 +02:00
proddy
e3d9f03097
don't use Eth if not on ESP32
2026-09-08 22:08:22 +02:00
Proddy
f90b7e9d91
Merge pull request #3217 from proddy/dev
...
Cleaner MD5 and Firmware upload messages in WebUI
2026-09-08 21:15:35 +02:00
Proddy
e489c0f77d
Merge branch 'dev' into dev
2026-09-08 21:14:49 +02:00
proddy
99dd04cbf5
remove writing efuse
2026-09-08 21:08:58 +02:00
proddy
4dac338e2c
remove comments
2026-09-08 21:08:44 +02:00
proddy
ff47722693
package update
2026-09-08 21:08:33 +02:00
MichaelDvP
3ef63dff73
add pc0 flow for #3224
2026-09-08 11:48:31 +02:00
MichaelDvP
c75ebb94a4
Merge remote-tracking branch 'proddy/dev' into dev
2026-09-06 20:35:18 +02:00
MichaelDvP
21923db81d
fix standalone
2026-09-05 12:09:09 +02:00
Proddy
6aed13a9b2
Merge pull request #3225 from MichaelDvP/dev
...
fix solar enable #3223
2026-09-05 12:04:21 +02:00
proddy
dbf54f09f5
auto-formatting
2026-09-05 11:02:33 +02:00
proddy
204ad1f8c9
add psram so standalone compiles
2026-09-05 11:02:20 +02:00
proddy
928e1e7a69
update
2026-09-05 11:02:07 +02:00
proddy
a6ea91439b
pkg update
2026-09-05 10:58:14 +02:00