Commit Graph

4335 Commits

Author SHA1 Message Date
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
Ewoud
c3c3ff39b5 Change WLEDSR to WLEDMM in comments 2022-11-09 12:14:42 +01:00
Ewoud
f2adc5eff4 Add bin name in info tab, bin name starts with WLEDMM
package.json: Version from 0.14.0.2.0 to 0.14.0.2.1
output_bins.py and xml.cpp: MM postfix after WLED in bin name
index.js and json.cpp: Add bin name in info tab
2022-11-09 11:56:03 +01:00
Frank
20aebf2789 improved support for PDM microphones (SPM1423)
seems that the "swapped channel" workaround is not needed for PDM.
2022-11-09 00:01:40 +01:00
Frank
9fdc176a9e two more "not included in this firmware"
- DMX output
- Loxone Lighting
2022-11-08 21:39:48 +01:00
Ewoud
492fd294de Merge remote-tracking branch 'origin/main' into mdev 2022-11-08 18:12:43 +01:00
Frank
217ab27463 additional info in case that IR support is disabled
similar to other "not compiled into this firmware" messages.
2022-11-07 18:38:36 +01:00
Frank
4b5627ac72 platformio.ini updates
* esp32_4MB_PSRAM_max: free 5% FLASH by disabling some WLED features
* new build env for ESP32 pico board
* small updates for esp32S3
2022-11-07 17:59:58 +01:00
Blaz Kristan
1e104bdd9e Compile time option for PIR sensor off timer 2022-11-07 16:56:41 +01:00
Frank
260740d210 small improvement for analog input
do not disable ADC initially.
2022-11-07 16:26:33 +01:00
Frank
2926ac8e5f npm run build
yo-man
2022-11-07 16:25:42 +01:00
Frank
543a99bb24 hide settings for disabled features
This is a temporary solution, similar to SRWLED 0.13.3.

