From 636220ffce4ed23e17c32448dcc058b1b616daac Mon Sep 17 00:00:00 2001 From: Stephan <31169771+Blueforcer@users.noreply.github.com> Date: Tue, 12 Mar 2024 10:16:34 +0100 Subject: [PATCH] V0.95 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Rebranding AWTRIX Light to AWTRIX 3 - **Enhancements:** - Implemented median and mean filters for more accurate processing of raw data from LDR and BATT sensors. - Added Cyrillic support, limited to UPPERCASE letters. Issue #467 closed. 🇷🇺 - Introduced overlays for weather animations accessible via the /settings API or customapp/notifications. Available overlays: clear, snow, drizzle, rain, storm, thunder, frost. closes #454 - **Features:** - Added AP Mode timeout configuration via dev.json. ⏱️ - The hostname isnt the same as the MQTT prefix anymore. Instead you can set "hostname" in your dev.json. 🏠 - Supports SSIDs with 32 characters. 🔒 - Web port can now be changed via dev.json. 🌐 - Unified firmware versions for peripherals, allowing Ulanzi firmware to control DFPlayer and read temperature sensors and vice versa. Only port mapping differs. DFPlayer can be enabled in dev.json. 🔄 - **Bug Fixes:** - Resolved issue where using custom apps and sending text in colored fragments prevented reverting to a single color. Issue #464 closed. 🐛 - Fixed URL forwarding in the web interface. Issue #501 closed. 🔗 - **Miscellaneous:** - Added functionality to control the volume of the buzzer or DFPlayer via on-screen menu or settings API. 🔊 - Enabled reset button on the back of Ulanzi; holding it for 5 seconds initiates a full reset of the AWTRIX firmware. 🔧 --- docs/api.md | 2 +- src/DisplayManager.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/api.md b/docs/api.md index 32b9acb..84d70cb 100644 --- a/docs/api.md +++ b/docs/api.md @@ -394,7 +394,7 @@ You can adjust each property in the JSON object according to your preferences. I | `TEMP` | boolean | Enable or disable the native temperature app (requires reboot). | `true`/`false` | true | | `BAT` | boolean | Enable or disable the native battery app (requires reboot). | `true`/`false` | true | | `MATP` | boolean | Enable or disable the matrix. Similar to `power` Endpoint but without the animation. | `true`/`false` | true | -| `VOL` | integer | Allows to set the Volume of the DFplayer (Only for **old** AWTRIX2.0 upgrades) | 0-30 | true | +| `VOL` | integer | Allows to set the Volume of the Buzzer and DFplayer | 0-30 | true | | `OVERLAY` | string | Sets a global effect overlay (cannot be used with app specific overlays) | Varies (see below) | N/A | **Color Values**: Can either be an RGB array (e.g., `[255,0,0]`) or a valid 6-digit hexadecimal color value (e.g., "#FF0000" for red). diff --git a/src/DisplayManager.cpp b/src/DisplayManager.cpp index a91b340..34c28ba 100644 --- a/src/DisplayManager.cpp +++ b/src/DisplayManager.cpp @@ -12,7 +12,7 @@ #include "ServerManager.h" #include "MenuManager.h" #include "Apps.h" -#include "Effects.h" +#include "effects.h" #include "Overlays.h" #include "Dictionary.h" #include