Commit Graph
11305 Commits
Author SHA1 Message Date
Proddy 33df92fdba Merge branch 'emsesp:dev' into dev 2026-10-26 21:25:21 +01:00
Proddy 8f7049b47a Merge pull request #3316 from neonll/fix/c6-default-board-pins 2026-10-24 10:00:26 +02:00
Alexander DandClaude Opus 5.5 e1db103470 fix: give ESP32-C6 valid default GPIOs on first start
The C6 autodetect picked the CUSTOM profile, but load_board_profile() has
no entry for it, so Rx, Tx and the button stayed at the placeholder 99.
The startup settings load then failed the GPIO check and fell back to an
empty settings object (blank Board Profile, Tx Mode and Bus ID), and every
Application settings save returned 400 until valid pins were sent together
with CUSTOM through the API.

Start a C6 without a profile as CUSTOM with pins for the Seeed XIAO
ESP32-C6 (the c6_xiao_4M build): Rx GPIO20 (D9), Tx GPIO19 (D8), button
GPIO9 (BOOT), no LED, no Dallas sensor.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-23 19:39:06 +00:00
proddy 6dbb53e5af add off to RC300/RC310 nofrostmode #3311 2026-10-21 23:27:01 +02:00
Proddy dc2823c1de Merge pull request #3309 from proddy/dev
update time zone strings to IANA tz 2026e
2026-10-20 22:07:04 +02:00
Proddy 304eae34bd Merge branch 'dev' into dev 2026-10-20 22:04:53 +02:00
Proddy 960e7376fe Merge pull request #3301 from csutcliff/pr/mqtt-task-stack
fix(mqtt): 8 KB MQTT task stack when TLS verifies a CA certificate
2026-10-20 21:20:57 +02:00
proddy d91cf08b1d pkg update 2026-10-20 21:18:28 +02:00
proddy 746e5c5ef3 migrate stored TZ formats from IANA labels on boot 2026-10-20 21:14:45 +02:00
CyberNative AI LLC 955a6d8c56 fix(ntp): update time zone strings to IANA tz 2026e
The TIME_ZONES table predates several tz releases, so 32 zones give the
wrong UTC offset today or within the next year when the device applies
the string with setenv("TZ"): Mexico (no DST since 2022), Egypt (DST
again since 2023), Kazakhstan, Morocco, Paraguay, Iran, Jordan, Syria,
Greenland, and from 1 November 2026 British Columbia, Alberta, the
Northwest Territories and Manitoba (permanent UTC-7, -6, -6 and -5).

Each value is now the POSIX TZ footer of the zone's TZif file in IANA
tz 2026e (PyPI tzdata 2026.5). The keys and their order are unchanged.
"UNK" abbreviations become the numeric <+01> form, which newlib accepts.

America/Godthab and America/Scoresbysund still show summer time from
1 January to the last Sunday in March on newlib: their rule time is
negative (M3.5.0/-1) and newlib's tzset reads it as unsigned. That is
a newlib bug, not a table error.
2026-10-20 21:12:14 +02:00
proddy 19187431ce fix 2026-10-20 18:17:59 +02:00
Chris Sutcliff cdf6375c71 fix(mqtt): 8 KB MQTT task stack when TLS verifies a CA certificate
On boards with PSRAM the MQTT client runs in its own task with a 5120
byte stack. Verifying an EC certificate chain against a CA, such as
Let's Encrypt ISRG Root X2, needs about 6 KB, so the task overflowed
and the board boot looped on every connect.

