From 2af9fc3755d4ce0319f1f125891afbafe9e09741 Mon Sep 17 00:00:00 2001 From: Ewoud Date: Wed, 21 Dec 2022 12:30:40 +0100 Subject: [PATCH] Add mm.kno.wled.ge Change https://kno.wled.ge to https://mm.kno.wled.ge Change help to ? button in usermods Change WeatherUserMod to Weather --- .github/ISSUE_TEMPLATE/config.yml | 2 +- platformio.ini | 2 +- readme.md | 8 +- tools/cdata.js | 4 +- usermods/audioreactive/audio_reactive.h | 2 +- usermods/customeffects/customeffects.js | 2 +- .../usermod_v2_four_line_display_ALT.h | 2 +- .../usermod_v2_weather/usermod_v2_weather.h | 12 +- wled00/data/settings_2D.htm | 2 +- wled00/data/settings_leds.htm | 4 +- wled00/data/settings_sec.htm | 2 +- wled00/data/settings_sync.htm | 8 +- wled00/data/settings_time.htm | 4 +- wled00/data/settings_ui.htm | 2 +- wled00/data/settings_wifi.htm | 2 +- wled00/html_other.h | 2 +- wled00/html_settings.h | 2844 ++++++++--------- wled00/html_simple.h | 2 +- wled00/html_ui.h | 44 +- 19 files changed, 1475 insertions(+), 1475 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml index 29a2f1b5..1278009d 100644 --- a/.github/ISSUE_TEMPLATE/config.yml +++ b/.github/ISSUE_TEMPLATE/config.yml @@ -7,5 +7,5 @@ contact_links: url: https://wled.discourse.group/ about: For issues and ideas that might need longer discussion. - name: kno.wled.ge base - url: https://kno.wled.ge/basics/faq/ + url: https://mm.kno.wled.ge/basics/faq/ about: Take a look at the frequently asked questions and documentation, perhaps your question is already answered! \ No newline at end of file diff --git a/platformio.ini b/platformio.ini index 998730e4..043af891 100644 --- a/platformio.ini +++ b/platformio.ini @@ -580,7 +580,7 @@ lib_deps = ${esp32s2.lib_deps} # ------------------------------------------------------------------------------ # MoonModules configs -# see https://moonmodules.github.io/WLED-Docs/moonmodules/platformio-entries/ +# see https://mm.kno.wled.ge/moonmodules/platformio-entries/ # ------------------------------------------------------------------------------ ; shared build flags and lib deps for minimum and maximum config diff --git a/readme.md b/readme.md index 28d5dc0b..15aaf885 100644 --- a/readme.md +++ b/readme.md @@ -49,21 +49,21 @@ A fast and feature-rich implementation of an ESP8266/ESP32 webserver to control ## 📲 Quick start guide and documentation -See the [documentation on our official site](https://kno.wled.ge)! +See the [documentation on our official site](https://mm.kno.wled.ge)! -[On this page](https://kno.wled.ge/basics/tutorials/) you can find excellent tutorials and tools to help you get your new project up and running! +[On this page](https://mm.kno.wled.ge/basics/tutorials/) you can find excellent tutorials and tools to help you get your new project up and running! ## 🖼️ User interface ## 💾 Compatible hardware -See [here](https://kno.wled.ge/basics/compatible-hardware)! +See [here](https://mm.kno.wled.ge/basics/compatible-hardware)! ## ✌️ Other Licensed under the MIT license -Credits [here](https://kno.wled.ge/about/contributors/)! +Credits [here](https://mm.kno.wled.ge/about/contributors/)! Join the Discord server to discuss everything about WLED! diff --git a/tools/cdata.js b/tools/cdata.js index d01c3e35..d307bbcd 100644 --- a/tools/cdata.js +++ b/tools/cdata.js @@ -134,7 +134,7 @@ function writeHtmlGzipped(sourceFile, resultFile, page) { * Binary array for the Web UI. * gzip is used for smaller size and improved speeds. * - * Please see https://kno.wled.ge/advanced/custom-features/#changing-web-ui + * Please see https://mm.kno.wled.ge/advanced/custom-features/#changing-web-ui * to find out how to easily modify the web UI source! */ @@ -199,7 +199,7 @@ function writeChunks(srcDir, specs, resultFile) { let src = `/* * More web UI HTML source arrays. * This file is auto generated, please don't make any changes manually. - * Instead, see https://kno.wled.ge/advanced/custom-features/#changing-web-ui + * Instead, see https://mm.kno.wled.ge/advanced/custom-features/#changing-web-ui * to find out how to easily modify the web UI source! */ `; diff --git a/usermods/audioreactive/audio_reactive.h b/usermods/audioreactive/audio_reactive.h index 890647af..ab36f26c 100644 --- a/usermods/audioreactive/audio_reactive.h +++ b/usermods/audioreactive/audio_reactive.h @@ -1923,6 +1923,7 @@ class AudioReactive : public Usermod { void appendConfigData() { + oappend(SET_F("addInfo('AudioReactive:help',0,'');")); // 0 is field type, 1 is actual field //WLEDMM: add defaults #ifdef AUDIOPIN oappend(SET_F("addInfo('AudioReactive:analogmic:pin',1,'⎌ ")); oappendi(AUDIOPIN); oappend("');"); // 0 is field type, 1 is actual field @@ -2052,7 +2053,6 @@ class AudioReactive : public Usermod { oappend(SET_F("addOption(dd,'Off',0);")); oappend(SET_F("addOption(dd,'Send',1);")); oappend(SET_F("addOption(dd,'Receive',2);")); - oappend(SET_F("addInfo('AudioReactive:help',0,'Help');")); // 0 is field type, 1 is actual field oappend(SET_F("addInfo('AudioReactive:digitalmic:type',1,'requires reboot!');")); // 0 is field type, 1 is actual field #ifdef I2S_SDPIN oappend(SET_F("addInfo('AudioReactive:digitalmic:pin[]',0,'sd/data/dout, ⎌ ")); oappendi(I2S_SDPIN); oappend("','I2S SD');"); diff --git a/usermods/customeffects/customeffects.js b/usermods/customeffects/customeffects.js index 2e31e44b..160e57d4 100644 --- a/usermods/customeffects/customeffects.js +++ b/usermods/customeffects/customeffects.js @@ -103,7 +103,7 @@ function populateCEEditor(name, segID)
Custom Effects Library
- Custom Effects Help
+ Custom Effects Help

