Skip to content

esp32 zigbee onLightChange unwanted results #11495

Answered by P-R-O-C-H-Y
ilker-aktuna asked this question in Q&A

You must be logged in to vote

This is not issue on the Zigbee library side. I have already explained.
What is does on OFF command - sending separate 2 messages:

  1. Send STATE
  2. Send LEVEL

What is does on ON command - sending separate 2 messages:

  1. Send STATE
  2. Send LEVEL

It's 2 separate messages which can be in any order. But I can't tell from the code if its final message or not. So any message have to trigger the onLightChange.
And the onLightChange will be triggered with both parameters - state and level.

Is that understandable now? :)

Replies: 5 comments 2 replies

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies

You must be logged in to vote
0 replies

You must be logged in to vote
1 reply
@P-R-O-C-H-Y

You must be logged in to vote
1 reply
@P-R-O-C-H-Y

Answer selected by P-R-O-C-H-Y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants