Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Leds panel fixed port #23007

Merged
merged 2 commits into from
Feb 14, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tasmota/berry/leds_panel/leds_panel.be
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
"<!DOCTYPE HTML><html><head>"
static var HTML_URL_F =
Expand Down Expand Up @@ -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
Expand Down
Binary file modified tasmota/berry/leds_panel/leds_panel.bec
Binary file not shown.