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

Add new options for Artnet / sACN #4011

Open
wants to merge 2 commits into
base: 0_15
Choose a base branch
from

Conversation

Bauteiltoeter
Copy link

This PR adds two new options to the available options for sACN / Artnet Interface.

The two new options make it possible to use Artnet to switch between Preset selection and and pixel-control.
For this the first channel is used.
If channel 1 is between 0 and 126 WLED is in Preset mode.
In this case:
Channel 2: Preset ID
Channel 3: Brightness

If channel 1 is between 127 and 255 WLED is in direct pixel mode (RGB or RGBW).
In this case:
Channel 2-4: unused
Starting from channel 5: RGB / RGBW pixel data.

@blazoncek
Copy link
Collaborator

Please rebase your PR for 0_15 branch.

@softhack007 softhack007 added the rebase needed This PR needs to be re-based to the current development branch label Aug 15, 2024
@netmindz
Copy link
Collaborator

It's rather unusual for a dmx fixture to change it's whole personality based on a dmx value, that's what RDM is for.

If we were to make this change then it would be nice if we could handle all possible modes than just preset/rgb

@Bauteiltoeter
Copy link
Author

I didn't see it as "changing the personality" (which in fact is unusual), but I see it as "integrated effect" vs "cell / pixel mode."
There are a lot of fixtures that have an macro channel / mode (brightness + internal effect type) additional to the single cell access. This is why I implemented the switch between "single cell" and "predefined effects".

I'll have to rebase this PR which is a bit of a pain because of the autogenerated files.

@blazoncek
Copy link
Collaborator

I'll have to rebase this PR which is a bit of a pain because of the autogenerated files.

0_15 no longer tracks autogenerated files.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
rebase needed This PR needs to be re-based to the current development branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants