-
Notifications
You must be signed in to change notification settings - Fork 89.9k
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
Devws for most target limited co 144 #35585
Devws for most target limited co 144 #35585
Conversation
@tpmanley Thank you for your suggestions, (SmartThingsCommunity#13835 (comment)), I followed your suggestions to update the code. Thank you for reviewing the code again.
@greens Thank you review. Fixed bugs and code style issues.
1、In the last version,After the 2 or 3 button are pressed, LEVEL_CONTROL_CLUSTER and ADUROSMART_SPECIFIC_CLUSTER two rawdata are reported at the same time, and LEVEL_CONTROL_CLUSTER will be reported multiple times, 2、Now, so the analysis of the button data of LEVEL_CONTROL_CLUSTER on the 2 or 3 button is removed, and only parsed the data of ADUROSMART_SPECIFIC_CLUSTER on the 2 or 3 button, so that other engineer can get the single push event result of triggered by the once press button 2 or 3.
Will this also fix the battery reporting? It currently shows 0% in the app since the device never reports it. |
@prjct92eh2 |
} else if (descMap.command == "00") { | ||
buttonNumber = 4 | ||
} | ||
} else if (descMap.clusterInt == ADUROSMART_SPECIFIC_CLUSTER) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This could possibly register dual events.
Solve the problem of duplication of 1 and 4 button events in the dimming remote control
@greens |
@adurosmart report that this handler is still flakey ... Also, you wont get an approval on the code till conflicts are resolved
|
1, In the last version,After the button 2 or 3 is pressed, LEVEL_CONTROL_CLUSTER and ADUROSMART_SPECIFIC_CLUSTER two raw data are reported at the same time, and LEVEL_CONTROL_CLUSTER will be reported multiple times,
2,Now, the analysis of the button data of LEVEL_CONTROL_CLUSTER on the button 2 or 3 is removed, and only parsed the data of ADUROSMART_SPECIFIC_CLUSTER on the button 2 or 3 , so that other engineer can get the single push event result of triggered by the once press button 2 or 3.
Thank you for review.