athom-tech / Sound-Reactive-WLED

MIT License
62 stars 6 forks source link

firmware update options #2

Open frostworx opened 9 months ago

frostworx commented 9 months ago

I recently ordered two "WLED ESP32 Music Addressable LED Strip Controller".

On your project page you're referring to your wled SR fork as firmware update source, the official SR project is here though.

Your fork does not seem to be very actively developed (in fact even the readme points to the real project), so I wonder if your fork is still required for fw updates?

Additionally the official WLED project has audio reactive support since the latest beta - could this be used as well for firmware updates?

frostworx commented 8 months ago

this explains the dead support here... edit: the linked issue targets the IR remote, but I wouldn't be surprised (now), if the core reason is the same...

Drizzt321 commented 8 months ago

@frostworx Use official binaries via kno.wled.ge, don't bother with their repo. It's at the OOOOOLD v0.13.3. Official 0.14.0 was just released, and contains a TON of improvements, including merged the SR into core WLED repo.

kongo09 commented 8 months ago

Can someone confirm that the new FW works with the microphone and the remote?

Drizzt321 commented 8 months ago

@kongo09 You might need to update some settings on the v0.14.0 after flashing to get to the right mic setting.

The various pins and where they connect can be found on the page, I believe you're referring to https://www.athom.tech/blank-1/wled-esp32-rf433-music-addressable-led-strip-controller

Not sure about the IR remote, probably can get it partially working. As for RF433, doubtful unless you port the Usermod (https://github.com/athom-tech/Sound-Reactive-WLED/tree/master/usermods/RF433) from their repo to the core.

Really wish Athom would upstream their Usermod/remote differences. That way they wouldn't end up having OOOOOLD firmware on their otherwise excellent hardware, and not have to actually maintain any of the software themselves. Lower mid- and long-term costs that way.

frostworx commented 8 months ago

yeah, thought so, @Drizzt321 Already bumped to official 14.0, but haven't done anything with it yet. Thank you for your reply here! ;)

frostworx commented 8 months ago

Might help others as well:

In the end, I did not even try to get the microphone to work, but instead used KeyboardVisualizer in combination with OpenRGB to trigger led effects based on audio running on my machine (where the wled device itself was added as E1.21 device in OpenRGB)

It works excellent! :}

kaibae19 commented 8 months ago

I haven't tried to get the remote to work, but I can confirm the microphone works with the official release.. In order to enable the microphone, confirm the settings in the Usermods -> Audioreactive config section.

Set:

Keeping the settings from the athom repo defaults, change the config section to:

Save and reboot the unit.

frostworx commented 8 months ago

Thank you for posting your settings, @kaibae19! Only gain and AGC were different here.

Edit: who needs an IR remote, when you can use Home Assistant instead :)

NeoMatrixJR commented 7 months ago

Just got my christmas lights set up. Really want the 0.14 version on it (have it on another WLED device). About to push from HA...praying it doesn't hose my setup. I'm not using IR or Sound Reactive anyway...so...should be fine right?

softhack007 commented 7 months ago

You could give the MoonModules WLED fork a try.

We have a special PDM microphone driver variant "legacy I2S PDM" that works better with athom hardware, and you can still use AGC without problems.

Also we made an attempt to get the athom IR to work, however some keys are having slightly different functions in the MoonModules WLED fork.

Andoramb commented 7 months ago

You could give the MoonModules WLED fork a try.

We have a special PDM microphone driver variant "legacy I2S PDM" that works better with athom hardware, and you can still use AGC without problems.

Also we made an attempt to get the athom IR to work, however some keys are having slightly different functions in the MoonModules WLED fork.

OMG I just found MoonModules, looks promising, I'm definitely going to try it out! I have a night lamp with a temp and pir sensor, rotary encoder and some lights. Looks like the upgrade I was waiting for :)

Andoramb commented 7 months ago

But in principle, I'm really satisfied with MoonModules 😄 works without a hassle 👍 Thanks! 🚀

PetziAt commented 6 months ago

The "WLED ESP32 Music Addressable LED Strip Controller" is working fine with WLEDMM_0.14.0-b27.31_athom_music_esp32_4MB_M.bin

https://github.com/MoonModules/WLED/releases

Thanks.

andreas-bulling commented 6 months ago

@frostworx Use official binaries via kno.wled.ge, don't bother with their repo. It's at the OOOOOLD v0.13.3. Official 0.14.0 was just released, and contains a TON of improvements, including merged the SR into core WLED repo.

Which binary do I need given there are different versions? Thanks!

frostworx commented 6 months ago

I'd suggest using the latest stable audioreactive build "WLED_0.14.0_ESP32_audioreactive.bin" from https://github.com/Aircoookie/WLED/releases/tag/v0.14.0

(mine is still running the beta "WLED 0.14.1-b1 Hoshi")

