X86/x64/arm server version

Hey folks,

Do you know any way to run the webserver on a common linux server? I think it could be a great idea!!! thanks and regards

1 Like

The code is currently tied-into ESP chips.

Yes, I know, but since wled is ready to run an interact with other wled devices, I think it would be nice if we can have it as a service (on the same server that Home Assistant for example) and have the nodeMcu devices with esphome… (Ithink the new version have some support for wled protocol).

IMO it have some advantages like:

  1. Allow you to take advantagees of ESPHome + wled
  2. Allow you to use other available pins on the device
  3. No need to flash the device to add effects

Maybe we can compile an x64 version (I’m a developer but have no idea about c++)

Thanks again for your time

Since the webserver mostly serves just static pages, you could host them on any system!
If you want all of WLED to run on x64 (or non-ESP arm like Raspberry), we would need to replace a lot of ESP-specific libraries and rewrite their interfaces.
Interesting that you mention ESPhome. WLED is a full firmware though, not a protocol, so I’m not sure what you are referring to. Even though the protocol for driving Neopixel LEDs might be supported, it does not mean that it could take advantage of WLED’s effect and segment features.

But I agree with you, in the long term I would really like to make at least the core features of WLED (webserver + LED driving) available on other platforms, a prime candidate for that being the Raspberry Pi.

1 Like

Any thoughts on how much work this could be? I.e. how much code would have to be changed for only the core functions to work?

I am familiar with setting up web servers on e.g. Raspberry Pi, but do not have much experience with Arduino libraries. I want to run a stand alone server with a nice GUI that can control LED:s, and I thought that this library looked promising (except that it is only for ESP devices).


Are you in a pi? Look at light show pi maybe I think this does lights on a pi. Although would love to have wled effects synchronized to a pi in some ways. But right now this software is awesomeness on the esp platform.

There are some libraries for controlling LEDs on the Pi, so that would probably be a good first target. However, porting it to Linux in general would enable it to run on so many more platforms without much additional modification.

I already am running WLED on a Wemos, but it would be nice to also be able to run it synchronized with my Raspberry Pi:s.

So I was just wondering if anyone has an idea of the approximate work it would take (for me) to port only the core to Linux. I’m not familiar with the build system that is used here, so I might have a hard time figuring out what files are part of the core, and which ones that are auxiliary.


No one is going to have more information than you on how much work it would take for you to port the core to Linux. Spend some time looking at the source and trying to figure it out.

It may be the easiest path for getting it to work on the Pi is taking the WebUI and creating a new backend in a scripting language (python, PHP, Ruby, Javascript or whatever you are most comfortable with) that uses a RPi-friendly WS2812 library or CLI.

I looked around in the forks, and couldn’t see that anyone had started with this at least.
Thanks for the tip.