You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 (☸️)
18
16
* 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.
19
17
* 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 ...
20
18
* 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
22
20
* 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/).
23
21
* 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.
24
22
* 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 (☸️)
35
33
## Layout 🚥 Nodes
36
34
🚧
37
35
38
-
### PanelLayout 🚥 🆕
36
+
### PanelLayout 🚥
39
37
40
38
* Defines a 2D panel with width and height
41
39
* Controls:
@@ -45,7 +43,7 @@ Typically a node will define a modifier (💎) or a supporting process (☸️)
45
43
* snake: is the first axis in snake / serpentine layout?
Copy file name to clipboardExpand all lines: docs/moonlight/overview.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -22,11 +22,11 @@ Note: These docs are updated also after a release has been published preparing f
22
22
* Execute a live script
23
23
24
24
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
26
26
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 ()- 🚧
28
28
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 🚫.
Copy file name to clipboardExpand all lines: docs/statefulservice.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -601,7 +601,7 @@ By enabling `FT_DOWNLOAD_FIRMWARE=1` in [features.ini](https://github.com/theeli
601
601
```ini
602
602
-D BUILD_TARGET="$PIOENV"
603
603
-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
605
605
```
606
606
607
607
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.
Copy file name to clipboardExpand all lines: docs/structure.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -98,7 +98,7 @@ Also you must make use of couple build flags in [platformio.ini](https://github.
98
98
```ini
99
99
-D BUILD_TARGET=\"$PIOENV\"
100
100
-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
102
102
```
103
103
104
104
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.
* 🌙 **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.
7
7
* 🌙 **Firmware Target**: Which firmware has been installed, see [MoonLight Web Installer](https://raw.githack.com/MoonModules/MoonLight/refs/heads/main/firmware/installer/index.html)
8
8
* 🌙 **Firmware Date**: What is the date the firmware is created (format YYYYMMDDHH)
***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).
6
6
* Default is typically 20 dBm (100mW) - the maximum allowed
Copy file name to clipboardExpand all lines: firmware/esp32-s3.ini
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -5,8 +5,8 @@ build_flags =
5
5
${livescripts.build_flags}
6
6
${HP_ALL_DRIVERS.build_flags}
7
7
-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
0 commit comments