Edit: just bumped without any issues to stable 0.14.0

Interesting how many people look for information in this repo btw, it would be clever (likely also business-wise) if athom would not point to this dead fork

czesiu20 commented 6 months ago

I can confirm that the newest WLED_0.14.1-b2 is working great with Athom music version. I just used changes from this repository in official WLED sources with AudioReactive user mod enabled. There are very few changes and the ATHOM team could handle it in an hour.

I guess the ATHOM team is waiting for a stable version of WLED. Let's hold off on the opinion that they are lazy.

Tip for the team: After adding the IR remotes to the GUI list (wled00\data\settings_leds.htm), the project must be rebuilt as described in: https://kno.wled.ge/advanced/custom-features/#changing-web-ui

My environment configuration is: [platformio] default_envs = Athom_SoundReactive

[env:Athom_SoundReactive] board = esp32dev platform = ${esp32.platform} platform_packages = ${esp32.platform_packages} upload_speed = 921600 build_unflags = ${common.build_unflags} build_flags = ${common.build_flags_esp32} -D WLED_RELEASE_NAME=ATHOM_SoundReactive ; disable specific features -D WLED_DISABLE_MQTT -D WLED_DISABLE_LOXONE -D WLED_DISABLE_ALEXA -D WLED_DISABLE_HUESYNC -D WLED_DISABLE_ADALIGHT -D WLED_DISABLE_2D -D WLED_DISABLE_ESPNOW ; -D WLED_DISABLE_WEBSOCKETS ;(19kb) without this WLED UI is not updated due to IR remote changes ; PIN defines: -D WLED_MAX_BUTTONS=1 -D BTNPIN=0 -D RLYPIN=2 -D IRPIN=25 -D IRTYPE=9 ;0 Remote disabled|1 24-key RGB|2 24-key with CT|3 40-key blue|4 40-key RGB|5 21-key RGB|6 6-key black|7 9-key red|8 JSON remote|9 Athom 24key Music|10 Athom 24key RGB -D LEDPIN=18 ; SoundReactive PIN defines: -D SR_DMTYPE=5 ;0=analog, 1=generic I2S (default), 2=ES7243 I2S, 3=SPH0645 I2S, 4=generic I2S with master clock, 5=PDM I2S -D I2S_SDPIN=32 -D I2S_WSPIN=15 -D I2S_CKPIN=-1 -D SR_SQUELCH=10 -D SR_GAIN=40 ; TODO: SR_AGC=0 ;0=Off, 1=Normal, 2=Vivid, 3=Lazy (audio_reactive.h needs modification) ; enable Audio Reactive user mod ${esp32.AR_build_flags} ; Use custom settings from file my_config.h ; -D WLED_USE_MY_CONFIG lib_deps = ${esp32.lib_deps} ${esp32.AR_lib_deps} monitor_filters = esp32_exception_decoder board_build.partitions = ${esp32.default_partitions}

Half work is behind you guys.

madmalkav commented 5 months ago

Happy I found this, was thinking of buying this devices but seems Athom is one of those "release and forget" companies, not buying devices without proper support.

Petrakeas commented 5 months ago

A tried the stable version of WLED_0.14.1_ESP32_audioreactive.bin

https://github.com/Aircoookie/WLED/releases/tag/v0.14.1

Seems to be working. An issue I had, and remains unresolved, is that when wifi sleep is enabled, the connection is problematic and when I have the LEDs turned off, I get a restart after a few seconds and they turn on with orange color.

weberjam007 commented 2 months ago

I just flashed WLEDMM_0.14.1-b30.36_athom_music_esp32_4MB_M.bin from https://github.com/MoonModules/WLED/releases and all seems to be working. Fixed the names of effect and color palettes in my Home Assistant system. I'll report anything else interesting (good or bad).

kongo09 commented 2 months ago

Is the remote working for you?

weberjam007 commented 2 months ago

I don't use a remote. I think I have one somewhere and will test it if I can find it.

weberjam007 commented 2 months ago

I found the IR remote and receiver. Worked just fine.

One other note for Home Assistant users, don't upgrade if it offers a 0.15.0-b2. I was unable to get the mic to work with that version.

softhack007 commented 2 months ago

I found the IR remote and receiver. Worked just fine.

One other note for Home Assistant users, don't upgrade if it offers a 0.15.0-b2. I was unable to get the mic to work with that version.

Yes be careful to not "accidentially upgrade" your music controller with "plain Aircoookie WLED". You'll lose IR support, and your microphone will also not work well in plan WLED. So it's better to only use MoonModules(MM) WLED, and don't update blindly to something with a bigger number.

Audioreactive in MM is much better (1.5 years ahead) and we have a driver called "Legacy I2S PDM" especially for the music controller.

Dogmeat88 commented 1 day ago

I needed WS2805 support so I gave it a go with V0.15.0.b4 and got it working with the following settings: