Remove deprecated HTML files and scripts, refactor API to support asynchronous requests, and improve WebSocket handling for scale actions.

This commit is contained in:
Manuel Weiser committed 2026-02-19 17:00:21 +01:00
1 parent 823d1f8c7e
commit 13a0acf2ac
20 files changed
+260 -2147

No files matched your search

+4 -3
View File
@@ -5,7 +5,7 @@
#include "HX711.h"
uint8_t setAutoTare(bool autoTareValue);
uint8_t start_scale(bool touchSensorConnected);
void start_scale(bool touchSensorConnected);
uint8_t calibrate_scale();
uint8_t tareScale();
@@ -20,12 +20,13 @@ extern HX711 scale;
extern int16_t weight;
extern uint8_t weightCounterToApi;
extern uint8_t scale_tare_counter;
extern uint8_t scaleTareRequest;
extern bool scaleTareRequest;
extern uint8_t pauseMainTask;
extern bool scaleCalibrated;
extern bool autoTare;
extern bool scaleCalibrationActive;
extern volatile bool scaleCalibrationRequest;
extern TaskHandle_t ScaleTask;
#endif
#endif