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

Bind command executed after Trigger #235

Open
obrain17 opened this issue Sep 18, 2023 · 2 comments
Open

Bind command executed after Trigger #235

obrain17 opened this issue Sep 18, 2023 · 2 comments

Comments

@obrain17
Copy link

I have a modified ZBMini with this configuration:

image

Input 2 is linked to Output 2 and has the Bind command "Toggle". For this one it is bound to a device called AmpPlug:

image

This "Toggle" command is executed whenever the Switch on Input 2 is switched - as expected.

Now I found that the Bind command is also executed when Output 2 is set to "off" after a "Trigger" command ('onWithTimedOff') has timed out.

I think state changes on Outputs should not affect Bind commands on Inputs that are linked to them. Normal "on" and "off" and starting the "onWithTimedOff" on do already correctly not affect the Bind command.

Behaviour is for both CC2530 and CC2652.

@ptvoinfo
Copy link
Owner

@obrain17 This output is linked to an input. So, yes, it can affect the input.

@obrain17
Copy link
Author

I checked with a different setup, with Input not linked to the Output:

image

If the Input 2 is not linked to the Output 2, the behaviour is still the same:
The Bind command "Toggle" is sent when Output 2 is set to "off" after a "Trigger" command ('onWithTimedOff') has timed out.

Probably the internal timer callback function additionally executes all binding commands for endpoint 2 rather than just switching the Output off and report this.

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

2 participants