Skip to content

Commit 63021a7

Browse files
committed
Drivers and Effects defaults v0.5.7 -> v0.5.8
v0.5.7 -> v0.5.8 Server ===== - esp32-s3: USB_MODE=1 - Drivers and Effects: set defaultNodeName - Control: refactor loop - NodeManager: add defaultNodeName - Physical layer: add indexP for pass2 - WIP - Virtual layer: use indexP in addLight
1 parent f048f1b commit 63021a7

35 files changed

+13057
-13054
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ Add the following `build_flags` and adjust to your app, if needed:
241241
```ini
242242
-D BUILD_TARGET=\"$PIOENV\"
243243
-D APP_NAME=\"ESP32-Sveltekit\" ; Must only contain characters from [a-zA-Z0-9-_] as this is converted into a filename
244-
-D APP_VERSION=\"0.5.7.1\" ; semver compatible version string
244+
-D APP_VERSION=\"0.5.8\" ; semver compatible version string
245245
-D EMBED_WWW
246246
```
247247

docs/moonbase/module/drivers.md

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# Drivers module
22

3-
🆕 (in release v0.5.7 Virtual and physical layers modules are still in one module called editor)
4-
53
<img width="396" alt="image" src="https://github.com/user-attachments/assets/965dd352-d7af-42a1-a72d-43da3b32a252" />
64

