Commit Graph

3981 Commits

Author SHA1 Message Date
Blaž Kristan
9f1a7a1c20 Swap info. 2022-11-29 15:02:56 +01:00
mx
bd721c1310
Merge branch 'Aircoookie:main' into pr_fxsegs 2022-11-29 00:54:15 +01:00
Frank
98138a02e3
audioreactive usermod update (align with MoonMod code) (#2907)
* audioreactive driver update

- Better handling of PDM and I2S Line-in
- Bugfixes for ES7243 (allocateMultiplePins)
- More error messages for ES7243
- sample scaling (needed for sources that use full scale of samples)

* audiorective update

* align SR_DEBUG with WLED_DEBUG
* optional bandpass filter (needed for PDM mics)
* sample scaling for PDM and Line-In
* small improvements for analog input
* bugfixes and small performance improvements
* code for FFT task refactored, for better readablity. Introduces separate functions for filtering and post-processing
* small improvement for beat detection
* default mic settings can be configured at compile time
* correct mic type if MCU does not support PDM or ADC
* hide analog PIN config if not supported by MCU

* audioreactive updates

- minor updates to source code (see discussion in PR #2907)
- usermod readme improvements

* small readme update

* one think I overlooked

* ok, another edit. Now its final. Hopefully.

* small upps

wrong parameter order in debug message.
2022-11-28 20:52:33 +01:00
Blaz Kristan
f7004e7a7c Allow disable internal pull-up resistors.
Fixes #2896 and #2899
2022-11-26 23:56:55 +01:00
Christian Schwinne
1db25d4b20
FX data optimization (#2908)
* Do not require commas between ! in fxdata

* Updating fxdata: Halfway through the FX list

* fxdata flags and optimizations

* Revert optional commas after !
2022-11-26 21:31:45 +01:00
mxklb
507e198b70 Minor cleanups 2022-11-26 17:22:03 +01:00
mx
5c721ee435
Merge branch 'Aircoookie:main' into pr_fxsegs 2022-11-26 17:15:55 +01:00
Frank
9a44f0c869 small update for env:esp32s3dev_8MB_PSRAM
- corrected board
- added link to workaround
2022-11-26 15:13:54 +01:00
mxklb
8c5f9b4501 Added missing DMX effect options and 3rd color 2022-11-26 14:41:59 +01:00
cschwinne
713bf66a12 Increase QL buffer to allow unicode characters
Fixes #2906
2022-11-26 03:57:17 +01:00
Ewoud
78e9f5bd1a
Clean up UserMod settings: grouping of variables and add preInfo to variables (#2894)
* Grouping um settings, add pre and post Info, update  SR & 4LD settings

Settings_um.htm: 
- modify addField (grouping)
- addInfo (pre and post texts)

Add preInfo to audio reactive and 4ld usermod

Extra:
platformio: wemos_shield: add audio reactive usermod and update to alt display

* um settings: cpp: lowercase, js: initcap

* um settings: txt only pre, txt2 only post and initCap as function

* Fix rotary encoder info string

Co-authored-by: Blaž Kristan <blaz@kristan-sp.si>
2022-11-26 03:44:04 +01:00
Frank
f03abf2600 workaround for broken env esp32s3dev_8MB_PSRAM
- Error: Unknown board ID 'esp32-tinys3'
temporarily use `` until a working solution is found.
2022-11-26 01:33:46 +01:00
JPZV
d5eee5b56c
Fixes platformio.ini for the ESP32 S3 (#2905)
* Update missing package for ESP32-S3
There was a missing package version for env:esp32s3dev_8MB. platformio/framework-arduinoespressif32@3.20004.220825 doesn't exist any more

* Fixes Compiling error for ESP32 S3 with octal (qspi_opi) memory mode
For details: platformio/platform-espressif32#912 and platformio/platform-espressif32#914

* Added env:esp32s3dev_8MB_PSRAM to platformio.ini
Also, reverted back to espressif32@5.1.1 for env:esp32s3dev_8MB

* small maintainer edit
Co-authored-by: Frank <91616163+softhack007@users.noreply.github.com>
2022-11-25 23:49:49 +01:00
Blaz Kristan
8899684092 Select custom palette bugfix. 2022-11-25 17:33:29 +01:00
Blaz Kristan
8e30e4925c BME280 fixes and optimisations
- MQTT not required
- minor string optimisations
- added enable option
2022-11-25 16:45:21 +01:00
Blaz Kristan
906c7a8ea1 Merge branch 'main' of https://github.com/aircoookie/WLED 2022-11-24 17:43:16 +01:00
cschwinne
324fc149b3 Shorter JSON keys for 1d2d map and sound sim
(smaller fxdata, saves 100b flash, slightly shorter json doc)
2022-11-24 04:15:24 +01:00
Jason Kölker
29b1f2afae
feat(json): add wifi scanning (#2895)
* feat(json): add wifi scanning

Adds wifi scanning to the JSON api at `/json/networks`. The initial
request will trigger a scan, subsequent requests will scan or return the
results depending on the state of the `WiFiScan`.

Add a `Scan` button next to the client ssid input, on click, scan for
networks, and change the input to a select with the found ssids.

Fixes: #1964

* Added option to go back to manual SSID input

Co-authored-by: cschwinne <dev.aircoookie@gmail.com>
2022-11-24 02:50:24 +01:00
mxklb
87fa14b281 Use up-to-date fashion for segment dmx control 2022-11-23 23:19:53 +01:00
Blaz Kristan
b6db86da50 Allow matrix bigger than LED count (missing panels) 2022-11-23 16:54:32 +01:00
mxklb
043947fdcb Added missing brightness to preset DMX mode 2022-11-23 00:38:42 +01:00
Blaz Kristan
713509527a Bugfix for missing ledmap. 2022-11-22 22:17:30 +01:00
mx
ae7eedf523
Merge branch 'Aircoookie:main' into pr_fxsegs 2022-11-20 23:48:06 +01:00
Blaz Kristan
0a1bd748d7 Fix loading transitionDelay on boot 2022-11-20 19:40:54 +01:00
Blaz Kristan
1b351b7743 Broadcast presence on WiFi (re)connect immediately 2022-11-20 18:12:01 +01:00
Jason Kölker
e409bd298a
feat(wifi): add compile time configurtation (#2889)
* feat(wifi): add compile time configurtation

Add `WLED_AP_SSID` and `WLED_AP_PASS` defines to allow configuring the
SoftAP SSID and Password at compile time. Default to existing values.

Add `WLED_AP_SSID_UNIQUE` flag to append the device portion of the mac
address to `WLED_AP_SSID`.

Exampleof all flags (note the quoting to preserve
"stringification"):

```
build_flags =
    -D WLED_AP_SSID='"MyAP"'
    -D WLED_AP_PASS='"MyPassword"'
    -D WLED_AP_SSID_UNIQUE
```

* Removed two error defines

Co-authored-by: Christian Schwinne <cschwinne@gmail.com>
2022-11-20 15:55:38 +01:00
Blaz Kristan
caef289b9b Autosave enable/disable UI button 2022-11-20 15:50:42 +01:00
mxklb
84628bd9fc Refactored DMX effect mode + new segement controls (#2325) 2022-11-19 14:10:40 +01:00
Blaz Kristan
43582b6319 Add segment bounds check. 2022-11-19 11:57:38 +01:00
cschwinne
c14c4425a4 Fix minor UI issues
Logo margin in info page
copy to clipboard button text on two lines
noslide on preset API textfield
Preset margins
2022-11-19 01:59:58 +01:00
Blaz Kristan
c47d6cffa8 Missing presets.json on factory reset bugfix.
Clarification on loading ledmaps in UI.
Added manual ledmap loading.
2022-11-16 20:55:21 +01:00
Constantin Wolf
f104fb0586
SD card support: MMC or configurable SPI (#2877)
Co-authored-by: constantin wolf <constantin.wolf@pwc.com>
2022-11-14 02:30:35 +01:00
degraafm76
75e410e4b4
Analog clock time offset bugfix + optional hour mark feature (#2860)
* Implement optional hour marks
Time offset did not work

* removed undefined error int in hexstringtocolor

* revert cosmetic changes

* minor cosmetic changes

Co-authored-by: mdegraaf <mdegraaf@proxsys.nl>
2022-11-14 02:30:18 +01:00
Ewoud
740316ae2b
Effect ID's back to 0.13 numbering (#2856)
* Effect ID's back to 0.13 numbering

Needed for sync between versions and allow 0.13 presets to work in 0.14

* Effect ID's back to 0.13 numbering (part2)
2022-11-14 02:29:59 +01:00
Blaz Kristan
b141ec7ea7 Fix for #2880 (stateChanged on segment on/off)
Added comments.
Added X1, X2, X3, M1, M2, M3 segment options to HTTP API.
Added "on" handling with "ps".
2022-11-13 12:13:49 +01:00
Frank
50875d5759
Sync Interfaces settings: hide sections for disabled features (#2865)
* Add network debug printer

* hide settings for disabled features

If not enabled at compile time, this change hides "Sync interfaces" settings for Alexa, MQTT, Blynk, HueSync.
The html sections are just hidden by a <div> with style display:none.

* Update Animated Staircas for 0.14

* Faster strip updates.

* Add ESP32 variant display in update page.

* Net debug optimizations

Fix ESP8266 (unaligned progmem flash string reads)
Do not send an extra package for \n in println
Only resolve IP/hostname once

* Compile time option for PIR sensor off timer

* Fix Gitpod compiling (#2875)

* Install Platformio not in Gitpod Image

* Install platformio at runtime

remove outdated extensions

* Bugfix for color transitioning.
Return palette option for Candle.
Fix for "* Color..." palette hiding.
Comment out debug output.

* Optimization & bugfix for net debug.
- Inherited from Print class.
- Added UI option to disable net  debug output.

* Reduce fxdata size by about 200 bytes

Removed redundant commas before semicolon delimiter (`,;` -> `;`)
No need to transmit `@` in /json/fxdata

* NetworkDebugPrinter packet optimization.

* Revert NetworkDebugPrinter changes.

* Remove flush() in bus manager.

* Optimizations.

Co-authored-by: Shaheen Gandhi <shaheen@fb.com>
Co-authored-by: Blaz Kristan <blaz@kristan-sp.si>
Co-authored-by: cschwinne <dev.aircoookie@gmail.com>
Co-authored-by: Jason2866 <24528715+Jason2866@users.noreply.github.com>
2022-11-11 20:20:11 +01:00
Blaz Kristan
61b5e5ad7e Remove flush() in bus manager. 2022-11-11 18:42:00 +01:00
Blaz Kristan
6403d18d15 Revert NetworkDebugPrinter changes. 2022-11-11 18:17:12 +01:00
Blaž Kristan
77f04d913a NetworkDebugPrinter packet optimization. 2022-11-11 14:39:47 +01:00
cschwinne
c0a783198e Reduce fxdata size by about 200 bytes
Removed redundant commas before semicolon delimiter (`,;` -> `;`)
No need to transmit `@` in /json/fxdata
2022-11-11 03:10:41 +01:00
Blaz Kristan
d370f67f60 Optimization & bugfix for net debug.
- Inherited from Print class.
- Added UI option to disable net  debug output.
2022-11-10 21:50:21 +01:00
Blaz Kristan
5f4199183c Bugfix for color transitioning.
Return palette option for Candle.
Fix for "* Color..." palette hiding.
Comment out debug output.
2022-11-09 20:09:01 +01:00
Jason2866
d097f8bf1e
Fix Gitpod compiling (#2875)
* Install Platformio not in Gitpod Image

* Install platformio at runtime

remove outdated extensions
2022-11-09 17:59:31 +01:00
Blaz Kristan
1e104bdd9e Compile time option for PIR sensor off timer 2022-11-07 16:56:41 +01:00
Christian Schwinne
8143be29d9
Merge pull request #2870 from Aircoookie/net_debug
UDP Network debugging
2022-11-06 22:50:35 +01:00
cschwinne
1d8c9ac020 Net debug optimizations
Fix ESP8266 (unaligned progmem flash string reads)
Do not send an extra package for \n in println
Only resolve IP/hostname once
2022-11-06 16:50:12 +01:00
Blaz Kristan
7fcc8be73c Merge branch 'netdebug' of https://github.com/visigoth/WLED into net_debug 2022-11-06 10:58:19 +01:00
Blaz Kristan
e5f9cfd5b6 Add ESP32 variant display in update page. 2022-11-05 18:31:38 +01:00
Blaž Kristan
edd487c1f4
Merge pull request #2863 from Aircoookie/staircase-fix
Staircase fix
2022-11-04 22:45:04 +01:00
Blaž Kristan
71d84fecba Bugfix.
Use default nightLightDelay if ND present.
2022-11-04 08:33:55 +01:00