Coder Social home page Coder Social logo

atuline / wled Goto Github PK

View Code? Open in Web Editor NEW

This project forked from aircoookie/wled

861.0 54.0 134.0 58.49 MB

Control WS2812B and many more types of digital RGB LEDs with an ESP32 over WiFi.

License: GNU General Public License v3.0

C++ 72.74% HTML 5.86% C 16.06% JavaScript 3.74% CSS 1.00% Python 0.54% Dockerfile 0.04% Batchfile 0.01% Shell 0.01%

wled's Introduction

Stable Branch

This is the SR main branch - the source code for our latest release version WLED-SR v0.13.4. This branch can be a stable baseline for your own project.

  • For ESP32 devices only (8266 no longer supported).
  • ESP32-S2, ESP32-S3 and ESP32-C3 are not supported by this fork. Please look into the MoonModules WLED fork if you have one of these boards.
  • SoundReactive WLED has been integrated into the latest "upstream" WLED as a usermod.
  • This repository is still maintained, and will receive bugfixes. However no new features will be added.
  • Pull Requests should be created against the MoonModules mdev branch.

Sound Reactive WLED! 🎵

Welcome to our Sound Reactive fork of WLED. In addition to the features of WLED below, we also support:

  • Audio input from several sources including high quality I2S digital (INMP441, ICS-43434, SPH0645, etc) inputs, analog devices (MAX4466, MAX9814, MAX9184, INMP401) and line-in.
  • Volume reactive visual effects for ESP32 and ESP8266 devices.
  • Frequency reactive visual effects for ESP32 devices.
  • UDP sound synchronization with transmit for ESP32 and receive for ESP8266 and ESP32 devices.
  • 2D visual effects for ESP32 devices.
  • Squelch and gain settings for ESP8266 and ESP32 devices for the volume reactive visual effects.
  • 2D settings for ESP32 devices.
  • Frequency reactive sliders for ESP32 devices.

We currently have 3 active forks for our Sound Reactive WLED. They are:

In addition, we have a Sound Reactive WLED Wiki.

Join Discord to discuss beta testing of our sound reactive fork of WLED:

Join Discord to discuss AirCookie's WLED:

And now onto regular WLED . . .

Welcome to my project WLED! ✨

A fast and feature-rich implementation of an ESP8266/ESP32 webserver to control NeoPixel (WS2812B, WS2811, SK6812) LEDs or also SPI based chipsets like the WS2801 and APA102!

⚙️ Features

  • WS2812FX library integrated for over 100 special effects
  • FastLED noise effects and 50 palettes
  • Modern UI with color, effect and segment controls
  • Segments to set different effects and colors to parts of the LEDs
  • Settings page - configuration over network
  • Access Point and station mode - automatic failsafe AP
  • Up to 10 LED outputs per instance
  • Support for RGBW strips
  • Up to 250 user presets to save and load colors/effects easily, supports cycling through them.
  • Presets can be used to automatically execute API calls
  • Nightlight function (gradually dims down)
  • Full OTA software updatability (HTTP + ArduinoOTA), password protectable
  • Configurable analog clock (Cronixie, 7-segment and EleksTube IPS clock support via usermods)
  • Configurable Auto Brightness limit for safer operation
  • Filesystem-based config for easier backup of presets and settings

💡 Supported light control interfaces

  • WLED app for Android and iOS
  • JSON and HTTP request APIs
  • MQTT
  • Blynk IoT
  • E1.31, Art-Net, DDP and TPM2.net
  • diyHue (Wled is supported by diyHue, including Hue Sync Entertainment under udp. Thanks to Gregory Mallios)
  • Hyperion
  • UDP realtime
  • Alexa voice control (including dimming and color)
  • Sync to Philips hue lights
  • Adalight (PC ambilight via serial) and TPM2
  • Sync color of multiple WLED devices (UDP notifier)
  • Infrared remotes (24-key RGB, receiver required)
  • Simple timers/schedules (time from NTP, timezones/DST supported)

📲 Quick start guide and documentation

See the documentation on our official site!

On this page you can find excellent tutorials made by the community and helpful tools to help you get your new lamp up and running!