It could be replaced once my PR to upstream gets accepted: https://github.com/Aircoookie/WLED/pull/2865
2022-11-07 16:12:28 +01:00
Frank
342e0058dc bring back Lupo!
minor.
2022-11-07 15:41:06 +01:00
Frank
4bd35b780e Some improvements for I2S Line-In
- I2S DAC devices utilize the complete sample range [-32767 ... 32768], while I2S microphones typically deliver  samples in [-2047... 2047]. Down-scaling Line-in samples ensures that filters and AGC operate optimally.
- use aPLL clock source for I2S with MCLK
- experimental: I2S slave mode (however could not get it to work ...)
2022-11-07 15:34:42 +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
Blaž Kristan
d30e219d7b Faster strip updates. 2022-11-04 08:27:35 +01:00
Benjamin G
0cfda55b3a Automatically set PC Mode if unset (#2861)
* Automatically set PC Mode if unset

based on the UserAgent

* slight reduction

Reduce flash usage a bit.

Co-authored-by: Blaž Kristan <blaz@kristan-sp.si>
2022-11-03 23:01:32 +01:00
Blaz Kristan
17d1ca82a6 Update Animated Staircas for 0.14 2022-11-03 21:04:40 +01:00
Blaž Kristan
81d2a67948 Minor adjustment in UDP segment options sync.
Added support for node type for S2, S3 and C3.
2022-11-02 14:56:50 +01:00
Ewoud
46ee25b46b Platformio: further refactoring and bug fixing
platformio:
- min and max as postfix instead of prefix
- add common_mm entry for MM build_flags and lib_deps
- add esp32_4MB_V4_max_base entry for V4

const.h and FX_(2D)fcn.cpp: add IRAM_ATTR_YN to switch off if not esp32 (esp8266 not enough iram for this)

json.cpp: start stop compatibility only if 2D not disabled
2022-11-01 18:18:03 +01:00
Blaz Kristan
3bae3aa9aa UDP Sync fix
- sync new sliders
- sync 2D options
2022-10-31 07:13:12 +01:00
Ewoud
0474be3069 Platformio: Refactor PSRAM, S3 and 8266 entries
package.json: -mmod -> _MM

platformio.ini: refactored:
   esp32mdev_PSRAM -> min_esp32_4MB_PSRAM
  esp32s3-mdev -> min_esp32S3_8MB (compile error!)
  esp8266mdev -> min_esp8266_4MB (link error!)

(using extends)

json.cpp: getMinFreeHeap not for esp8266
2022-10-30 10:40:35 +01:00
Ewoud
305c9c5566 Use WLED_RELEASE_NAME to generate bin names and show the name in update
Package.json: set version to mmod numbering
platformio.ini: refactor mmod entries using extend and WLED_RELEASE_NAME
update.htm: change to installed bin
wled.h: add releaseString
xml.cpp: set bin name
2022-10-28 12:25:10 +02:00
Ewoud
306fb01991 Merge remote-tracking branch 'origin/main' into mdev 2022-10-28 11:36:49 +02:00
Blaž Kristan
7211e6b929 Merge pull request #2853 from Aircoookie/PIR-HA-discovery
Add HA discovery option to PIR sermod
2022-10-26 07:16:25 +02:00
siggel
82af52a0bc Feature/nine additional alexa devices for presets (#2787)
* add 9 further alexa devices for calling presets 1-9

* use preset names from WLED for Alexa preset device names instead of hardcoded names

* update readme and version

* call alexaInit() at end of savePreset() to keep Alexa in sync with the preset IDs and names

* This reverts commit f8db06c7c5cfe159f9fc03ebc08547fa3c9e9ebd.

* change order to configured Alexa WLED name first, preset names afterwards

* fix status of devices when shown within Alexa, i.e. switching one preset on switches others off (except for alexaInvocationName)

* re-add getPresetName() after merge with master

* restore original readme for pull request

* restore original platformio.ini for pull request

* Logic simplification

* Pass string by reference

* Added number of presets check

* fix alexaInit() in case of alexaNumPresets==0

Co-authored-by: Christian Schwinne <dev.aircoookie@gmail.com>
2022-10-25 23:42:26 +02:00
Blaz Kristan
e88d34ea19 Correct HA discovery topic & minor adjutments.
Publish on MQTT connect.
2022-10-25 21:47:25 +02:00
Christian Schwinne
e1d7d9511f Save config.json with default values on initial boot (#2854)
* Save config.json with default values on first boot

* Init Ethernet on first boot
2022-10-25 17:11:31 +02:00
Ewowi
80adc3f560 platformio increase max usermods, Manual OTA Update to MoonMod releases 2022-10-25 16:59:40 +02:00
Ewowi
2b55985e96 Merge remote-tracking branch 'origin/dev' into mdev 2022-10-25 16:23:16 +02:00
cschwinne
22d7d2c1f6 Fix FAQ link 2022-10-25 11:53:24 +02:00
cschwinne
2b10a0c513 No blank issues 2022-10-25 11:49:00 +02:00
cschwinne
6e59cfc66c Updated issue templates 2022-10-25 11:47:34 +02:00
cschwinne
51d8344515 Fixed ESP8266 async preset loading
Improved name label visibility on gray images
2022-10-25 03:27:16 +02:00
Blaz Kristan
535f285287 Add HA discovery option to PIR sermod 2022-10-24 21:25:23 +02:00
Blaž Kristan
779fd78091 Merge pull request #2850 from ahadcove/fix/restoring_cfg_json
fix: restoring cfg.json #2847
2022-10-24 21:08:50 +02:00
Blaž Kristan
69a111ee35 Merge pull request #2851 from albarlow/BH1750-Enabled-Bugfix
Fix Enabled Toggle on BH1750
2022-10-24 19:45:10 +02:00
Alex Barlow
7288e5a8fd Fix Enabled Toggle
Adjusted inherited 'disabled' to fix saving bug.
2022-10-24 18:17:37 +01:00
Christian Schwinne
ac57da8713 No F() and numeric comparison 2022-10-24 19:12:27 +02:00
Blaž Kristan
2000d02768 Strings in flash 2022-10-24 18:49:02 +02:00
Christian Schwinne
5ba1ebd525 equals for /presets.json instead of indexof 2022-10-24 18:44:11 +02:00
ahadcove
92329a8dd0 chore: condense the if statement 2022-10-24 11:34:56 -04:00
ahadcove
21de073784 fix: restoring cfg.json #2847 2022-10-24 11:13:33 -04:00
Frank
1954b9493e cfg restore - align with upstream + small bugfix
- align handleUpload() [wled_server.cpp] with upstream AC 0.14.0
- clearer message when presets were uploaded
- small fix for cfg.json upload (first send reply, _then_ set doReboot=true)
2022-10-24 12:01:02 +02:00
Dominik Nussbaumer
3d502a41c5 add static_cast<uint8_t> in order to fix warnings (#2843) 2022-10-23 15:57:42 +02:00