diff --git a/CHANGELOG.md b/CHANGELOG.md index 4d0d4cbf8..5c04cdae8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,36 @@ ### Builds after release 0.12.0 +#### Build 2105171 + +- Always copy MQTT payloads to prevent non-0-terminated strings +- Updated ArduinoJson to 6.18.0 +- Added experimental support for `{"on":"t"}` to toggle on/off state via JSON + +#### Build 2105120 + +- Fixed possibility of non-0-terminated MQTT payloads +- Fixed two warnings regarding integer comparison + +#### Build 2105112 + +- Usermod settings page no usermods message +- Lowered min speed for Drip effect + +#### Build 2105111 + +- Fixed various Codacy code style and logic issues + +#### Build 2105110 + +- Added Usermod settings page and configurable usermods (PR #1951) +- Added experimental `/json/cfg` endpoint for changing settings from JSON (see #1944, not part of official API) + +#### Build 2105070 + +- Fixed not turning on after pressing "Off" on IR remote twice (#1950) +- Fixed OTA update file selection from Android app (TODO: file type verification in JS, since android can't deal with accept='.bin' attribute) + #### Build 2104220 - Version bump to 0.12.1-b1 "Hikari" diff --git a/platformio.ini b/platformio.ini index 217d90c06..dca72f055 100644 --- a/platformio.ini +++ b/platformio.ini @@ -114,9 +114,6 @@ build_unflags = # enables all features for travis CI build_flags_all_features = - -D WLED_USE_ANALOG_LED - -D WLED_USE_H801 - -D WLED_ENABLE_5CH_LEDS -D WLED_ENABLE_ADALIGHT -D WLED_ENABLE_DMX -D WLED_ENABLE_MQTT @@ -289,7 +286,7 @@ platform = ${common.platform_wled_default} platform_packages = ${common.platform_packages} board_build.ldscript = ${common.ldscript_1m128k} build_unflags = ${common.build_unflags} -build_flags = ${common.build_flags_esp8266} -D WLED_DISABLE_OTA -D WLED_USE_ANALOG_LEDS +build_flags = ${common.build_flags_esp8266} -D WLED_DISABLE_OTA [env:esp8285_4CH_H801] board = esp8285 @@ -297,7 +294,7 @@ platform = ${common.platform_wled_default} platform_packages = ${common.platform_packages} board_build.ldscript = ${common.ldscript_1m128k} build_unflags = ${common.build_unflags} -build_flags = ${common.build_flags_esp8266} -D WLED_DISABLE_OTA -D WLED_USE_ANALOG_LEDS -D WLED_USE_H801 +build_flags = ${common.build_flags_esp8266} -D WLED_DISABLE_OTA [env:esp8285_5CH_H801] board = esp8285 @@ -305,7 +302,7 @@ platform = ${common.platform_wled_default} platform_packages = ${common.platform_packages} board_build.ldscript = ${common.ldscript_1m128k} build_unflags = ${common.build_unflags} -build_flags = ${common.build_flags_esp8266} -D WLED_DISABLE_OTA -D WLED_USE_ANALOG_LEDS -D WLED_USE_H801 -D WLED_ENABLE_5CH_LEDS +build_flags = ${common.build_flags_esp8266} -D WLED_DISABLE_OTA [env:d1_mini_5CH_Shojo_PCB] board = d1_mini @@ -313,7 +310,7 @@ platform = ${common.platform_wled_default} platform_packages = ${common.platform_packages} board_build.ldscript = ${common.ldscript_4m1m} build_unflags = ${common.build_unflags} -build_flags = ${common.build_flags_esp8266} -D WLED_USE_ANALOG_LEDS -D WLED_USE_SHOJO_PCB -D WLED_ENABLE_5CH_LEDS +build_flags = ${common.build_flags_esp8266} -D WLED_USE_SHOJO_PCB # ------------------------------------------------------------------------------ # DEVELOPMENT BOARDS @@ -405,6 +402,7 @@ build_flags = ${common.build_flags_esp32} ${common.debug_flags} ${common.build_f # ------------------------------------------------------------------------------ # codm pixel controller board configurations +# codm-controller-0.6 can also be used for the TYWE3S controller # ------------------------------------------------------------------------------ [env:codm-controller-0.6] diff --git a/platformio_override.ini.sample b/platformio_override.ini.sample index c9dab5487..7df8ce8d5 100644 --- a/platformio_override.ini.sample +++ b/platformio_override.ini.sample @@ -39,12 +39,8 @@ build_flags = ${common.build_flags_esp8266} ; PIN defines for 2 wire LEDs -D CLKPIN=0 -D DATAPIN=2 -; to drive analog LED strips (aka 5050), uncomment the following -; PWM pins 5,12,13,15 are used with Magic Home LED Controller (default) - -D WLED_USE_ANALOG_LEDS -; for the H801 controller (PINs 15,13,12,14 (W2 = 04)) uncomment this -; -D WLED_USE_H801 -; for the BW-LT11 controller (PINs 12,4,14,5 ) uncomment this -; -D WLED_USE_BWLT11 -; and to enable channel 5 for RGBW-CT led strips this -; -D WLED_USE_5CH_LEDS +; to drive analog LED strips (aka 5050) hardware configuration is no longer necessary +; configure the settings in the UI as follows (hard): +; for the Magic Home LED Controller use PWM pins 5,12,13,15 +; for the H801 controller use PINs 15,13,12,14 (W2 = 04) +; for the BW-LT11 controller use PINs 12,4,14,5 diff --git a/tools/cdata.js b/tools/cdata.js index de6a98f85..8a9048435 100644 --- a/tools/cdata.js +++ b/tools/cdata.js @@ -344,6 +344,10 @@ const char PAGE_settings_dmx[] PROGMEM = R"=====()====="; str .replace(/\/gms, "") .replace(/\ + + +
+