🖼️ User interface

💾 Compatible hardware

See here!

✌️ Other

WLED-SR is based on WLED 0.13.3 Credits here!

WLED-SR specific changes and enhancements require the GPLv3 license.

Join the Discord server to discuss everything about WLED!

Check out the WLED Discourse forum! You can also send me mails to [email protected], but please only do so if you want to talk to me privately. If WLED really brightens up your every day, you can

Disclaimer: If you are sensitive to photosensitive epilepsy it is not recommended that you use this software. In case you still want to try, don't use strobe, lighting or noise modes or high effect speed settings. As per the MIT license, I assume no liability for any damage to you or any other person or equipment.

wled's People

Contributors

aircoookie avatar albarlow avatar apleschu avatar atuline avatar blazoncek avatar chrishultin avatar debsahu avatar def3nder avatar dependabot[bot] avatar ewoudwijma avatar fheilmann avatar fishbone-git avatar garyd9 avatar grumpymeow avatar herm avatar huksley avatar jeffresc avatar moustachauve avatar proto-molecule avatar scottrbailey avatar softhack007 avatar sousanator avatar srg74 avatar stockklauser avatar stringandstickytape avatar thatdonfc avatar travisdean avatar viknet365 avatar w00000dy avatar wiesendaniel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

wled's Issues

ESP32 not enough memory?

Hello,
can it be that the ESP32 has too little memory when Alexa or infrared is activated?
I get the error "too little memory" when I activate Alexa or infrared in the Sketch.

I have somehow managed to install "WLED version 0.12.1-b1" and I can't seem to find it again

Hi,

