Commit Graph
100 Commits
Author SHA1 Message Date
tobimai b8d5ba041b Moved processor 2026-05-24 15:54:04 +02:00
tobimai 8fbbfc90cd refactor(ota): implement polling-based update system and fix API typo
Test project compilation / test (push) Successful in 3m52s
- Fix typo in OTA update status API endpoint (/ota_udpate_status → /ota_update_status)
- Replace WebSocket-based update progress with polling mechanism
- Add OTA lifecycle callbacks (started, finished, progress, error)
- Implement check_update_task with internet connectivity verification
- Add LittleFS/SPIFFS update support
- Simplify update progress page to use 90-second delay and polling instead of real-time WebSocket updates

This refactor improves reliability by checking internet connectivity before attempting updates and simplifies the frontend by removing WebSocket complexity in favor of a timeout-based polling approach.
2026-05-12 19:09:05 +02:00
tobimai d337784faa Moved a lot of global vars to queues
Test project compilation / test (push) Successful in 3m52s
2026-04-01 20:11:53 +02:00
tobimai f1d9abc4c7 Switched to queues for webserver
Test project compilation / test (push) Successful in 3m44s
2026-03-30 18:34:14 +02:00
tobimai 752cd86234 refractor 2026-03-30 17:20:06 +02:00
tobimai e5fecde7f5 Factored out webserver stuff to own task/file 2026-03-30 17:08:36 +02:00
tobimai cfc8438042 Cleanup + Bugfix
Test project compilation / test (push) Successful in 3m43s
2026-03-29 17:46:41 +02:00
tobimai aa69687ee8 comment
Test project compilation / test (push) Successful in 3m56s
2026-03-26 17:06:02 +01:00
tobimai 96341cfd42 Bump Version
Test project compilation / test (push) Successful in 4m8s
Test project compilation / test (pull_request) Successful in 3m49s
2025-11-05 20:23:11 +01:00
tobimai c432f47dff Fixed OTA 2025-11-05 20:20:24 +01:00
tobimai 123f75dd89 fix
Test project compilation / test (push) Successful in 3m46s
Test project compilation / test (pull_request) Successful in 3m57s
2025-11-05 19:07:19 +01:00
tobimai 462c5f3db7 Updated version
Test project compilation / test (push) Failing after 2m6s
2025-11-05 18:56:53 +01:00
tobimai 4f02a8f3d0 fixed time 2025-11-04 21:09:40 +01:00
tobimai 8196ae4601 pio config cleanup 2025-11-03 17:53:30 +01:00
tobimai 7697cb4ae9 Fixed build pipelines
Test project compilation / test (push) Successful in 4m32s
2025-11-03 17:25:15 +01:00
tobimai dccdca3ad8 fix FS image
Test compiling project / test (push) Successful in 5m22s
2025-11-02 21:13:38 +01:00
tobimai d2c3fc0b46 lol
Test compiling project / test (push) Failing after 6m6s
2025-11-02 20:53:23 +01:00
tobimai 1d9f0f119a use v2 docker image
Test compiling project / test (push) Failing after 0s
2025-11-02 20:48:12 +01:00
tobimai 037fc3391c are you kidding me
Test compiling project / test (push) Failing after 0s
2025-11-02 20:44:13 +01:00
tobimai aeac15aa2c test
Test compiling project / test (push) Failing after 2m27s
2025-11-02 20:30:03 +01:00
tobimai 6ee4086716 fuck
Test compiling project / test (push) Failing after 2m28s
2025-11-02 20:27:13 +01:00
tobimai 013356c41e wtf
Test compiling project / test (push) Failing after 2m38s
2025-11-02 20:21:19 +01:00
tobimai c5b882d693 Merge branch 'rev2' of ssh://gitea.tobiasmaier.me:222/tobimai/waterlevel-software into rev2
Test compiling project / test (push) Failing after 6m24s
2025-11-02 20:12:59 +01:00
tobimai d951d1d2be Test 2025-11-02 20:12:57 +01:00
tobimai 66a21928a4 fix url v2
Test compiling project / test (push) Failing after 4m38s
2025-11-02 16:55:37 +01:00
tobimai 021a5c68fa Fix
Test compiling project / test (push) Failing after 0s
2025-11-02 16:54:48 +01:00
tobimai 27ebbe22ac Updates
Test compiling project / test (push) Failing after 0s
2025-11-02 12:50:10 +01:00
tobimai f0e237cd71 Switch to PIO image
Test compiling project / test (push) Failing after 0s
2025-05-24 16:02:15 +00:00
tobimai 7b0f3d20b0 Switch to devcontainer
Test compiling project / test (push) Waiting to run
2025-05-24 15:59:22 +00:00
tobimai ef04f1077c Merge branch 'main' of ssh://gitea.maiertobi.de:222/tobimai/waterlevel-software
Test compiling project / test (push) Successful in 2m42s
2025-04-18 21:05:09 +02:00
tobimai 47445d6cd5 version bump 2025-04-18 21:05:07 +02:00
tobimai 78867ae8a3 Merge pull request 'Fix Sensor' (#2) from fix-sensor into main
Test compiling project / test (push) Successful in 2m43s
Reviewed-on: https://gitea.maiertobi.de/tobimai/waterlevel-software/pulls/2
2025-04-18 21:00:15 +02:00
tobimai 0f581a54c5 Fix Sensor
Test compiling project / test (push) Successful in 2m46s
2025-04-18 20:57:09 +02:00
tobimai 82455c830f revert change + version bump
Test compiling project / test (push) Successful in 2m41s
2025-03-23 18:27:16 +01:00
tobimai d73b2c66cd Version bump
Test compiling project / test (push) Successful in 2m44s
2025-03-23 18:14:52 +01:00
tobimai 0cc2638db2 Merge pull request 'logger-rework' (#1) from logger-rework into main
Test compiling project / test (push) Has been cancelled
Reviewed-on: https://gitea.maiertobi.de/tobimai/waterlevel-software/pulls/1
2025-03-23 18:14:19 +01:00
tobimai abbb8d918b fix
Test compiling project / test (push) Successful in 2m44s
2025-03-23 18:04:14 +01:00
tobimai 67e9ae1bca Fixed wrong shunt voltage reading
Test compiling project / test (push) Failing after 2m24s
2025-03-23 17:59:43 +01:00
tobimai 2fa4b0761b FAR nicer logging
Test compiling project / test (push) Failing after 2m14s
2025-03-20 22:33:22 +01:00
tobimai 9064d3cd01 Merge branch 'logger-rework' of ssh://gitea.maiertobi.de:222/tobimai/waterlevel-software into logger-rework
Test compiling project / test (push) Failing after 1m39s
2025-03-20 21:09:03 +01:00
tobimai f16659c25c Changes 2025-03-20 21:08:37 +01:00
tobimai 6364becbe2 Fixed library
Test compiling project / test (push) Has been cancelled
2025-03-20 21:08:30 +01:00
tobimai 76e182935b Added syslog
Test compiling project / test (push) Failing after 1m37s
2025-03-18 22:51:41 +01:00
tobimai eeaac9548e Rework logging
Test compiling project / test (push) Failing after 1m34s
2025-03-10 23:33:41 +01:00
tobimai 374b23d99a Merge branch 'main' of ssh://gitea.maiertobi.de:222/tobimai/waterlevel-software
Test compiling project / test (push) Successful in 2m27s
2025-03-10 22:06:42 +01:00
tobimai bd18952fe2 fixed ip 2025-03-10 22:06:12 +01:00
tobimai 0071a09935 Fix water levelTest
Test compiling project / test (push) Successful in 2m30s
2025-02-23 17:54:19 +01:00
tobimai 99705355aa Cleanup + bump to 1.0.0
Test compiling project / test (push) Successful in 2m31s
2025-02-23 11:34:41 +01:00
tobimai dabcafa5db Fixed data export docs
Test compiling project / test (push) Successful in 2m36s
2025-02-23 10:56:38 +01:00
tobimai e348ef21c9 Switched to 2 decimal rounded percentage
Test compiling project / test (push) Successful in 2m40s
2025-02-23 10:50:53 +01:00
tobimai d0daa024dc Added raw water and level endpoints
Test compiling project / test (push) Successful in 2m39s
2025-02-23 10:40:11 +01:00
tobimai 354661c9ee FIxed SSID display in settings
Test compiling project / test (push) Successful in 2m43s
2025-02-23 10:36:28 +01:00
tobimai 146a4412e0 Fixed OTA Ethernet bug
Test compiling project / test (push) Successful in 2m28s
2025-02-23 02:38:59 +01:00
tobimai 2c4344e40d Added printout of shunt voltage
Test compiling project / test (push) Successful in 2m27s
2025-02-22 22:59:08 +01:00
tobimai 6e171fbde7 Version bumps, OTA working
Test compiling project / test (push) Successful in 2m23s
2025-02-22 22:15:43 +01:00
tobimai 32d35d7029 Version bump
Test compiling project / test (push) Successful in 2m46s
2025-02-22 21:45:50 +01:00
tobimai 102a842079 Added updating shit
Test compiling project / test (push) Successful in 2m32s
2025-02-19 21:22:52 +01:00
tobimai ab16379e73 Added SPIFFS updating
Test compiling project / test (push) Successful in 2m38s
2025-02-19 20:48:26 +01:00
tobimai 0cd42484f9 Updated SPIFFS version
Test compiling project / test (push) Successful in 2m35s
2025-02-19 20:40:50 +01:00
tobimai f213ecd345 well lets see lol
Test compiling project / test (push) Successful in 2m22s
2025-02-18 21:59:51 +01:00
tobimai 3b03c8619b Version bump
Test compiling project / test (push) Successful in 2m19s
2025-02-17 21:52:27 +01:00
tobimai 8b8a848701 Fixed bug always showing available update
Test compiling project / test (push) Has been cancelled
2025-02-17 21:52:15 +01:00
tobimai 6cec8f0a11 First Version to be updateable over API
Test compiling project / test (push) Successful in 2m34s
2025-02-17 21:46:20 +01:00
tobimai 6c4dc144d8 Added Update API endpoint
Test compiling project / test (push) Successful in 2m30s
2025-02-17 20:59:32 +01:00
tobimai 3b1ab2e9e9 Updated shit
Test compiling project / test (push) Successful in 2m21s
2025-02-17 00:12:50 +01:00
tobimai 7c4dd280c2 Fixed stuff
Test compiling project / test (push) Successful in 2m17s
2025-02-15 18:05:25 +01:00
tobimai 97cd402aa4 Version bump
Test compiling project / test (push) Successful in 2m20s
2025-02-15 17:44:50 +01:00
tobimai 16462eb844 Test if update actually updates
Test compiling project / test (push) Successful in 2m15s
2025-02-15 17:11:07 +01:00
tobimai 6186959d8f First version able to OTA update
Test compiling project / test (push) Successful in 2m17s
2025-02-15 17:06:20 +01:00
tobimai f1f42f3014 Fixed CICD
Test compiling project / test (push) Successful in 2m22s
2025-02-15 16:57:44 +01:00
tobimai e8b8e95c13 Inital version to support OTA 2025-02-15 16:57:21 +01:00
tobimai 33fdae3fb2 extract Version from define
Test compiling project / test (push) Failing after 1m33s
2025-02-15 16:03:32 +01:00
tobimai 10b34c3fd4 Install curl
Test compiling project / test (push) Successful in 2m18s
2025-02-15 15:35:25 +01:00
tobimai b945aaeb50 Test with uploads
Test compiling project / test (push) Failing after 2m29s
2025-02-15 15:32:06 +01:00
tobimai 056929b4a8 added tests
Test compiling project / test (push) Successful in 2m19s
2025-02-15 15:18:22 +01:00
tobimai 0ffc824997 test2
Test compiling project / test (push) Successful in 2m18s
2025-02-15 15:15:27 +01:00
tobimai 529ab386c2 stupid
Test compiling project / test (push) Failing after 1m53s
2025-02-14 21:35:13 +01:00
tobimai 46b9507341 er
Test compiling project / test (push) Failing after 37s
2025-02-14 21:32:23 +01:00
tobimai a473f95b13 Fix
Test compiling project / test (push) Failing after 42s
2025-02-14 21:30:13 +01:00
tobimai 5738eb4451 A ton of things
Test compiling project / test (push) Failing after 1m38s
2025-02-14 21:27:04 +01:00
tobimai 04b2aba6ca Pull OTA prototype
Test compiling project / test (push) Successful in 1m50s
2025-02-11 22:42:43 +01:00
tobimai 5171374ff3 fix
Test compiling project / test (push) Successful in 1m43s
2025-02-09 18:39:46 +01:00
tobimai 97df35840a pls no pull OTA lib
Test compiling project / test (push) Failing after 1m32s
2025-02-09 18:37:39 +01:00
tobimai 1f048db3ce ehehe
Test compiling project / test (push) Successful in 1m47s
2024-12-20 23:00:46 +01:00
tobimai 7fe0eda3ba Things
Test compiling project / test (push) Successful in 1m41s
2024-12-19 23:03:40 +01:00
tobimai 97b78e5b64 more warnings 2024-12-19 22:37:28 +01:00
tobimai d212216c26 CLeanup
Test compiling project / test (push) Successful in 1m45s
2024-12-17 22:59:49 +01:00
tobimai 31bc4cf5cf Fixed wrong imports breaking CI
Test compiling project / test (push) Successful in 1m40s
2024-12-08 20:43:18 +01:00
tobimai 380503c8b8 removed unecessary lib
Test compiling project / test (push) Failing after 1m27s
2024-12-08 19:48:28 +01:00
tobimai ff97ae18eb Cleanup and structirng
Test compiling project / test (push) Failing after 1m35s
2024-12-08 19:42:24 +01:00
tobimai ec332c5f76 added proper hostname
Test compiling project / test (push) Successful in 1m43s
2024-11-14 23:15:43 +01:00
tobimai 57a6e041a5 fixed cicd
Test compiling project / test (push) Successful in 1m36s
2024-11-04 19:26:45 +01:00
tobimai 6591fc0152 fix libs
Test compiling project / test (push) Failing after 1m30s
2024-11-04 19:13:12 +01:00
tobimai 2b48b0ea2e FInally done gauge
Test compiling project / test (push) Failing after 1m25s
2024-11-03 20:33:58 +01:00
tobimai db567eeaa5 Added gauge, fixed shit
Test compiling project / test (push) Failing after 1m30s
2024-10-24 22:54:54 +02:00
tobimai 57b1ce8db7 I am happy
Test compiling project / test (push) Failing after 1m39s
2024-08-01 23:13:56 +02:00
tobimai 3c1f66d7d0 Now working with INA233
Test compiling project / test (push) Failing after 1m37s
2024-07-30 23:15:01 +02:00
tobimai 0ff5604419 Added
Test compiling project / test (push) Failing after 1m26s
2024-07-28 18:01:41 +02:00
tobimai 1d19e23df6 Added INA233
Test compiling project / test (push) Failing after 1m39s
2024-07-28 17:45:49 +02:00
tobimai ce08e4c211 Added
Test compiling project / test (push) Successful in 1m56s
2023-10-28 19:17:00 +02:00