From 64ec55db4e7dcf451960acc766a1ccc092f467b9 Mon Sep 17 00:00:00 2001 From: s-hadinger <49731213+s-hadinger@users.noreply.github.com> Date: Fri, 14 Feb 2025 18:41:05 +0100 Subject: [PATCH] Leds panel fixed port (#23007) * Berry Leds_panel minor fix * Fix --- tasmota/berry/leds_panel/leds_panel.be | 4 ++-- tasmota/berry/leds_panel/leds_panel.bec | Bin 13805 -> 13812 bytes 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tasmota/berry/leds_panel/leds_panel.be b/tasmota/berry/leds_panel/leds_panel.be index f0e0b2aff..56cbbac3e 100644 --- a/tasmota/berry/leds_panel/leds_panel.be +++ b/tasmota/berry/leds_panel/leds_panel.be @@ -706,7 +706,7 @@ class leds_panel var h, w, cell_size, cell_space static var SAMPLING = 100 - static var PORT = 8887 # default port 8886 + static var PORT = 8886 # default port 8886 static var HTML_HEAD1 = "" static var HTML_URL_F = @@ -812,7 +812,7 @@ class leds_panel log("LED: no leds configured, can't start leds_panel", 3) return end - if (port == nil) port = 8886 end + if (port == nil) port = self.PORT end self.port = port self.web = global.webserver_async(port) self.sampling_interval = self.SAMPLING diff --git a/tasmota/berry/leds_panel/leds_panel.bec b/tasmota/berry/leds_panel/leds_panel.bec index 861a83c7f67ec77cf4379de26e1fb0e8af8af96b..a6d0ca9453c6d7429838a89f607e4cede5aaf62d 100644 GIT binary patch delta 209 zcmaEx{Uv+C9>%R3_c|%nvoo@EFbXhDU=ZQk!OhOo!@wjG!@$B*!z{!!ftQh|gINM7 zC&#ygfdMEc!!$vZfhQrEK`4ZQ3CLGqn!pECBLvn5TZb1OQ?=C=&nx delta 204 zcmey8{Wg2T9>#4O_c|%nZ&hLoVdP_)z#zo8gNvP~hk;2XhJl5rhFO4V0uLik2eTMZ zPKIv>0|QV@ifMu<15ZLSgHQ+q6Ob>*G=UeWMi8tI$X8&Rzyah7LCgsNnFHbrqwz(6 zd{G9G2nGfTvluZ(nGOaHh(eHrI7A{w0xHg6#J58VWB>!iVGIlm4bqdhC?{{0Q@JJx E00xvNO8@`>