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

ArtNET proxyUniverse - ArtNet universe 0 unsupported #4598

Open
1 task done
cas22 opened this issue Mar 16, 2025 · 3 comments
Open
1 task done

ArtNET proxyUniverse - ArtNet universe 0 unsupported #4598

cas22 opened this issue Mar 16, 2025 · 3 comments
Labels

Comments

@cas22
Copy link

cas22 commented Mar 16, 2025

What happened?

When trying to use ArtNet with the Max485 module you can't set the proxy universe under DMX Output to 0, as it disables the function.
E1.31 starts on universe 1 while ArtNet starts on 0, so using anything but ArtNet will work.

To Reproduce Bug

Compile WLED with "WLED_ENABLE_DMX"
It may be necessary to configure the sync interface to use ArtNet but the rest of the setting don't affect the outcome.
Under DMX Output >> Proxy Universe >> Set it to 0.
When you send and ArtNet signal nothing will happen.

Expected Behavior

When ArtNet is selected as the Network DMX input, 0 should be an expected universe value

Install Method

Self-Compiled

What version of WLED?

WLED 0.16.0-alpha (build 2412040)

Which microcontroller/board are you seeing the problem on?

ESP32

Relevant log/trace output

Anything else?

The two places where this problem occurs are:

  • In dmx_output.cpp (void handleDMXOutput()) has if (e131ProxyUniverse != 0) return;
  • And in e131.cpp (void handleE131Packet()) has if (e131ProxyUniverse > 0 && uni == e131ProxyUniverse)

This to checks don't allow the universe to be 0, I have already tried a fix and got it working which is adding a checkbox to disable the proxy mode instead of having to set it to 0.

Code of Conduct

  • I agree to follow this project's Code of Conduct
@cas22 cas22 added the bug label Mar 16, 2025
@netmindz
Copy link
Member

0 is the magic value to disable, so by design rather than bug.

What happens if you use 1, do you get the first ArtNet universe or the second? The way the index is used within a universe is corrected for at a channel level so you might find the same is being done for the universe

@netmindz
Copy link
Member

p.s I would strongly advise against using this feature of WLED as it drops most of your updates anyway as it can't come close to the full speed of DMX

Ok for basic wash lights, useless for any moving heads, pixel mapping etc

@cas22
Copy link
Author

cas22 commented Mar 24, 2025

0 is the magic value to disable, so by design rather than bug.

What happens if you use 1, do you get the first ArtNet universe or the second? The way the index is used within a universe is corrected for at a channel level so you might find the same is being done for the universe

When you set it as 1 you get the second universe, instead of the first (0).
I understand it is by design but it is a mistake either way, as it should let you use it.

@netmindz netmindz changed the title ArtNET proxyUniverse ArtNET proxyUniverse - ArtNet universe 0 unsupported Mar 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants