Commit Graph

665 Commits

Author SHA1 Message Date
Frank
c9c7d86462 Merge branch 'mdev' of https://github.com/MoonModules/WLED into mdev 2022-11-09 18:36:39 +01:00
Frank
0fdc0d042d small improvements for I2S PDM and I2S Line-in 2022-11-09 18:36:02 +01:00
Ewoud
c3c3ff39b5 Change WLEDSR to WLEDMM in comments 2022-11-09 12:14:42 +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
Ewoud
492fd294de Merge remote-tracking branch 'origin/main' into mdev 2022-11-08 18:12:43 +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
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
Blaž Kristan
d30e219d7b Faster strip updates. 2022-11-04 08:27:35 +01:00
Blaz Kristan
17d1ca82a6 Update Animated Staircas for 0.14 2022-11-03 21:04:40 +01:00
Ewoud
306fb01991 Merge remote-tracking branch 'origin/main' into mdev 2022-10-28 11:36:49 +02:00
Blaz Kristan
e88d34ea19 Correct HA discovery topic & minor adjutments.
Publish on MQTT connect.
2022-10-25 21:47:25 +02:00
Ewowi
2b55985e96 Merge remote-tracking branch 'origin/dev' into mdev 2022-10-25 16:23:16 +02:00
Blaz Kristan
535f285287 Add HA discovery option to PIR sermod 2022-10-24 21:25:23 +02:00
Alex Barlow
7288e5a8fd Fix Enabled Toggle
Adjusted inherited 'disabled' to fix saving bug.
2022-10-24 18:17:37 +01:00
Frank
7e673f778b a few more words on how a custom effect can be added 2022-10-22 16:52:56 +02:00
bwente
fe09c417ff Create v2 usermod_word_clock_matrix.h (#2473)
* Create usermod_word_clock_matrix.h

Tried using the old usermod on the new build, found out a lot has changed since then. My best attempt to update it. Still needs some help, but it is working. I would like to preconfigure some of the default settings. I am also having an issue with  Error 12: Preset Not Found

* Update readme.md
2022-10-22 11:21:46 +02:00
Blaz Kristan
ca891b0e70 Merge branch 'audioreactive-prototype' of https://github.com/blazoncek/WLED into audio-fix 2022-10-22 11:13:02 +02:00
Blaz Kristan
884b9abfe2 Merge branch 'main' of https://github.com/aircoookie/WLED into audioreactive-prototype 2022-10-22 10:36:04 +02:00
Blaz Kristan
af3ee35c50 Merge branch 'dev' into audioreactive-prototype 2022-10-21 23:47:31 +02:00
Frank
52d1e6d197 Merge remote-tracking branch 'origin/audioreactive-prototype' into mdev 2022-10-21 12:16:51 +02:00
Frank
ba0bc31525 UDP sound sync: added decoder for legacy packets
support decoding of sound sync data from SR version > 0.13.0
2022-10-21 12:12:02 +02:00
Ewowi
f5718b67d4 expand1D: add Circles and Block and show virtualStrip effects with ⋮⋮
index.js: add Circles and Block, add 1.5d
FX.h: add Circles and Block
FX.cpp: add 1.5d to virtualStrip effects
FX_fcn.cpp: add Circles and Block
2022-10-21 12:05:57 +02:00
albarlow
30a029c19f BH1750 upgrades (#2725)
* BH1750 upgrades

Moved the definitions into the main usermods_list.cpp instead of having a section to copy across.

Added Home Assistant Discovery topic for light sensor.  This is toggleable from the usermod menu.

* Configure pin, other enhancements, readme

Implemented pin manager
Made pins configurable at runtime
Improved info screen outputs
Added F() around strings
Updated readme

* Resolve conflict

* Merge branch 'main'

* Missing comma

Co-authored-by: Christian Schwinne <dev.aircoookie@gmail.com>
Co-authored-by: Christian Schwinne <cschwinne@gmail.com>
2022-10-21 03:32:44 +02:00
Dimitry
7cac609c06 Add ADS1115 usermod (#2752)
Co-authored-by: Christian Schwinne <dev.aircoookie@gmail.com>
2022-10-21 03:25:36 +02:00
Sebastian Schmailzl
c2ac215d43 Usermod: Ping Pong Clock (#2746)
* Starting on Ping Pong Clock Usermod, still having to check the led indices and test the stuff out of it

* Adding some attributes to be configured, Added platformio_override

* Fixed LED Numbering, Changed Color to RGB to Work with Settings

* Removing LED Positions from Config

* Some documenting

* Removed example comments to make ping pong clock mod more readable

Co-authored-by: Schmailzl, Sebastian <sebastian.schmailzl@wk-it.com>
Co-authored-by: Christian Schwinne <dev.aircoookie@gmail.com>
Co-authored-by: Christian Schwinne <cschwinne@gmail.com>
2022-10-21 01:47:25 +02:00
Egor
c47972d500 Adapting for the new WLED release: (#2802)
Removed longPressMacro call
  Fix debug calls
  Fix typos
2022-10-21 01:31:43 +02:00
lordjaxom
7b2836c63c Usermod: Analog clock (#2736)
* implement analog clock as a usermod

* fix some bugs, use toki for time measurement, implement fading seconds

* added timezone handling to analog clock

* fixed looping second pointer, lower refresh rate

* removed mqtt debug code

* implement seconds effect choice

* adapt to 0_14 branch

Co-authored-by: Christian Schwinne <dev.aircoookie@gmail.com>
2022-10-20 10:12:17 +02:00
Steven Dashevsky
38e2fc6812 Implemented usermod for integration with smartnest.cz (#2800)
Co-authored-by: Christian Schwinne <dev.aircoookie@gmail.com>
2022-10-20 01:07:32 +02:00
Bartłomiej Wiśniewski
b0037c75a3 Upgrade DHT usermod (#2833)
* Implent publishing DHT data to MQTT broker

* Fix naming and add description
2022-10-20 01:02:52 +02:00
Christian Schwinne
0de928a674 Merge branch 'main' into 0_14 2022-10-20 00:44:40 +02:00
Frank
36bd7147cc small change: fix for potential array bounds violation 2022-10-18 13:40:46 +02:00
Frank
a6dd9c737f small change: 4LD bugfix
Initially i2c_sda and i2c_scl are set to "-1" in wled.h. This can cause a bootloop when trying to initialize I2C with pins (-1, -1).
This fix ensures that usermod initialization will fail when SDA=-1 or SCL=-1.
2022-10-18 12:06:54 +02:00
Frank
8847d47bee cherry-picking from audioreactive development
A few goodies from my development branch, before I continue refactoring so much that I can't extracts nothing anymore.
- GEQ fades a bit slower
- updates to mic profiles
- simple peak detection without FFT (low freqs only)
2022-10-17 18:40:15 +02:00
Ewowi
ad7769c0ab Merge branch 'custom-effects' into mdev 2022-10-16 14:43:04 +02:00
Ewowi
8447f7399f Add FX_MODE_CUSTOMEFFECT = 187 (fixed!!) 2022-10-16 14:40:24 +02:00
Ewowi
1ebff2e546 Merge remote-tracking branch 'origin/dev' into custom-effects 2022-10-16 14:38:20 +02:00
Ewowi
3377b7644e Merge branch 'expand-1DEffects' into mdev 2022-10-16 11:04:23 +02:00
Ewowi
1d55108690 Merge remote-tracking branch 'origin/weather-usermod' into mdev 2022-10-16 11:02:29 +02:00
Frank
eb4aacdf8a fix string overflow
this fixes a string overflow. The "null" character did not fir into tempString, leading array-write-out-of-bounds.
2022-10-13 20:23:06 +02:00
Renaud11232
cd0471386d Fix SSDR usermod compilation (#2825) 2022-10-12 18:18:43 +02:00
Ewowi
bd6ef0464f Merge remote-tracking branch 'origin/dev' into mdev 2022-10-10 16:35:25 +02:00
Blaz Kristan
d00a708177 Minor string optimisations. 2022-10-09 12:09:46 +02:00
Frank
53f1270988 Merge remote-tracking branch 'origin/audio-reactive' into mdev 2022-10-07 17:53:48 +02:00
Frank
19fd5f61db update for ICS-43434 big speaker 2022-10-07 17:44:24 +02:00
Frank
fc9d7f54d8 Merge remote-tracking branch 'origin/audio-reactive' into mdev 2022-10-06 18:26:06 +02:00
Frank
f5b74a2b79 Merge remote-tracking branch 'origin/audioreactive-prototype' into audio-reactive 2022-10-06 18:22:58 +02:00
Frank
64441b39ac critical bugfix
it's possible that volume samples become negative. In this scenario, our simple noise gate does stupid things, and it looks like "effects temporarily lost the sound".
This fix improves the situation, and makes sure that volume samples are always >= 0.
2022-10-06 15:39:28 +02:00
Blaž Kristan
6a3ef2a2e4 Merge pull request #2809 from ingDIY/0_14
defines improvement
2022-10-06 12:15:30 +02:00
srg74
5038e4396e Update usermod_PWM_fan.h
Changed values for proper work.
2022-10-05 15:30:09 -04:00