Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

firmware update options #2

Open
frostworx opened this issue Sep 24, 2023 · 32 comments
Open

firmware update options #2

frostworx opened this issue Sep 24, 2023 · 32 comments
Labels
question Further information is requested

Comments

@frostworx
Copy link

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 frostworx added the question Further information is requested label Sep 24, 2023
@frostworx
Copy link
Author

frostworx commented Oct 14, 2023

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
Copy link

@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
Copy link

kongo09 commented Oct 16, 2023

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

@Drizzt321
Copy link

@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
Copy link
Author

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
Copy link
Author

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
Copy link

kaibae19 commented Nov 7, 2023

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:

  • select the microphone type to 'Generic I2S PDM'
  • set the I2S SD pin to 32
  • set the I2S WS pin to 15
  • set the I2S SCK to unused
  • set the I2S MCLK to unused

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

  • set squelch to 10
  • set gain to 40
  • set AGC to off

Save and reboot the unit.

@frostworx
Copy link
Author

frostworx commented Nov 7, 2023

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
Copy link

NeoMatrixJR commented Nov 13, 2023

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
Copy link

softhack007 commented Nov 13, 2023

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
Copy link

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
Copy link

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

@PetziAt
Copy link

PetziAt commented Dec 18, 2023

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
Copy link

@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
Copy link
Author

frostworx commented Dec 21, 2023

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
Copy link

czesiu20 commented Dec 31, 2023

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
Copy link

madmalkav commented Jan 12, 2024

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
Copy link

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
Copy link

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
Copy link

kongo09 commented May 3, 2024

Is the remote working for you?

@weberjam007
Copy link

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

@weberjam007
Copy link

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
Copy link

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
Copy link

Dogmeat88 commented Jul 8, 2024

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

  • Firmware Bin: WLED_0.15.0-b4_ESP32_audioreactive.bin
  • IR Remote JSON:
  • Sound Reactive settings:
    • Type Generic I2S PDM
    • Pin I2S SD 32
    • Pin I2S WS 15
    • Pin I2S SCK 14
    • Pin I2S MCLK unused
    • Squelch 10
    • Gain 40
    • AGC Off

@Pharkie
Copy link

Pharkie commented Aug 11, 2024

That works great on my Athom controller, @Dogmeat88, many thanks. Apart from RFF, of course, looks like that's not easy to solve?

@Dogmeat88
Copy link

@Pharkie no problem.
Sorry, what is RFF?

@Pharkie
Copy link

Pharkie commented Aug 12, 2024

Some of the Athom controllers have RF433 to wirelessly connect PIR sensors and push buttons. The microphone and IR remote can be made to work with the above settings, but it seems that the RF433 hardware is difficult to make work with more up-to-date WLED firmware.

@busti
Copy link

busti commented Sep 24, 2024

Upgrading to Moon Modules WLED worked perfectly for me.
I checked the info tab in the preinstalled WLED Firmware to find out exactly what ESP was installed, which in my case was an ESP32-D0WDQ5 rev.3 with 4MB of flash. So I chose the WLEDMM_0.14.1-b32.40_esp32_4MB_M.bin image, which at the time of writing the comment was the latest.

I updated my controller by going to Config / Security & Updates / Manual OTA Update using the .bin file directly.

All settings I made previously worked out of the box and the IR remote also worked.

The Microphone did not work.
The Sound Reactive Module was disabled. I had to:

  • Enable it
  • Set Digitalmic to:
    • Type: Legacy I2S PDM
    • Pin I2S SD: 32
    • Pin I2S WS: 15
    • Pin I2S SCK: 14
    • Pin I2S MCLK: undefined
  • Set Config to:
    • Squelch: 10
    • Gain: 60
    • AGC: Off

It only really reacts to loud music. There is a manual gain slider in the info tab which can be used to adjust it from a user perspective.


Its a bit unfortunate that they are the only company selling a WLED compatible controller with a fuse, relay, IR, microphone and case.

@JvDrunen
Copy link

Athom moved over to the normal releases..
check this repo:
https://github.com/athom-tech/WLED/releases
more up to date :)

@softhack007
Copy link

softhack007 commented Sep 24, 2024

It only really reacts to loud music. There is a manual gain slider in the info tab which can be used to adjust it from a user perspective.

This is due to switching AGC off. If you set AGC to "normal" or "vivid", then MoonModules WLED will react a lot better.

Squelch: 10

This is a very high squelch value. Try to optimize it for better reactivity: https://mm.kno.wled.ge/WLEDSR/Squelch-and-Gain/#how-to

@softhack007
Copy link

softhack007 commented Sep 24, 2024

Athom moved over to the normal releases..

Well "kind of". If you try to compile their source code, you will find out that it behaves differently... In my opinion, athom actually moved to closed source, because the binaries on their release page are not build from the released source code. There seem to be some "secret addons" which athom does not publish on github.

@JvDrunen
Copy link

Athom moved over to the normal releases..

Well "kind of". If you try to compile their source code, you will find out that it behaves differently... In my opinion, athom actually moved to closed source, because the binaries on their release page are not build from the released source code. There seem to be some "secret addons" which athom does not publish on github.

That's true.
for me it works and is at least more up to date. :)
(i don't compile it myself)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests