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

Add energy report to SW2500ZB and other minor fixes #5697

Merged
merged 2 commits into from
Apr 29, 2023

Conversation

ericgu08
Copy link
Contributor

Following the previous modification Koenkk#5684)] and after a firmware update of light switch SW2500ZB, the actionReport (clicks) are no longer been reported. The Specific Sinope cluster was added to the bind and actionReport is now compatible with new and old firmware version.

Corrected the converter for led_intensity_on, led_intensity_off and timer_seconds which was causing duplication of states (ledIntensityOn, ledIntensityOff, dimmerTimmer)

Added connected_load parameter for energy calculation
Added energy report via the metering cluster.

Corrected state variable duplication, add connected load and report energy calculated via metering.  Fixed actionReport for the latest firmware.
@ericgu08 ericgu08 marked this pull request as ready for review April 29, 2023 05:46
@Koenkk Koenkk merged commit 7a2cd96 into Koenkk:master Apr 29, 2023
@Koenkk
Copy link
Owner

Koenkk commented Apr 29, 2023

Thanks!

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.

2 participants