Skip to content

(independent dual-zone) + DuckDNS update…#459

Open
asdafe wants to merge 5 commits into
vitotai:masterfrom
asdafe:clean-pr
Open

(independent dual-zone) + DuckDNS update…#459
asdafe wants to merge 5 commits into
vitotai:masterfrom
asdafe:clean-pr

Conversation

@asdafe

@asdafe asdafe commented Jul 16, 2026

Copy link
Copy Markdown

…r + GravityMon entegrasyonu

@asdafe

asdafe commented Jul 16, 2026

Copy link
Copy Markdown
Author

independent control, duckdns integration for remote access and gravitymon battery persentece update

asdafe and others added 2 commits July 18, 2026 20:07
… yerine)

updateIndependentState() hem cooler hem heater kararinda fridgeSensor
okumasini kullaniyordu. Isitici tarafi artik beerSensor->readFastFiltered()
ile karsilastiriliyor, heaterAllowed kontrolu de beerSensor->isConnected()
kullaniyor. Bu bug, Fridge Temp hic beerSetting seviyesine cikmadigi icin
isiticinin surekli acik kalmasina sebep oluyordu.

Co-authored-by: Cursor <cursoragent@cursor.com>
…cosmetic fix)

These 257 files' content is byte-identical to upstream/master; only their file mode had accidentally changed from 100755 to 100644 during a Windows-based commit. No functional change, just cleans up the PR diff.

Co-authored-by: Cursor <cursoragent@cursor.com>
@asdafe

asdafe commented Jul 19, 2026

Copy link
Copy Markdown
Author

there is a memory leak i cant find why

asdafe and others added 2 commits July 20, 2026 01:45
…buffer))

handleBody() mallocs _buffer for every request (even bodyless GETs, since isRequestHandlerTrivial() returns false). Several handleRequest() branches (Tilt/Pill scan commands, SETGRAVITY_PATH, GravityFormulaPath, the GRAVITY_PATH non-POST early return, and the final GET fallback) returned without ever freeing it, permanently leaking the allocation each time (the next handleBody() call overwrites the pointer, so it can never be recovered). Added a single _freeBuffer() helper and call it from every exit path of handleRequest().

Co-authored-by: Cursor <cursoragent@cursor.com>
Keep the early HTTP 200 ACK for hydrometers but stop the second request->send() that orphaned AsyncWebServer responses (~1KB/hour). Also add DiagCounters, richer /fs heap metrics, ws.cleanupClients(), ignore tools/, and document the fixes in README. DuckDNSUpdater.h credentials are intentionally not committed.

Co-authored-by: Cursor <cursoragent@cursor.com>
@asdafe

asdafe commented Jul 22, 2026

Copy link
Copy Markdown
Author

fixed the memory leak
you can check the test run here: http://orcunozden.duckdns.org:27141/
heap_log.csv
heap_log_old.csv
and those are the before and after heap logs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant