Commit Graph

42 Commits

Author SHA1 Message Date
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 e5fecde7f5 Factored out webserver stuff to own task/file 2026-03-30 17:08:36 +02: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 27ebbe22ac Updates
Test compiling project / test (push) Failing after 0s
2025-11-02 12:50:10 +01:00
tobimai 2fa4b0761b FAR nicer logging
Test compiling project / test (push) Failing after 2m14s
2025-03-20 22:33:22 +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 99705355aa Cleanup + bump to 1.0.0
Test compiling project / test (push) Successful in 2m31s
2025-02-23 11:34:41 +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 32d35d7029 Version bump
Test compiling project / test (push) Successful in 2m46s
2025-02-22 21:45:50 +01:00
tobimai ab16379e73 Added SPIFFS updating
Test compiling project / test (push) Successful in 2m38s
2025-02-19 20:48:26 +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 6186959d8f First version able to OTA update
Test compiling project / test (push) Successful in 2m17s
2025-02-15 17:06:20 +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 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 7fe0eda3ba Things
Test compiling project / test (push) Successful in 1m41s
2024-12-19 23:03:40 +01:00
tobimai d212216c26 CLeanup
Test compiling project / test (push) Successful in 1m45s
2024-12-17 22:59:49 +01:00
tobimai ff97ae18eb Cleanup and structirng
Test compiling project / test (push) Failing after 1m35s
2024-12-08 19:42:24 +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
tobimai 496e7833f8 dasdas
Test compiling project / test (push) Successful in 1m44s
2023-10-08 01:43:41 +02:00
tobimai dd136784e6 added telemetry API endpoint
Test compiling project / test (push) Successful in 1m44s
2023-10-07 20:43:16 +02:00
tobimai 5bd085ba63 better formatting
Test compiling project / test (push) Successful in 1m42s
2023-10-07 20:08:31 +02:00
tobimai 9c6f83d4f0 stuff
Test compiling project / test (push) Successful in 1m44s
2023-10-07 20:03:57 +02:00
tobimai f55ffea36c add shit
Test compiling project / test (push) Successful in 1m55s
2023-10-07 16:25:30 +02:00
tobimai bbe5bfdcee Initial commit with action
Test compiling project / test (push) Failing after 33s
2023-10-02 15:30:30 +02:00