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

Changing multiple lights in a Lighting Controller ends in only changing the first one #84

Open
Programie opened this issue May 11, 2024 · 0 comments

Comments

@Programie
Copy link

I've a Lighting Controller with 3 outputs. I want to set the state of all 3 outputs using a function node.

For that, my function node has 3 outputs. Each of them is connected to a control-out node with the output of the Lighting Controller selected as "Control".

For some reason, whenever I send the 3 different payloads to the control-out nodes, only the first output is changed. But if I send the payload to only a single control-out node, the light state changes as expected. The same also works if I delay each message using the delay node.

My function node (with three outputs configured) looks like the following:

return [
    { payload: 30 },
    { payload: 50 },
    { payload: true }
];

Then the function outputs are connected to three different control-out nodes with the respective outputs of the Lighting Controller being selected as "Control".

image

The flow looks like the following:

image

I'm not sure whether the issue only appears when using the outputs of the Lighting Controller. I never had any issues with controlling multiple outputs at the same time using other controllers or simple switches.

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

No branches or pull requests

1 participant