Compile and Run Log

Run log > 3 seconds is send to Serial Ouput.`; diff --git a/usermods/usermod_v2_four_line_display_ALT/usermod_v2_four_line_display_ALT.h b/usermods/usermod_v2_four_line_display_ALT/usermod_v2_four_line_display_ALT.h index 1c093270..5656da23 100644 --- a/usermods/usermod_v2_four_line_display_ALT/usermod_v2_four_line_display_ALT.h +++ b/usermods/usermod_v2_four_line_display_ALT/usermod_v2_four_line_display_ALT.h @@ -1036,7 +1036,7 @@ class FourLineDisplayUsermod : public Usermod { //} void appendConfigData() { - oappend(SET_F("addInfo('4LineDisplay:help',0,'Help');")); // 0 is field type, 1 is actual field + oappend(SET_F("addInfo('4LineDisplay:help',0,'');")); // 0 is field type, 1 is actual field oappend(SET_F("dd=addDropdown('4LineDisplay','type');")); oappend(SET_F("addOption(dd,'None',0);")); oappend(SET_F("addOption(dd,'SSD1306',1);")); diff --git a/usermods/usermod_v2_weather/usermod_v2_weather.h b/usermods/usermod_v2_weather/usermod_v2_weather.h index 3c253152..b7abe4ef 100644 --- a/usermods/usermod_v2_weather/usermod_v2_weather.h +++ b/usermods/usermod_v2_weather/usermod_v2_weather.h @@ -317,14 +317,14 @@ class WeatherUsermod : public Usermod { void appendConfigData() { - oappend(SET_F("addInfo('WeatherUserMod:help',0,'Help');")); // 0 is field type, 1 is actual field - oappend(SET_F("dd=addDropdown('WeatherUserMod','units');")); + oappend(SET_F("addInfo('Weather:help',0,'');")); // 0 is field type, 1 is actual field + oappend(SET_F("dd=addDropdown('Weather','units');")); oappend(SET_F("addOption(dd,'Kelvin',0);")); oappend(SET_F("addOption(dd,'Celcius',1);")); oappend(SET_F("addOption(dd,'Fahrenheit',2);")); - oappend(SET_F("addInfo('WeatherUserMod:units',1,'Set time and location in time settings');")); - oappend(SET_F("addInfo('WeatherUserMod:apiKey',1,'Create acount on openweathermap.org and copy the key');")); - oappend(SET_F("addInfo('WeatherUserMod:minTemp',1,'Changing values: Reboot to (re)load forecast');")); + oappend(SET_F("addInfo('Weather:units',1,'Set time and location in time settings');")); + oappend(SET_F("addInfo('Weather:apiKey',1,'Create acount on openweathermap.org and copy the key');")); + oappend(SET_F("addInfo('Weather:minTemp',1,'Changing values: Reboot to (re)load forecast');")); } /* @@ -349,7 +349,7 @@ class WeatherUsermod : public Usermod { }; // strings to reduce flash memory usage (used more than twice) -const char WeatherUsermod::_name[] PROGMEM = "WeatherUserMod"; +const char WeatherUsermod::_name[] PROGMEM = "Weather"; // example openweathermap data // {"cod":"200","message":0,"cnt":40,"list":[ diff --git a/wled00/data/settings_2D.htm b/wled00/data/settings_2D.htm index 94246a85..361f55b9 100644 --- a/wled00/data/settings_2D.htm +++ b/wled00/data/settings_2D.htm @@ -8,7 +8,7 @@