The espMqttClient constructors now take the stack size, and
startClient() passes EMSESP_MQTT_STACKSIZE_CA (8192) when TLS is on
with a CA, keeping the 5120 default for insecure TLS and plain MQTT.
The client is recreated when that changes. The stack usage log
reports against the size the task was created with.
2026-10-20 12:40:59 +01:00
Proddy 2a72d48468 Merge pull request #3290 from proddy/dev
Fixes and new enhancements
2026-10-20 13:08:34 +02:00
Proddy ed0aedcce0 Merge branch 'dev' into dev 2026-10-20 13:07:40 +02:00
proddy fe7bc1c40f fix SoftAP fallback to keep retrying WiFi STA after cold boot 2026-10-20 13:06:26 +02:00
proddy 65385dfa3c pkg update 2026-10-20 12:38:48 +02:00
proddy b95873169e more EMSESP_GATEWAY_TX_HOLD tests 2026-10-20 12:38:44 +02:00
proddy 90fab51af3 update 2026-10-20 12:37:31 +02:00
proddy ac6de5bb44 update 2026-10-20 12:37:26 +02:00
proddy 4cfead4f58 update scripts for md5 check 2026-10-20 12:37:19 +02:00
Proddy f20c064a2c Merge pull request #3306 from csutcliff/pr/upload-406-response
fix(upload): send the 406 response for a rejected upload
2026-10-19 22:45:27 +02:00
Proddy d449d62b9f Merge pull request #3305 from csutcliff/pr/upload-error-free
fix(upload): don't crash when an upload is rejected
2026-10-19 22:44:37 +02:00
Chris Sutcliff 8cd23c3265 fix(upload): send the 406 response for a rejected upload 2026-10-19 21:07:40 +01:00
Chris Sutcliff 05575a28d5 fix(upload): don't crash when an upload is rejected 2026-10-19 20:52:21 +01:00
Proddy c1395f29c1 Merge pull request #3304 from csutcliff/pr/upload-restart
fix(upload): restart after a firmware upload when the client closes the connection
2026-10-19 21:24:50 +02:00
proddy 4fa3319caf #3297 2026-10-18 16:14:49 +02:00
proddy a52c98e789 fix negative values - #3297 2026-10-18 16:11:58 +02:00
proddy 9ff4dadedd remove dot 2026-10-17 15:24:53 +02:00
proddy 93a986be7f updates with recent changes in dev-19 2026-10-17 15:23:07 +02:00
proddy 88be02aae2 update 2026-10-17 15:10:21 +02:00
proddy 4d43307e9a #3290 2026-10-17 15:07:25 +02:00
proddy 65fb1ea299 update 2026-10-17 14:35:40 +02:00
proddy d49a6447e3 chore: update generated files for v3.9.0-dev.19 2026-10-17 12:33:02 +00:00
proddy 674a554eae #3296 2026-10-17 14:22:06 +02:00
proddy 921807211b pkg update 2026-10-17 13:50:00 +02:00
proddy 4d779cd972 more tests for #3094 2026-10-17 13:49:11 +02:00
proddy cbe8ea21af update 2026-10-17 13:45:13 +02:00
proddy 66d30570ac custom min/max applied when limits read 2026-10-17 13:39:20 +02:00
proddy caedc0709c remove obsolete 2026-10-17 13:39:05 +02:00
proddy f653ef447b chore: update generated files for v3.9.0-dev.19 2026-10-15 19:50:18 +00:00
proddy b829b2df5b updates 2026-10-15 21:41:33 +02:00
proddy d51a2a4481 #3273 2026-10-15 21:37:41 +02:00
proddy 5657aacb8b formatting 2026-10-15 21:21:50 +02:00
proddy d7b8c72ac2 fixes #3224 2026-10-15 21:00:15 +02:00
proddy f63dd2a030 use latest core libs 2026-10-14 12:06:26 +02:00
proddy da6c11197f pkg update 2026-10-14 10:35:32 +02:00
proddy ed4b82b962 update custom names 2026-10-14 10:35:26 +02:00
Chris Sutcliff 69a58e64ca fix(upload): restart after a firmware upload when the client closes the connection
uploadComplete() leaves _is_firmware / _is_filesystem set after a
successful upload. When the client then closes the connection,
handleDisconnect() sees the flags, treats it as an aborted upload and
sets the status back to NORMAL, cancelling the pending restart. The WebUI
gets away with it because its status poll turns the pending restart into
a requested one first; an upload from curl or a script is accepted
(md5_ok) but the device keeps running the old firmware until something
else restarts it.

Clear the flags once the upload has completed.
2026-10-14 00:52:28 +01:00
proddy 68d7f6e444 New Entity: Cooling status for free cooling
Fixes #3097
2026-10-13 22:40:09 +02:00
proddy 8693d27a02 show reset button after change 2026-10-13 21:07:56 +02:00