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
66b15d32d9
Merge remote-tracking branch 'upstream/main' into mdev
2023-01-07 12:01:03 +01:00
Blaž Kristan
de4f1d09af
Merge pull request #3005 from Aircoookie/whitespace
2023-01-07 08:13:17 +01:00
Blaž Kristan
506b6b51ce
whitespace cleanup
2023-01-06 09:24:29 +01:00
Blaz Kristan
98be19b29f
Fix switching off for PIR usermod.
2023-01-05 22:46:30 +01:00
Ewoud
da590bac7e
Add animated staircase to _max environments, add ? btn to Bat,temp,Asave
2023-01-05 17:40:13 +01:00
dekay
66406d86c1
Update comment for 44-key remote ( #2999 )
...
Defs for this remote appear to be complete and are not "to be done later".
2023-01-05 16:49:53 +01:00
Ewoud
008e7b96f4
usermod_bh1750.h in small caps!
2023-01-05 16:43:31 +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
Frank
2ec24242db
post merge
2023-01-05 12:38:59 +01:00
Frank
7da9319ae6
Merge remote-tracking branch 'origin/ac_main' into mdev
2023-01-05 12:33:45 +01:00
Frank
35832b07b9
UM Battery: basic support for LiPo cells
...
* Lipo cells (1S) should not be discharged below 3V
* LiPo cells have a different voltage/discharge rate curve
2023-01-04 19:57:33 +01:00
Frank
357683cbb9
UM Battery: more bugfixing, and improvements for esp32
...
- improved support for esp32 (read calibrated voltage)
- corrected config saving (measurement pin, and battery min/max were lost)
2023-01-04 17:30:08 +01:00
Ewoud
cbccd5cc4e
Merge remote-tracking branch 'upstream/main' into mdev
2023-01-04 13:28:46 +01:00
Frank
15bc6159f9
UM Battery: fix for deprecated function call
...
wled00/../usermods/Battery/usermod_v2_Battery.h:446:48: warning: 'void PinManagerClass::deallocatePin(byte)' is deprecated: Replaced by two-parameter deallocatePin(gpio, ownerTag)
2023-01-04 12:54:02 +01:00
Frank
7cdafa76a5
UM Battery - improvements for esp32
...
* added missing pinMode(.., INPUT) on esp32
* do not try reading from pin = -1 (ESP32-S2 shows very allergic reactions to this)
* Info page - show "n/a" when pin = -1
* readme: esp32 default pin = 35
2023-01-04 12:32:31 +01:00
Ewoud
3869920081
Disable setting expand1D defaults
...
As it disturbs other workflows
This is a quick fix, if upstream agrees in the future all m12= strings should be removed.
2023-01-04 12:26:57 +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
cschwinne
cecffee3d3
Merge branch 'main' of https://github.com/Aircoookie/WLED
2023-01-03 17:16:14 +01:00
cschwinne
d039a40d7c
Invert pull up config value, fixes #2996
...
Cronixie usermod format change fix
2023-01-03 17:15:55 +01:00
Blaz Kristan
90463d8613
Battery UM fix for MQTT voltage topic.
2023-01-03 17:14:24 +01:00
Blaz Kristan
90c965a6ba
Bugfix editing 2D set-up.
2023-01-03 17:12:35 +01:00
Frank
0571aa92f2
fix unitialized local var
...
Local variables are not initialized by default. Make sure that buf[] is filled with zeros.
2023-01-03 17:10:07 +01:00
Frank
e961691645
Battery, second try
2023-01-03 15:36:35 +01:00
Frank
c7f1883c31
Battery, second try
2023-01-03 15:33:05 +01:00
Frank
6270d2408f
UM Battery: fix build error on linux
...
Fixes build error on linux:
wled00/usermods_list.cpp:15:54: fatal error: ../usermods/battery/usermod_v2_battery.h: No such file or directory
compilation terminated.
2023-01-03 15:29:15 +01:00
Frank
b52776d691
Battery, not battery
...
Fixes build error:
wled00/usermods_list.cpp:15:54: fatal error: ../usermods/battery/usermod_v2_battery.h: No such file or directory
compilation terminated.
2023-01-03 15:26:38 +01:00
Frank
7ef1842237
comments updated
...
see discussion in faf616cbea
2023-01-03 15:16:45 +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
Frank
faf616cbea
fixing a potential stack corruption
...
.. overlooked this one when reviewing the PR.
@blazoncek, @ctjet : three questions on the new code remain, because its not clear to me if its correct. Please check.
2023-01-03 14:17:42 +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
Frank
4a09e18d9a
UM Battery: fix compilation error + bad snprintf
2023-01-02 22:52:37 +01:00
Frank
7c1b655ca3
fix array-of-out-bounds writes
...
fixing two dangerous (unguarded) array writes that can cause stack corruption
2023-01-02 22:38:22 +01:00
Frank
e4789cbedd
post-merge actions
...
* fix compilation bug in UM_Battery
* fix bad format string in UM_Battery
* npm run build, build number up
2023-01-02 22:25:08 +01:00
Ewoud
3b146bbe35
0.14.0-b1.13 to 0.14.0-b1.14
2023-01-02 21:50:43 +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
49b8bf389d
Merge remote-tracking branch 'upstream/main' into mdev
2023-01-02 21:28:58 +01:00
Blaz Kristan
983aca515d
Compile fix for disabled 2D.
2023-01-02 21:24:02 +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
Frank
eb184d3c68
build number, npm run build
2023-01-02 21:01:39 +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
Frank
a3c2f4a0ec
fixing UDP sound sync startup problems
...
sometimes sound sync only worked after disable + enable audioreactive. This hopefully improves the situation.
2023-01-02 20:34:13 +01:00
Frank
d02bdb8a82
UDP sound sync improvement
...
improving the new auto-reconnect mode.
Only disconnect receiver on network change, or when idle after receiving something.
2023-01-02 20:06:54 +01:00
Frank
df63ba1dcc
npm run build
...
and version up
2023-01-02 20:05:17 +01:00
Frank
40bea36f58
small update for RTC usermod
2023-01-02 18:04:27 +01:00
Frank
e85c90dc11
support for rotary without push button
...
Allows pinC = -1
2023-01-01 22:19:25 +01:00
Frank
79c1d9371f
new year, new version number
2023-01-01 21:34:12 +01:00
Frank
97989bb773
experimental support for some special boards
...
- show VBAT pin (if board definitely has that feature)
- some WROVER board have cross-connection between GPIO 25/27 and PIN 16/17
- experimental support for boards that have NEOPIXEL_I2C_POWER
2023-01-01 21:33:06 +01:00