Skip to content

Commit e025a1c

Browse files
committed
D0 from 8192 back to 4096 for stability + small changes
1 parent 5cafe58 commit e025a1c

File tree

8 files changed

+10972
-10972
lines changed

8 files changed

+10972
-10972
lines changed

interface/src/lib/stores/telemetry.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function createTelemetry() {
4747
rssi: { rssi: 0, ssid: data.ssid, disconnected: true, safeMode: data.safeMode, restartNeeded: data.restartNeeded, saveNeeded: data.saveNeeded, hostName: data.hostName } // 🌙 variables added
4848
}));
4949
}
50-
localStorage.setItem('telemetry.rssi.hostName', data.hostName != "" ? data.hostName : 'MoonLight');
50+
localStorage.setItem('telemetry.rssi.hostName', data.hostName || 'MoonLight');
5151
},
5252
setBattery: (data: Battery) => {
5353
update((telemetry_data) => ({

interface/src/routes/+layout.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@
156156
</script>
157157

158158
<svelte:head>
159-
<title>{localStorage.getItem('telemetry.rssi.hostName')}</title>
159+
<title>{localStorage.getItem('telemetry.rssi.hostName') || 'MoonLight'}</title>
160160
</svelte:head>
161161

162162
{#if page.data.features.security && $user.bearer_token === ''}

interface/src/routes/statusbar.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@
9595
><Hamburger class="h-6 w-auto" /></label
9696
>
9797
<img src={logo} alt="Logo" class="h-12 w-12 lg:hidden" /> <!-- 🌙 -->
98-
<span class="px-2 text-xl font-bold lg:text-2xl">{localStorage.getItem('telemetry.rssi.hostName')}</span> <!-- 🌙 -->
98+
<span class="px-2 text-xl font-bold lg:text-2xl">{localStorage.getItem('telemetry.rssi.hostName') || 'MoonLight'}</span> <!-- 🌙 -->
9999
</div>
100100
<div class="indicator flex-none">
101101
<UpdateIndicator />

lib/framework/WWWData.h

Lines changed: 10963 additions & 10963 deletions
Large diffs are not rendered by default.

platformio.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,16 +49,16 @@ framework = arduino ;espidf will not work as libs rely on arduino (e.g. PhysicHT
4949
; platform = https://github.com/tasmota/platform-espressif32/releases/download/2025.05.30/platform-espressif32.zip ;; Platform Tasmota Arduino Core 3.1.3.250504based on IDF 5.3.3.250501platform_packages
5050
; platform_packages = framework-arduinoespressif32 @ 3.1.3
5151

52-
platform = https://github.com/pioarduino/platform-espressif32/releases/download/55.03.34/platform-espressif32.zip ; Sep 20, check latest: https://github.com/pioarduino/platform-espressif32/releases
52+
platform = https://github.com/pioarduino/platform-espressif32/releases/download/55.03.35/platform-espressif32.zip ; Sep 20, check latest: https://github.com/pioarduino/platform-espressif32/releases
5353
build_flags =
5454
${factory_settings.build_flags}
5555
${features.build_flags}
5656
-D BUILD_TARGET=\"$PIOENV\"
5757
-D APP_NAME=\"MoonLight\" ; 🌙 Must only contain characters from [a-zA-Z0-9-_] as this is converted into a filename
5858
-D APP_VERSION=\"0.6.1\" ; semver compatible version string
59-
-D APP_DATE=\"20251220\" ; 🌙
59+
-D APP_DATE=\"20251221\" ; 🌙
6060

61-
-D PLATFORM_VERSION=\"pioarduino-55.03.34\" ; 🌙 make sure it matches with above plaftform
61+
-D PLATFORM_VERSION=\"pioarduino-55.03.35\" ; 🌙 make sure it matches with above plaftform
6262

6363
-D FT_MOONBASE=1
6464

src/MoonBase/Modules/ModuleDevices.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ class ModuleDevices : public Module {
117117

118118
void readUDP() {
119119
size_t packetSize = deviceUDP.parsePacket();
120-
if (packetSize >= sizeof(UDPMessage)) { // WLED has 44, MM has 38 ATM
120+
if (packetSize >= sizeof(UDPMessage)) { // WLED has 44, MM has 38 ATM
121121
char buffer[packetSize];
122122
deviceUDP.read(buffer, packetSize);
123123
// EXT_LOGD(ML_TAG, "UDP packet read from %d: %s (%d)", deviceUDP.remoteIP()[3], buffer + 6, packetSize);

src/MoonLight/Layers/PhysicalLayer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ void PhysicalLayer::setup() {
4141
if (psramFound())
4242
lights.maxChannels = MIN(ESP.getPsramSize() / 2, 61440 * 3); // fill halve with channels, max 120 pins * 512 LEDs, still addressable with uint16_t
4343
else
44-
lights.maxChannels = 8192 * 3; // esp32-d0: max 1024->2048->4096->8192 Leds ATM
44+
lights.maxChannels = 4096 * 3; // esp32-d0: max 1024->2048->4096 Leds ATM
4545

4646
lights.channels = allocMB<uint8_t>(lights.maxChannels);
4747

src/MoonLight/Nodes/Drivers/D_ArtnetIn.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ class ArtNetInDriver : public Node {
123123

124124
uint8_t* dmxData = packetBuffer + sizeof(ArtNetHeader);
125125

126-
int startPixel = (universe-universeMin) * (512 / layerP.lights.header.channelsPerLight);
126+
int startPixel = (universe - universeMin) * (512 / layerP.lights.header.channelsPerLight);
127127
int numPixels = min((uint16_t)(dataLength / layerP.lights.header.channelsPerLight), (uint16_t)(layerP.lights.header.nrOfLights - startPixel));
128128

129129
for (int i = 0; i < numPixels; i++) {

0 commit comments

Comments
 (0)