Ewoud
357e3638d4
New esp8266_4MB_max entry to test usermods / i2c
...
pio.ini: add esp8266_4MB_max with pir, dallas, relay games (to test IMU)
addHB: use string literal instead of var
appendConfigData to um multirelay
2023-01-17 13:07:50 +01:00
Blaž Kristan
39edb1ad37
Merge pull request #2891 from mxklb/pr_fxsegs
...
Refactored DMX effect mode + new segment controls
2023-01-16 22:38:02 +01:00
Blaz Kristan
a397aa188c
Whitespace/indentation cleanup.
2023-01-16 22:12:02 +01:00
Blaz Kristan
dd08751f3f
Hide 2D if not compiled.
2023-01-16 22:09:43 +01:00
Ewoud
9065b684b3
genPreset bugfixes
2023-01-16 22:04:54 +01:00
Ewoud
69345df28a
setMode and genPresets changes
...
version 0.14.0-b1.16
FX_fcn.cpp: setMode: map, sound, rev, mir reset to oldvars
index.js: refactor genPresets (fx id as preset id), reset to defaults
fx.cpp: fire flicker and firenoise pal=0 as default
2023-01-16 18:31:17 +01:00
mx
d892c7290c
Merge branch 'Aircoookie:main' into pr_fxsegs
2023-01-16 17:28:44 +01:00
Ewoud
10f006ef18
Small changes on pin dropdowns / usermod help
...
platformio.ini: add wemos_shield_esp32_4MB_all_base
usermods:
- rename disableROPins to disableRO
- bme280: add appendConfigData, info and disableRO
- PWM Fan: add appendConfigData
Settings_um.htm
- add 🟢
2023-01-16 15:07:41 +01:00
Ewoud
a31b45d05e
Merge remote-tracking branch 'upstream/main' into mdev
2023-01-15 17:19:44 +01:00
Blaz Kristan
43152fcf19
Bugfix.
...
- d.max_gpio in usermod settings.
2023-01-15 15:19:48 +01:00
Ewoud
06e9beda5a
pin drop down bug fix
2023-01-14 18:40:36 +01:00
Ewoud
90c0870e74
pinDropDown: make reserved and read only aware and disable if needed
...
AudioReactive: add disableROPins on WS, SCK, MCLK and SCL
4LD: add disableROPins on CLK
settingsum:
- addfield: max 49 pins, if (global interface) also disabled, rename if to global, show 🔴 if pin claimed
- add disableROPins
- pinDropdownsPost
- rename SDA to if:SDA (etc) so it is part of claimed pins (also in set.cpp and xml.cpp)
xml.cpp:
- appendGPIOinfo(): get rsvd and ro_gpio from pinManager.isPinOk instead of hardcoded
- getSettingsJS: add pinDropdownsPost
2023-01-14 17:30:43 +01:00
Ewoud
91aed65f99
Generate presets !
...
Fix 1d/2d default in customeffect, games and weather
index.htm: add buttons and text area for genPresets
index.js: add genPresets, uploadFileWithText and savePresetsGen
fx,cpp: set fire 2012 default palette 0 (fire colors)
Bonus: battery USERMOD_BATTERY_MEASUREMENT_PIN default -1
2023-01-12 17:32:11 +01:00
Ewoud
6cc62c59ad
Merge remote-tracking branch 'upstream/main' into mdev
...
- removed !isM checks on ledmap cause supported in WLED MM
2023-01-12 09:27:20 +01:00
Blaz Kristan
8dc262b415
Bugfixes.
...
- faster random palette blends
- remove UI ledmap selection for 2D
- FX updates (DNA Spiral, Colored bursts, Metaballs)
2023-01-11 23:08:08 +01:00
Ewoud
437bfc825c
Merge remote-tracking branch 'upstream/main' into mdev
2023-01-10 15:39:17 +01:00
Dustin Miller
36fb262fa0
Fixes tooltip interfering with pointer events
2023-01-09 18:38:00 -06:00
Ewoud
a10f1b20ac
Add _all entries for esp32 16MB with lots of usermods
...
platformio: add _all entries with a lot of usermods
usermod bh1750 and bme280: avoid global pin hijacking
settings.htm: remove height for compact display
2023-01-08 16:07:02 +01:00
Ewoud
b8437c51c5
Do not reset pins if error but show error (wip, bh1750, fld, global)
...
Usermod bh1750: only save pins if not equal to global
Usermod fld: add errorMessage, do not reset type and enabled but errormessage instead, show global depending in spi or i2c
cfg.cpp and set.cpp: do not reset global i2c or spi if error
2023-01-07 16:49:10 +01:00
Ewoud
ab22beb0c3
Minor changes
2023-01-07 15:10:21 +01:00
Ewoud
2187aa5728
implement addHB (Usermod help button utility function)
...
See https://github.com/Aircoookie/WLED/pull/2965
2023-01-07 12:22:29 +01:00
Ewoud
642d7d91ea
i2c_sda, i2c_scl, spi_mosi, spi_miso, spi_sclk without HW_PIN_*, bh1750
...
platformio:
- add bh1750 to _max
- define rotary defaults for wemos
usermod_bh1750
- Remove HW_PIN_* and replace by i2c_sda etc
- add appendConfigData
usermods mpu6050_imu, rtc, 4ld, pinmanager
- Remove HW_PIN_*
change SDA2:pin (etc) to SDA:pin
2023-01-05 16:35:49 +01:00
Ewoud
cbccd5cc4e
Merge remote-tracking branch 'upstream/main' into mdev
2023-01-04 13:28:46 +01:00
Ewoud
23663a46f9
Refactor global pins settings using dropdowns and add to rotary_encoder
...
- replace rOption by xOption (extend option) to show default value (⎌)
- Usermod rotary_encoder: add appendConfigData function and show help and default functions
- Settings.htm: Move Usermods(pins) below the usermods
Settings_um.htm
- remove SDAPin etc
- comment check(0,k) as not used anymore
- add xOption
- add generated global pin fields (using addField) in ldS
- remove hard coded global pin fields
set.cpp: set i2c_sda etc using new generated fields
xml.cpp: set generated fields values using i2c_sda etc and show defaults
2023-01-04 12:17:14 +01:00
cschwinne
e84b0c91f8
Update year
2023-01-03 17:36:24 +01:00
Blaz Kristan
90c965a6ba
Bugfix editing 2D set-up.
2023-01-03 17:12:35 +01:00
Ewoud
545a4c820c
quick fix 2d config hor/ver/panel issues + battery usermod
...
- Add battery usermod
- set segexp default true
- quick fix 2d config hor/ver/panel issues
2023-01-03 14:45:01 +01:00
Ewoud
9bc6451145
appendConfigData only for usermod + optimizations
...
- rename replaceOption to rOption
- rename removeOptions to dOptions
- set oAppend buffer size back to 3096
- WLEDMM warning on settings2D Populate
- add AppendConfig per usermod
- add request parameter to getSettinsJS
- add lookupName
2023-01-03 13:08:14 +01:00
Ewoud
86ceca5de7
Usermods: add removeOptions e.g. for pin MCLK
...
- add replaceOption to analogmic
- fix: right default for audio reactive scl
- pinmanager add case UM_Battery
2023-01-02 21:42:19 +01:00
Ewoud
930d79f4e8
Merge remote-tracking branch 'upstream/main' into mdev
2023-01-02 21:23:23 +01:00
Ewoud
4409ceb3ec
Merge remote-tracking branch 'origin/ac_main' into mdev
2023-01-02 21:05:03 +01:00
Caleb Marting
187ecf511f
2d Mapping with Matrix Gaps ( #2892 )
...
* New 2d mapping
* panel matrix generator
* add todos, fix vert/horz swap
* Fix 2d mapping to matrix in settings 2D
* add correct index mapping to pixels per panel
* fix panel bug in led layout
* formatting and change max panels
* add per panel width and height
* fix using length instead of custom mapping size
* fix: panel dimensions location
* panel[] implemented as a vector.
Removed matrixWidth & matrixHeight.
Panel structure update.
* Fixes.
Co-authored-by: Blaz Kristan <blaz@kristan-sp.si >
2023-01-02 20:56:00 +01:00
Blaz Kristan
95869eeb70
Allow more virtual buses.
2022-12-31 17:06:18 +01:00
Ewoud
d1bf3b4690
Merge remote-tracking branch 'origin/ac_main' into mdev
2022-12-24 15:27:43 +01:00
Blaz Kristan
b436a660f1
Merge branch 'main' into hex-palette
2022-12-23 21:35:52 +01:00
Ewoud
5c161db062
Add dropdowns for pins (part 1 of 2)
...
Set for Audioreactive and 4linedisplay usermods
Prepare for globals (part2):
Rename SDA to SDApin etc
2022-12-23 17:21:35 +01:00
Blaz Kristan
d36460e30b
Minor optimisation.
...
Fix for #2969
2022-12-23 16:37:13 +01:00
cschwinne
72eb61951b
Dynamically show hidden color slots for * palettes
...
Disable Blynk by default in release builds
Single quote strings everywhere for classList
2022-12-23 02:59:24 +01:00
Blaz Kristan
4322d195d3
Smooth random palette changes
...
Bugfix loading string palettes
JS optimization.
2022-12-21 21:00:28 +01:00
Ewoud
2af9fc3755
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
2022-12-21 12:30:40 +01:00
mxklb
c24b75953a
Merge branch 'main' into pr_fxsegs
2022-12-20 01:06:46 +01:00
Ewoud
949373df91
Add usermod help links for AR, 4LD and weather
...
Other usermods:
void appendConfigData()
{
...
oappend(SET_F("addInfo('<modname>:help',0,'<a href=\"https:// \">Help</a>');"));
...
}
2022-12-19 16:42:07 +01:00
Ewoud
3139f5228d
Merge remote-tracking branch 'origin/ac_main' into mdev
2022-12-19 14:00:52 +01:00
Blaz Kristan
bfbc1ebb13
Fix all segments checkbox
2022-12-16 23:20:49 +01:00
Blaz Kristan
a802bb2736
Merge branch 'main' into selall-bugfix
2022-12-16 22:32:15 +01:00
Ewoud
ffe52fcbf5
Merge remote-tracking branch 'origin/ac_main' into mdev
2022-12-16 11:43:27 +01:00
Blaz Kristan
f6e843b5e2
No simple UI detection.
2022-12-13 22:25:12 +01:00
Blaz Kristan
a7bad5df61
Bugfix. #2945
2022-12-13 14:40:41 +01:00
Christian Schwinne
f50c9e855c
Use "pd" JSON API call for direct preset apply ( #2946 )
2022-12-13 14:27:44 +01:00
Blaz Kristan
0a3d911602
UM settings page update.
...
- capitalize every word in parameters
- replace - and _ to space for legibility
Swapped includes in FX.cpp
2022-12-11 10:43:16 +01:00