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

Support for WLED 0.13.1? #6

Closed
sofakng opened this issue Jul 26, 2022 · 13 comments
Closed

Support for WLED 0.13.1? #6

sofakng opened this issue Jul 26, 2022 · 13 comments
Labels
question Further information is requested

Comments

@sofakng
Copy link

sofakng commented Jul 26, 2022

Has this been updated to WLED 0.13.1?

I know the README says this project won't be updated but I saw a few commits so I was wondering.

I like having the flexibility of WLED animations (and for diyHue) but also use HyperHDR with AWA protocol.

@sofakng sofakng added the question Further information is requested label Jul 26, 2022
@awawa-dev
Copy link
Owner

Hi
You have v7 beta available (based on WLED 0.13.1) in the releases section:
https://github.com/awawa-dev/HyperSerialWLED/releases
Please follow the instruction and set desired serial communication speed in WLED panel.

But WLED WLED 0.13.1 has some serious bugs like:

wled#2698
wled#2618

Don't know if it affects HyperSerialWLED because I have rewritten whole part of the WLED serial communication and at least it works for me. You can also test it and let me know about the result.

@MattWestb
Copy link

WLED 0.13.3 s released but i dont knowing if its somthing new or fixed things that can being good for our systems.
https://github.com/Aircoookie/WLED/releases/tag/v0.13.3

@appleimperio
Copy link

I was hopping there's a way you can make it work with 0.13.3 too.

@Konnor378
Copy link

Konnor378 commented Sep 1, 2024

@awawa-dev Will there ever be an update to wled? I am using a remote hyperhdr server with a wemos d1 mini with standard wled. I realize that my configuration using wifi is not the best and not as fast as the usb solution for ambilight, but this solution has cut my costs many times over without buying a separate RPI and Tv-box since I have android tv built into my TV and since it is still being updated, I'm not ready to buy a separate TV-box for it. With standard wled unfortunately there are problems with a small but noticeable delay. I think your high speed protocol can solve my problem.

@fl0eb
Copy link

fl0eb commented Oct 1, 2024

If someone is interested it created a pull request: #8

Please make sure to apply the fix wled@2264cc5 before compiling

@appleimperio
Copy link

@fl0eb did you got wled 14.4 working? if so can you explain the process of how to compile it or guide me in the right direction. I would love to try it. Thank You

@fl0eb
Copy link

fl0eb commented Oct 3, 2024

Yeah, works fine for me._ I got tired of HomeAssistant complaining about the old version not being compatible.

The only real "effort" was to merge the code from 0.14.4 together with the HyperSerialWLED code.

For compilation I just used VSCode together with the PlatformIO Extension nothing fancy.
There should be plenty of guides available on how to use it, but you generally just have to execute the "Build: HTML and binary" task.

If you are lazy and trust random people on the internet, here are my binaries, which you should be able to flash OTA.
HyperSerialWLED_0.14.4_fl0eb_BETA.zip

@MattWestb
Copy link

MattWestb commented Oct 3, 2024

Thanks @fl0eb it works great on one D1 Mini !!!
Hope some can do one V20 docker image for HyperHDR (was making on PR for updating it but is not being merged after many mounts).

@appleimperio
Copy link

@MattWestb I create a Hyper-HDR docker image you can try it if you want to https://hub.docker.com/r/nocturno/hyper-hdr

@appleimperio
Copy link

@fl0eb Thank You. I will give it a try

@Konnor378
Copy link

@fl0eb
Hi. I don't quite understand what you did? Just combined the wled 14.4 code and hyperserialwled? And what are the advantages of such integration? It would make a lot of sense to integrate the awa protocol into wled. And so my standard wled 14.4 works quite well with the backlight for the TV via wifi.

@fl0eb
Copy link

fl0eb commented Oct 7, 2024

@fl0eb Hi. I don't quite understand what you did? Just combined the wled 14.4 code and hyperserialwled? And what are the advantages of such integration? It would make a lot of sense to integrate the awa protocol into wled. And so my standard wled 14.4 works quite well with the backlight for the TV via wifi.

HyperSerialWLED is a fork of WLED which replaces the native serial communication with a custom „awa“-protocol.
All I did, was merging the latest changes of WLED into awawa-devs modified WLED code.
So yes, it is WLED with awa protocol.

To make the awa protocol natively supported by WLED you would need to make some adjustments and create a pull request for aircookies repository. However I don’t know if HyperHDR and HyperionNG is enough of a reason to include another protocol natively.

HyperSerialESP32 is a more stable solution with less overhead. Using WLED together with HyperSerial is not recommended and not actively maintained.
The only reason I use this, is because I like to use the ambient light even if the TV is off and home assistant requires the new version.

awawa-dev pushed a commit that referenced this issue Oct 23, 2024
this is a band-aid fix for random crashes when switching between presets with multiple segments - crossfade disabled.

!! adding type initializers fixed it for me on -S3, however I still see (less frequent) crashes on esp32, due to heap corruption.

It took me hours to get a meaningful stackdump:

assert failed: heap_caps_free heap_caps.c:360 (heap != NULL && "free() target pointer is outside heap areas")

Backtrace: 0x40084ee1:0x3ffb2570 0x4008e341:0x3ffb2590 0x40094709:0x3ffb25b0 0x4008534a:0x3ffb26e0 0x40094739:0x3ffb2700 0x400e9037:0x3ffb2720 0x400e917c:0x3ffb2740 0x400eaeeb:0x3ffb2760 0x40117ec5:0x3ffb27c0 0x401184ea:0x3ffb2800 0x4013509d:0x3ffb2820

  #0  0x40084ee1:0x3ffb2570 in panic_abort at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/panic.c:402
  #1  0x4008e341:0x3ffb2590 in esp_system_abort at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/esp_system/esp_system.c:128
  #2  0x40094709:0x3ffb25b0 in __assert_func at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/newlib/assert.c:85
  #3  0x4008534a:0x3ffb26e0 in heap_caps_free at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/heap/heap_caps.c:360
      (inlined by) heap_caps_free at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/heap/heap_caps.c:345
  #4  0x40094739:0x3ffb2700 in free at /Users/ficeto/Desktop/ESP32/ESP32S2/esp-idf-public/components/newlib/heap.c:39
  #5  0x400e9037:0x3ffb2720 in Segment::deallocateData() at wled00/FX_fcn.cpp:189
  #6  0x400e917c:0x3ffb2740 in Segment::resetIfRequired() at wled00/FX_fcn.cpp:206
      (inlined by) Segment::resetIfRequired() at wled00/FX_fcn.cpp:203
  #7  0x400eaeeb:0x3ffb2760 in WS2812FX::service() at wled00/FX_fcn.cpp:1216 (discriminator 2)
  #8  0x40117ec5:0x3ffb27c0 in WLED::loop() at wled00/wled.cpp:115 (discriminator 3)
  #9  0x401184ea:0x3ffb2800 in loop() at C:/src/wled00/wled00.ino:20
  #10 0x4013509d:0x3ffb2820 in loopTask(void*) at C:/Users/user/.platformio/packages/framework-arduinoespressif32/cores/esp32/main.cpp:50

ELF file SHA256: 18c20b536f4c6ef4
@awawa-dev
Copy link
Owner

There is new release based on 0.14.0: https://github.com/awawa-dev/HyperSerialWLED/releases/tag/h0.14.0
Hopefully it will be enough for next few years.
From my short testing 0.14.4 is not stable on esp32 (dev) #10
Beside versions above 0.14.0 could have problems with esp8266: wled#3685

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

6 participants