Thank you for your excellent work on this project, it really is fantastic and much appreciated!
I have a bit of a random question. I set my lights up (3 EPS 32's) some time ago and was just about to set some more up now.

I can't figure out how but I seem to have WLED 0.12.1-b1 (build 2105112) currently installed on the ESP32's with the sound reactive functionality with the sound option in the menu. I can't however seem to find the binary for this anywhere now!? The releases page only has bin of "WLED 0.12.0 (build 2104030)" ?! I feel like I'm being really silly but just thought I'd ask what was going on!?

Relay Wled & Sound

Hello, I use WLed with sound. With Wled without sound you can connect a relay to D6. But that doesn't work with Wled with sound. Is there a way to switch a GPIO when Wled with sound is switched on?

How to get Automatic Gain Control (AGC)

I'm building a sound-reactive hat. As such, it'll need to work in environments with rapidly changing sound levels without manual intervention.

  • Is there a way to enable AGC in sound reactive WLED?
  • If not, I'd be happy to attempt a PR, but I could do with some pointers first

I'm generally happy coding/building/testing WLED, but am not sure where the best place in the code would be to integrate such a feature.

Any thoughts or insights most welcome.

2D GEQ: led count per band not correct

If no sound, no leds should be on. Currently the lowest row is always burning. Cause looks like a programming bug:

File FX.cpp:5157
if (i <= count) should be replaced by
if (i < count)

Can you please replace this in a future version.

Thx,
Ewoud

VBAN

Hello,
First of all, I very appreciate your cool project, but I was wondering if will be posible to not use mic for soundreactive, but direct VBAN audio stream, there is one nice sketch that can easily convert VBAN stream to Int value.

WiFi initialization "hangs"

Hi Andrew,

I'm sometimes switching between my own Fork and your Fork. I noticed that after doing that, sometimes WiFi doesn't connect. It also doesn't initialize it's own Access Point.

I've done some debugging and have managed to get some information. This is the code-trail:
wled::loop -> handleConnection
wled::handleConnection -> initConnection
wled::initConnection -> WiFi.config(0U, 0U, 0U);
(WiFiSTA.cpp)WiFiSTAClass::config
(WiFiGeneric.cpp) bool WiFiGenericClass::mode(wifi_mode_t m)

Eventually the following statement gets called (with m=1,_persistent=false):
err = esp_wifi_set_mode(m);
For some reason this statement never returns. However if i change to:
err = esp_wifi_set_mode(WIFI_MODE_APSTA);
the statement does exit.

I'll update this issue. When i've found a solution or root-cause.

A suggestion for the documentation

Hi!

I have a suggestion for the documentation. In the chapter about First Steps, a text about how to connect to the device could be added:

First Steps

After uploading WLED to the Esp, use your phone and connect to the WLED-AP using the password 'wled1234'.
Click 'Login to network' when the notification about this shows up. You are then transfered to the WLED's start page, and here we should click "WIFI SETTINGS" to connect to the local network. Fill in the settings for your local Wifi network, and then click 'Save & Connect'. The device will reboot and if everything worked it will now be connected to the local network. Finding it's IP-address can be done via the network routers administration page, or via an mobile app like Fing were you can find a new device called "wled-WLED". Open this IP in a webbrowser to access WLED's control page.

  1. On the WiFi Setup page, it is highly re...

Regards Patrik

What's the protocol for audio? Windows / Python App? as source?

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Thank you for your ideas for making WLED better!

What name is default_envs use appropriate for esp-12 nodemcu v3 8266

i use esp-12e nodemcu v3 8266 so please declare which line is suitable because in .ini only default_envs = soundReactive_esp32dev and eth,
Can I ask more if I use mic max9814, which pin of ESP-32 should I plug in because I have ordered and waiting for delivery, now I only use esp-12 temporarily for testing first?
thanks any bro help me

NO IR-Pin

Hello.

I cannot configure the IR pin.
It is always set to -1.
I use GIT V0.12 (Sound Reactive)
I have set the following in "platformio.ini" or "platformio_override.in"
I have set the IR function to PIN 4.

  • Board: LEDBoxV2 (esp32)
  • Version: 0.12.0
  • Format: self-compiled

Thank you for your help!

2D led configuration not in 0.12.0

After installing the new 0.12.0 binary the 2D led width and height cannot be set in the led configuration settings anymore. As a consequence the 2D effects do not work anymore (all lights blinking red only).

Is it possible they got lost in merging with aircookie code?

Error 10: could not mount filesystem

Describe the bug
I'm using the 11.0 sound reactive binary, it's flashed OK and the WLED-AP comes up... but in the UI I get two errors flashing up;

Error 10: could not mount filesystem!
SyntaxError: UnexpectedToken in JSON at position <0

To Reproduce
Just flashed the binary.

Expected behavior
No errors

WLED version

  • Board: ESP32 WROOM
  • Version 11
  • Format binary

Additional context
Seems related to:
https://wled.discourse.group/t/magic-home-rgbw-controller/1411
Aircoookie#1381

INMP441 how conect to D1Mini?

Hello, thanks for the WLED Mod!
I have an INMP441 microphone, which pins do I have to connect to the D1 Mini?

The micro has 6 (l / r, WS, SCK, GND, VDD and SD)
Thanks for your help!

digital Microphone enabled even if set to disabled in setup screen

Describe the bug
I was playing around with line in and digital microphone. I switched off the digital microphone (INMP441) through the settings screen but still got reactions from it. I have to remove the mic from the breadboard to get rid of its input.

To Reproduce
hook up a digital microphone and hook up line in to analog input (VP - PIN36)

Expected behavior
disabling the digital microphone should disable its input and enable analog input only.

WLED version

  • Board: ESP32 Dev Kit v4
  • Version: soundReactive_WLED_0.12.0_dev_0622_ESP32.bin as well as soundReactive_WLED_0.12.0a_ESP32.bin
  • Format. Binary

Thank you for your help!

Enabling Audio Sync WLED confusion flashing

Describe the bug
IF Audio Sync mode selected transmit, WLED confusion flashing, not from the sound, mode disabled WLED is working properly, but cannot be synchronized to other WLEDs.

WLED version

  • ESP32
  • soundReactive_WLED_0.12.0a_ESP32.bin
  • MAX4466

Thank you for your help!

error after uploading firmware

Hi,

when I upload soundReactive_WLED_0.11.1_ESP32_ledpin16.bin to my huzzah32 with microphone amplifire Max4466 I resieve following error
Showing logs:
[01:06:00] .pio / libdeps / soundReactive_esp32_LEDPIN_16 / LittleFS_esp32 / src / lfs.c: 1003: error: Corrupted dir pair at {0x0, 0x1}
[01:06:00] E (59) esp_littlefs: mount failed, (-84)
[01:06:00] E (62) esp_littlefs: Failed to initialize LittleFS
[01:06:01] I2S driver installed.
[01:06:01] Digital microphone is NOT present.
[01:06:01] Ada (edited)

WLED version**

  • Board: Adafruit HUZZAH32 - ESP32 Feather
  • Format: soundReactive_WLED_0.11.1_ESP32_ledpin16.bin
  • microphone amplifire Max4466
    Used pins
    Grd to ledstrip SK1286, power usb to ledstrip datapin Rx or gpo16 (this is working with regular wled version11 bin file WLED_0.11.1_ESP32_ledpin16
    Grd to microphone amplifire Max4466 power 3.3v and pin A1or GPO36 for data.

Thank you for your help!

Wifi Issues

Hi and many thanks for the nixe sound reactive wled project,

i´m very new in wemos stuff and my project starts with some wifi trouble

i use two china nodemcu esp8266 for my wled setups.

after a while using the lights, they are not reachable anymore, after a reboot it works for a while again.
they are showed connected to my wifi but they are not reachable.

any ideas?

best regards

Input monitor

It would be great to have some kind of monitor for the input source in the UI to help tweak the gain and squelch values. I'm thinking of some small graph showing the peaks/lows.

Button and Macros

So in the settings it says the macros have moved, and I can somewhat see where I'm supposed to edit the API under presets, but I am still unfamiliar with how to go about this, haha. Previously I used a macro someone had where it would use a button press to cycle through effects

FX=~

But I cannot seem to implement this into the API, moreover I would be more interested in making the button press cycle through my custom presets.

If anyone could help it would be greatly appreciated.

Unable to save Blynk Auth code under Sync Interface section.

Describe the bug
Firstly I would like to say big Thanks! to the dev team, who have developed this awasom Sound Reactive WLED project.

Dear Team, I am facing issue with Blynk Auth code, what I am not able to save. After save it, when I check, auth code shows clear. while it should be look like ****. This issue is only in Sound Reactive WLED, if I am using only WLED then it looks fine and working with Blynk App.

Other with ESP 8266 nodemcu, unable to save LED Data Pin.

WLED version

  • Board: ESP32 dev and ESP8266
  • Version : Sound Reactive WLED Version 0.12.0 - Runtime Configurable Pins!!!
  • Format : Download Bin file, Only I flashed it with ESP flasher.

Thank you for your help!

Apply sound preset at boot

Hi Atuline,
If I use a sound effect preset to be started at boot it sometime works and sometimes doesn't.
Is it possible that the Mike isn't initialized at boot procedure (in parallel thread?).
I have an inmp441 Mike and lolin32 board

Enable USERMOD_DHT with SoundReactive WLED

Dear Team,

Firstly, I would like to say Big Thanks for this such amazing and great project. I love it.

All time you guys, helped me out if I needed. Now, Again I am seeking your help in order to enable the DHT22 sensor with my SoundReactive LED.

I am using:
WLED 0.12.0 latest source code
ESP32 Dev Module
DHT22 Sensor

I tried it many times by modifying the source code and complied. But that didn't work for me. I am not sure, where I am doing mistake.

Below is given:-

In usermod_list.cpp, I have defined #define USERMOD_DHT

As documented, if I am copying platformio_override.ini file in root directory, then I am not able to compile the code. Therefore I have modified below in platformio.ino

[env:soundReactive_esp32dev]
board = esp32dev
platform = [email protected]
upload_speed = 921600
;upload_port = /dev/cu.SLAB_USBtoUART
;monitor_port = /dev/cu.SLAB_USBtoUART
build_unflags = ${common.build_unflags}
build_flags = ${common.build_flags_esp32} -D WLED_DISABLE_MQTT -D USERMOD_DHT -D USERMOD_DHT_CELSIUS -D USERMOD_DHT_STATS
lib_ignore =
ESPAsyncTCP
ESPAsyncUDP

And add the library to lib_deps =
https://github.com/alwynallan/DHT_nonblocking

I am able to compile and upload the code, however not seeing AP "WLED-AP".

Please help me out , how I would be able to enable DHT22 sensor with my soundReactive WLED.

You'r response would be highly appreciated.

Thanks very much
Amit Kr. Singh

volume controlled brightness

Hi Atuline,

I think it might be an interesting idea to use volume to control brightness of an effect, for example the spectral effect could benefit from it. Is this something considered before? In that case volume controlled brightness would be a checkbox per effect or a general setting.
In case this is complex, could you add 'spectral-by-volume' as an extra effect? I guess this will become my favorite ;-)

Add log file info to the Info page

This feature suggestion is quite simply to add the log file info to the info page.

If I boot up Wled when it is connected to my computer, the log file shows info as follows:
[09:35:00]eI2S driver installed.
[09:35:00]Digital microphone is NOT present.
[09:35:00]Ada

My suggestion is to simply add those lines to the Info page, or even a "Show boot log" button to the info page. If further information is useful then that could also be added.

2D led matrix horizontal or vertical

Tried to find how the recommended positioning of a 2D led matrix is. Eg if you do the chase effect, should it go from left to right or from top to bottom? Could not find it in the documentation.

Watchdog trigger in function mode_chase_flash_random (deleted was not for fork)

Describe the bug
if I let run the mode: chase_flash_random long enough (like 5mins) I get a watchdog trigger error

To Reproduce
Start the chase_flash_random mode and wait

Expected behavior
Should not trigger the watchdog

WLED version

  • ESP32 dev
  • Newest stable

Additional context
The error says that it triggers here:

uint16_t WS2812FX::mode_chase_flash_random(void) {
  uint8_t flash_step = SEGENV.call % ((FLASH_COUNT * 2) + 1);

  for(uint16_t i = 0; i < SEGENV.step; i++) {
    setPixelColor(i, color_wheel(SEGENV.aux0)); <--------------------------- HERE
  }

  uint16_t delay = 1 + ((10 * (uint16_t)(255 - SEGMENT.speed)) / SEGLEN);
  if (flash_step < (FLASH_COUNT * 2)) {
    uint16_t n = SEGENV.step;
    uint16_t m = (SEGENV.step + 1) % SEGLEN;
    if (flash_step % 2 == 0) {
      setPixelColor( n, SEGCOLOR(0));
      setPixelColor( m, SEGCOLOR(0));
      delay = 20;
    } else {
      setPixelColor( n, color_wheel(SEGENV.aux0));
      setPixelColor( m, SEGCOLOR(1));
      delay = 30;
    }
  } else {
    SEGENV.step = (SEGENV.step + 1) % SEGLEN;

    if (SEGENV.step == 0) {
      SEGENV.aux0 = get_random_wheel_index(SEGENV.aux0);
    }
  }
  return delay;
}

Right now I could temporary fix the trigger with this inside the service loop

TIMERG0.wdt_wprotect = TIMG_WDT_WKEY_VALUE;
TIMERG0.wdt_feed = 1;
TIMERG0.wdt_wprotect = 0;

TIMERG1.wdt_wprotect = TIMG_WDT_WKEY_VALUE;
TIMERG1.wdt_feed = 1;
TIMERG1.wdt_wprotect = 0;

and this in the fx.h

#include "soc/timer_group_struct.h"
#include "soc/timer_group_reg.h"

Thank you for your help!

Help with UDP data

Hi

I'm trying to use the UDP data emitted by WLED using https://github.com/atuline/WLED/wiki/UDP-Sound-Sync as a guide.

Am I correct in thinking that "fftResult" is 16 bytes representing the level of each frequency band? So if it's quiet, all bytes will be zero? If I'm playing something with heavy bass I'd expect to see the value increasing in the first 8 or so bytes. Treble would be in bytes 8-16 etc?

Or have I got the wrong end of the proverbial stick?

Instance (Node) list button missing

Describe the bug
The [Nodes] Button from the original v0.12 WLED is missing in this work.
the Audio Reactive ESP32 is also not visible to the default WLED esp8266´s Nodes list.
Manual OTA Update was successful.

To Reproduce
Update esp32 audio reactive wled to v0.12
Check presence of the [Nodes] Button in the Top Bar.

Expected behavior
Nodes Button should be visible and the esp32 should be visible for other esp8266´s?

WLED version

  • Board: ESP32 dev
  • Version 0.12.0
  • Format Binary

Additional context
//

Thank you for your help!

MQTT does not save

Describe the bug
When entering MQTT Settings (and checking the activation checkbox) those settings wont be saved when clicking on save.

To Reproduce
Lolin32 Lite with latest atuline/wled release flashed. Mqtt settings entered.

Expected behavior
mqtt settings shall be saved

WLED version

  • Board: lolin32 lite
  • Format binary 0.11.1

Thank you for your help!

How to add TEXT on WLED APP Not use soft 3rd And Help Setting MAP LED on XLights

WLED version

  • Board: [ESP32 wroom 32U devkit v4]
  • Version [0.12.0, soundreactive dev 0622]
  • Format [Binary, self-compiled] both

Thank you for your help!

In 2d matrix on wled of Atuline with settings Serpentine enabled the 2d animation runs to full image no problem but I'm stuck on Xlights
i want to know is there a way to run the TEXT signature right on the WLED UI without going through 3rd software like XLights because i am having trouble in the location MAP LED for XLights because i solder the zigzag serial wire as shown, not straight parallel. and attached picture of my settings for Xlight, can any bro guide me to edit the MAP LED part for Xlight, above on WLED I map as follows:
{"map":[0, 1, 2, 3, 4, 5 , 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,
31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,
46,47,48,49,50,51,52,53,54,54,56,57,58,59,60,
61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,
76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,
91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,
106,107,108,109,110,111,112,113,114,115,116,117,118,119,120]}.
And tried reversing the order of 4 zigzag wires:
{"map":[0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15,
30,29,28,27,26,25,24,23,22,21,20,19,18,17,16,
31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,
60,59,58,57,56,55,54,53,52,51,50,49,48,47,46,
61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,
90,89,88,87,86,85,84,83,82,81,80,79,78,77,76,
91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,
120,119,118,117,116,115,114,113,112,111,110,109,108,107,106]} ,
but it didn't work correctly, it was overwritten with 2 characters close to each other even though I only showed 1 letter

WLED_Settings
Xligts-setting-Strand-Node
Xlight-setting-Submodel

Xlight-setting-states-NodeRanges

8x15-Stock-0-120

watefall

Hello thank you for your work
I use the latest compiled version to have alexa
I have a microphone on a ribbon and another ribbon without a microphone I transmit the sound of the first ribbon to the second everything works correctly except the waterfall which lights up just white on my second ribbon and works on that of the microphone

besides, is it useful to transfer the sound to another led tape or to just make a sync it comes back to the same of course if we use the same program I think it is useful to transmit the sound if the presets are different thank you anyway I also have to dig what is effect with the colors I sometimes do not understand I do not have a lot of color I have to leave default for the colors and applied the effects that's it thank you

esp 32 and immp441 for first strip and esp32 for a second strip

How to use the new macro system?

I would like to have a button act as a momentary switch to a certain preset which will take over until the button is released and then return to previous program.

Use case is I use this on a motorcycle and would like to use your fork to add the sound reactive functionality, but I also like to wire in my brake light to turn all the leds red when braking.

INMP441 doesn't work when ESP32 DEVKITV1 is powered via VIN

Describe the bug
Hi, this is a really weird possible bug I've encountered. I have 120 SK6812, so RGB + White Channel, which have been configured and are working as expected. The whole system is powered by a legit Meanwell 10A 5V PSU. +5V and GND from the ESP32 and the LED strips are connected directly to the PSU, which has been configured to output 5.05V. The INMP441 Digital Microphone and LED datapin are wired up according to the wiki.

I've tested the microphone with the provided Sketch and it's definitely working (reading a bit on the lower side - around 500 on normal loudness music). The LED sound-reactive effects are also working if I power everything via USB (removed 60 LEDs for that). If I use the PSU and no USB cable all sound-reactive effects stop working, everything else is working as expected.

I at first thought this might be related to some weird noise in the power system, so I added a cap to the 5V line (35V 1000uF low ESR) which didn't fix the issue. So next I tried connecting the USB cable as well as the Power Supply and all effects including the sound-reactive ones are working. I then unplugged the USB cable and to my surprise everything was still working. Sound-reactive effects are working as expected and I can switch between them, even though the whole system is now powered by the Meanwell PSU. So basically if I "jump-start" the ESP with an USB cable and then switch over to the Meanwell PSU everything works without any issues. After cutting power and restarting the effects won't work anymore. So I ruled any electrical noise issues.

I had a look at the docs but found nothing that could help me. Only interesting thing I possibly found is the initialisation process. My thought here is, that maybe the digital microphone doesn't get initialised fast enough if the ESP is powered via VIN making WLED fallback to analog input (which of course doesn't work).

I haven't tried a custom compiled version yet, my next steps would be to find the mic initialisation in the code and try delaying that by a few seconds to check whether that might solve my issue. Just wanted to run this by you guys before and ask whether you have any ideas / have experienced something similar.

Here is a picture of my wiring if this helps:
F35D2AC9-A171-4277-846D-F07E05A58981_1_105_c

Expected behavior
INMP441 working on VIN power input

WLED version

  • Board: ESP32DEVKITV1
  • Version 0.11.1 (latest)
  • Format Binary

Thank you for your help!

Enabling Audio Sync - Crashes Network.

Describe the bug
When enabling the feature "Transmit" crashes the network. (potentially flooding), if I disconnect the unit it stops .. connect it again and keeps flooding, brings down everyone on my network.

To Reproduce
Tried changing the Transmit port, same issue even if port 10000 steps apart.

Expected behavior
Transmit should save without crashing the network (probably flooding) and the receiving unit should act accordingly.

WLED version

  • ESP32
  • 11.1
  • .bin

Additional context
Anything else you'd like to say about the problem?

Thank you for your help!

Binmap effect doesn't work when receiving UDP Sound Sync

It seems that the Binmap effect does not work when trying to use UDP Sound Sync to receive microphone data. The other effects are working fine. Any ideas what might be going on or anything I could try to fix?

Great project btw!

Reboot every few seconds

I Have a ESP32-Wroom-32, the 38 Pin Version. This one is resetting every few seconds. Any ideas?

I have some normal Wled installations running. Only this one fails with reboots. Its not a bootloop.

WS8215 strip

Hello,
Is WS8215 supported (seems so from the hardware setup) ?
If so, as there is a backup data line .. do I need to connect D4 to both data and backup data lines ?
I dont see a diagram for it on my strip as I had on the 8212B ...

PS: I returned a WS8212B wich was working, but it seems the data does not go to the 8215 as the strip does not react to the changes. The only difference is that now the ESP is connected to the USB port ... might be this or a cable issue.

audioReactive _ ir romote

audioReactive 0.10.1 ı have but ir remote control cant work normal wled0.10.1 can work but audioreactive cant work.
esp 8266-12f gıpo4 ir sencor means d2 pin ?

Lights freezes on OLED display refresh

Describe the bug
When using the ssd1306_i2c_oled_u8g2 usermod the lights freezes for a couple of millisecs every time the OLED display refreshes. Tried with usermod type v1 and v2 too. The refresh rate of the OLED display is also very slow (compared to the non soundreactive version of WLED)

To Reproduce
Change effect or change color palette.

Expected behavior
No hangs and hickups in the light show.

WLED version

  • Board: ESP32 dev and ESP32 Mini
  • Version: 0.11.0, latest available source today
  • Format: self-compiled

Thank you for your help!

Alexa control

Hello,

I'm using your WLED version with a little mic and it's working well, thank you for the work :)
I was trying to add the strip on my Alexa device to control on/off and static colors, but I can't manage to get it detected by my echo dot.
I was wondering if your project work with this Wled functionality.
I'm able to control another original Wled with Alexa, but the audio reactive is not detected no matter what I try.
I'm running it on an ESP8266.
Thanks in advance for any help.

mobile phone buil-in microphone

hi thanks for your good job with audio reactive
is there any option to use mobile phone built-in microphone for audio reactive efects?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.