75
The Drivers module allows you to define a **layout** (e.g. a panel 16x16), to drive LEDs (e.g. FastLED driver) and to run **supporting processes** (e.g. audiosync to run sound reactive effects and Art-Net to send light channels to an Art-Net controller).
@@ -18,7 +16,7 @@ Typically a node will define a modifier (💎) or a supporting process (☸️)
1816
* If a 1D strip is longer, you can address more LEDs by pretending it is a 2D fixture, e.g. 32x32 to address a strip of 1024 LEDs.
1917
* In the future we might look at redefining Coord3D where width is 12 bytes, height is 7 bytes and depth is 5 bytes allowing for max 4096 x 128 x 32 ...
2018
* Currently **pins** are by default driven by FastLED.show. FastLED needs all LEDs specifications be defined at compile time, e.g. LED type, color order, etc. Normally also the pin(s) need to be defined beforehand but all pins are predefined in the code to avoid this (at a cost of larger firmware). As we want to be able to define all LED specs in the UI instead of during compile, we need to see how / if this can be done.
21-
* 🆕 **Multiple layout nodes** can be defined which will execute one after the other
19+
* **Multiple layout nodes** can be defined which will execute one after the other
2220
* In the future, instead of pins, also **IP addresses and universes** can be specified to support sending lights data to Art-Net devices - e.g. [Pknight Art-Net DMX 512](https://s.click.aliexpress.com/e/_ExQK8Dc) to control DMX lights or [Art-Net LED controller](https://s.click.aliexpress.com/e/_Ex9uaOk) to control LED strips or panels over local network. Currently this is handled by the [Art-Net Node](https://moonmodules.org/MoonLight/moonlight/nodes/#art-net/).
2321
* Alternatively Moonlight supports 2 other drivers: [Physical Driver](https://github.com/hpwit/I2SClocklessLedDriver) and [Virtual Driver](https://github.com/ewowi/I2SClocklessVirtualLedDriver). Firmware ending with PD or VD will have this enabled. Code has been included but not tested yet (tested in StarLight), this is planned for June/July.
2422
* The physical driver is an alternative to the FastLED driver and does not need LED specifications defined at compile time, all can be controlled via UI.
@@ -35,7 +33,7 @@ Typically a node will define a modifier (💎) or a supporting process (☸️)
3533
## Layout 🚥 Nodes
3634
🚧
3735

38-
### PanelLayout 🚥 🆕
36+
### PanelLayout 🚥
3937

4038
* Defines a 2D panel with width and height
4139
* Controls:
@@ -45,7 +43,7 @@ Typically a node will define a modifier (💎) or a supporting process (☸️)
4543
* snake: is the first axis in snake / serpentine layout?
4644
* pin: to do add more pins
4745

48-
### CubeLayout 🚥 🆕
46+
### CubeLayout 🚥
4947

5048
* Panel layout + depth
5149
* Controls:

docs/moonbase/module/effects.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
# Effects module
22

3-
🆕 (in release v0.5.7 Effects and drivers modules are still combined in one module called editor)
4-
53
<img width="396" alt="image" src="https://github.com/user-attachments/assets/965dd352-d7af-42a1-a72d-43da3b32a252" />
64

75
The Effects module allows you to define the tasks to run an **effect** (e.g. bouncing balls), to **modify** the effect (e.g mirror).
@@ -39,7 +37,7 @@ Precompiled effects can be found in [effects](https://github.com/MoonModules/Moo
3937
* Controls: Red, Green, Blue, Brightness
4038
* Usage: Can be used as background to other effects, order it before other effects
4139

42-
### Scrolling text 🔥 🆕
40+
### Scrolling text 🔥
4341

4442
* WIP: Currently shows system info on leds. You need at least 16*6 pixels for that (Panel 16x16 recommended). Later custom texts will be possible
4543
* Controls:

docs/moonbase/module/pins.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
Shows info in gpio pins.
44

5-
🆕 🚧
5+
🚧
66

77
* Per pin:
88
* GPIO = gpio_num;

docs/moonlight/overview.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ Note: These docs are updated also after a release has been published preparing f
2222
* Execute a live script
2323

2424
This list is dynamic and will change over time if crash reasons change.
25-
Clicking on the icon allows you to restart (🆕)
25+
Clicking on the icon allows you to restart
2626

27-
* **Restart needed**: 🆕 e.g. when drivers are changed, a restart might be needed, see 🔄 in the statusbar. Clicking on the icon allows you to restart (🆕)- 🚧
27+
* **Restart needed**: e.g. when drivers are changed, a restart might be needed, see 🔄 in the statusbar. Clicking on the icon allows you to restart ()- 🚧
2828

29-
* **Save** and **Cancel** 🆕 Changes are only saved after pressing the save button 💾. To undo changes, press the cancel button 🚫.
29+
* **Save** and **Cancel** Changes are only saved after pressing the save button 💾. To undo changes, press the cancel button 🚫.
3030

3131
* **Wifi**: See ESP32-Sveltekit
3232

docs/statefulservice.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -601,7 +601,7 @@ By enabling `FT_DOWNLOAD_FIRMWARE=1` in [features.ini](https://github.com/theeli
601601
```ini
602602
-D BUILD_TARGET="$PIOENV"
603603
-D APP_NAME=\"ESP32-Sveltekit\" ; Must only contain characters from [a-zA-Z0-9-_] as this is converted into a filename
604-
-D APP_VERSION=\"0.5.7.1\" ; semver compatible version string
604+
-D APP_VERSION=\"0.5.8\" ; semver compatible version string
605605
```
606606

607607
A build script copies the firmware binary files for all build environment to `build/firmware`. It renames them into `{APP_NAME}_{$PIOENV}_{APP_VERSION}.bin`. It also creates a MD5 checksum file for verification during the OTA process. These files can be used as attachment on the GitHub release pages.

docs/structure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ Also you must make use of couple build flags in [platformio.ini](https://github.
9898
```ini
9999
-D BUILD_TARGET=\"$PIOENV\"
100100
-D APP_NAME=\"ESP32-Sveltekit\" ; Must only contain characters from [a-zA-Z0-9-_] as this is converted into a filename
101-
-D APP_VERSION=\"0.5.7.1\" ; semver compatible version string
101+
-D APP_VERSION=\"0.5.8\" ; semver compatible version string
102102
```
103103

104104
Out of these flags the [rename_fw.py](https://github.com/theelims/ESP32-sveltekit/blob/main/scripts/rename_fw.py) script will copy and rename the firmware binary to `/build/firmware/{APP_NAME}_{$PIOENV}_{APP_VERSION}.bin`. In addition it will also create a corresponding MD5 checksum file. These files are ready to be uploaded to the Github release page without any further changes. The frontend searches for the firmware binary which matches the build environment and uses this as the update link. This allows you to serve different build targets (e.g. different boards) from the same release page.

docs/system/status.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<img width="350" src="https://github.com/user-attachments/assets/9e27494a-284a-4d9e-ba55-c52786cb0374" />
44

55
* 🌙 **Performance**: loops per second: nr of times main loop is executed
6-
* 🌙 **Safe Mode** 🆕: After a crash, the device will start in Safe Mode disabling possible causes of crashes. See also [MoonLight](https://moonmodules.org/MoonLight/moonlight/overview/). In case of safe mode, the statusbar will show a shield: 🛡️. Try to find the reason of the crash and correct and restart the device. If no crash, it will go out of safe mode.
6+
* 🌙 **Safe Mode**: After a crash, the device will start in Safe Mode disabling possible causes of crashes. See also [MoonLight](https://moonmodules.org/MoonLight/moonlight/overview/). In case of safe mode, the statusbar will show a shield: 🛡️. Try to find the reason of the crash and correct and restart the device. If no crash, it will go out of safe mode.
77
* 🌙 **Firmware Target**: Which firmware has been installed, see [MoonLight Web Installer](https://raw.githack.com/MoonModules/MoonLight/refs/heads/main/firmware/installer/index.html)
88
* 🌙 **Firmware Date**: What is the date the firmware is created (format YYYYMMDDHH)
99

docs/wifi/sta.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<img width="350" src="https://github.com/user-attachments/assets/0be091ab-1bd6-46c9-a766-e8b6b4cbb616" />
44

5-
* **WiFi TX Power** 🆕🌙: WiFi transmit power can be set to optimize WiFi behavior. Some boards are known to work better by setting transmit power to 8.5 dBM (So called LOLIN_WIFI_FIX).
5+
* **WiFi TX Power** 🌙: WiFi transmit power can be set to optimize WiFi behavior. Some boards are known to work better by setting transmit power to 8.5 dBM (So called LOLIN_WIFI_FIX).
66
* Default is typically 20 dBm (100mW) - the maximum allowed
77
* Common recommended settings:
88
* For most indoor applications: 15-17 dBm

firmware/esp32-s3.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ build_flags =
55
${livescripts.build_flags}
66
${HP_ALL_DRIVERS.build_flags}
77
-D CONFIG_IDF_TARGET_ESP32S3=1
8-
; -D ARDUINO_USB_MODE=1 ; which USB device classes are enabled on your ESP32 at boot. default 1 in board definition (serial only)
9-
; -D ARDUINO_USB_CDC_ON_BOOT=1 ;Communications Device Class: controls whether the ESP32's USB serial port is enabled automatically at boot, default 1 in board definition
8+
-D ARDUINO_USB_MODE=1 ; which USB device classes are enabled on your ESP32 at boot. default 1 in board definition (serial only)
9+
-D ARDUINO_USB_CDC_ON_BOOT=1 ;Communications Device Class: controls whether the ESP32's USB serial port is enabled automatically at boot, default 1 in board definition
1010
-D ARDUINO_USB_MSC_ON_BOOT=0 ;Mass Storage Class, disable
1111
-D ARDUINO_USB_DFU_ON_BOOT=0 ;download firmware update, disable
1212
; -D ML_LIVE_MAPPING

0 commit comments

Comments
 (0)