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

Devws for most target limited co 144 #35585

Conversation

adurosmart
Copy link
Contributor

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.

adurosmart and others added 3 commits February 24, 2020 15:15
@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.
@Automated-House
Copy link
Contributor

Will this also fix the battery reporting? It currently shows 0% in the app since the device never reports it.

@adurosmart
Copy link
Contributor Author

@prjct92eh2
Thank you for review.
Yes,fixed the battery reporting.when user pushed the button battery will reporting.

} else if (descMap.command == "00") {
buttonNumber = 4
}
} else if (descMap.clusterInt == ADUROSMART_SPECIFIC_CLUSTER) {

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
@adurosmart
Copy link
Contributor Author

@greens
Can you help me to review and merge this code?
Thank you very much.

@cgmckeever
Copy link

@adurosmart report that this handler is still flakey ... Also, you wont get an approval on the code till conflicts are resolved

This branch has conflicts that must be resolved

@adurosmart adurosmart closed this Jul 6, 2020
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

Successfully merging this pull request may close these issues.

3 participants