diff --git a/usermods/GPU_Fan_Controller/gpu_fan_page.h b/usermods/GPU_Fan_Controller/gpu_fan_page.h new file mode 100644 index 00000000..f4499c72 --- /dev/null +++ b/usermods/GPU_Fan_Controller/gpu_fan_page.h @@ -0,0 +1,773 @@ +/* + * GPU Fan Controller - Custom Web UI + * + * This file adds a custom settings page with: + * - Interactive curve editor (drag points on a graph) + * - Live GPU temperature display + * - Real-time fan speed indicator + */ + +// Add this to the usermod class - replaces the simple appendConfigData + +void addSettingsPage() { + // This injects a custom page into WLED's web interface +} + +// Custom HTML page served at /gpu-fan +void serveGpuFanPage(AsyncWebServerRequest *request) { + String html = F(R"rawliteral( + + +
+ + +| Point | +Temperature (°C) | +Fan Speed (%) | +
|---|