Commit Graph

12 Commits

Author SHA1 Message Date
e1f232eace Refactor WebSocket connection handlers: streamline logs and switch to warnings for closure events
Signed-off-by: YoungSoo Shin <shinys000114@gmail.com>
2025-10-17 09:58:28 +09:00
40fd0a667a Add user settings feature to update username and password
Signed-off-by: YoungSoo Shin <shinys000114@gmail.com>
2025-09-26 12:47:03 +09:00
bfc2b17ed4 Add token verify in websocket request
Signed-off-by: YoungSoo Shin <shinys000114@gmail.com>
2025-09-26 12:08:55 +09:00
6be0512146 Add login function
TODO ws request auth

Signed-off-by: YoungSoo Shin <shinys000114@gmail.com>
2025-09-26 12:08:55 +09:00
39ca2d205a Add version info
Signed-off-by: YoungSoo Shin <shinys000114@gmail.com>
2025-09-24 11:59:50 +09:00
3902740a25 Add WebSocket support for switch status updates
- Define `LoadSwStatus` protobuf message for switch state data (`main` and `usb`).
- Introduce `updateSwitchStatusUI` to synchronize UI with WebSocket switch status payloads.
- Update backend logic to manage and broadcast switch status changes dynamically.

Signed-off-by: YoungSoo Shin <shinys000114@gmail.com>
2025-09-08 18:05:50 +09:00
630d3c4f58 Update: Separate uptime UI updates and enhance logging for WebSocket messages
- Add `updateUptimeUI` function for dedicated uptime handling.
- Modify WebSocket message handling to update uptime separately from sensor data.
- Adjust logging to provide better clarity for unknown payload types.
- Fix formatting inconsistency in uptime display (`1d` -> `1days`).

Signed-off-by: YoungSoo Shin <shinys000114@gmail.com>
2025-09-03 15:21:01 +09:00
ab04ff8413 Update: websocket optimization
- Use protobuf
 - Eliminate unnecessary optimization logic
 - UART, sensor, status data transmitted as pb data

Signed-off-by: YoungSoo Shin <shinys000114@gmail.com>
2025-09-02 14:50:48 +09:00
f0ca03f8cb Refactor: Apply consistent formatting and improve code style across all modules
Signed-off-by: YoungSoo Shin <shinys000114@gmail.com>
2025-09-01 12:32:23 +09:00
6b87c7b0c4 Fix: Make event listener setup idempotent and modularize connection logic
Signed-off-by: YoungSoo Shin <shinys000114@gmail.com>
2025-09-01 12:32:23 +09:00
2dc5798b0a Apply modifications to mass-produced boards
- 3 channel power sensor ina3221
- io expander pca9557
- Some gpio moves
- ...

Signed-off-by: YoungSoo Shin <shinys000114@gmail.com>
2025-09-01 11:56:49 +09:00
2383894664 init commit
Signed-off-by: YoungSoo Shin <shinys000114@gmail.com>
2025-08-27 10:59:57 +09:00