From 969611835c803197e0a683c9cf9647d074bdfae8 Mon Sep 17 00:00:00 2001 From: Theo Arends <11044339+arendst@users.noreply.github.com> Date: Mon, 26 Aug 2024 15:26:36 +0200 Subject: [PATCH] Fix GPIOViewer on ESP32 (needs upcoming core change) --- tasmota/tasmota_xdrv_driver/xdrv_121_gpioviewer.ino | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tasmota/tasmota_xdrv_driver/xdrv_121_gpioviewer.ino b/tasmota/tasmota_xdrv_driver/xdrv_121_gpioviewer.ino index 07a0f79f22c0..54871ed1b704 100644 --- a/tasmota/tasmota_xdrv_driver/xdrv_121_gpioviewer.ino +++ b/tasmota/tasmota_xdrv_driver/xdrv_121_gpioviewer.ino @@ -452,7 +452,9 @@ void GVHandleEvents(void) { GV->WebServer->setContentLength(CONTENT_LENGTH_UNKNOWN); // The payload can go on forever GV->WebServer->sendContent_P(HTTP_GV_EVENT); - +#ifdef ESP32 + GVWebClient.setSSE(true); +#endif GV->sse_ready = true; // Ready for async updates if (GV->sampling != 100) { GV->ticker.attach_ms(GV->sampling, GVMonitorTask); // Use Tasmota Scheduler (100) or Ticker (20..99,101..1000)