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

Disable blinking of internal green led in WB-MSW-ZIGBEE v.4 #7016

Merged
merged 1 commit into from
Feb 5, 2024

Conversation

Dronablo
Copy link
Contributor

@Dronablo Dronablo commented Feb 4, 2024

Hi there!

  • Every such a sensor blinks green inside when works: it is barely noticable during normal coditions, but I use one of them in the bedroom and it it is pretty disturbing at night.
  • Contacted device support, but result was 'use black duct tape'.
  • So, this little PR disables it on Z2M start.
  • Appending new endpoint name (l4) is needed to make it possible to toggle this blinking on and off through dev console: without it Z2M throws an error if I try to access andpoint 5.
  • There could be better solution with toggle available in UI (may be something with the use of kmpcil_res005_on_off converter), but my understanding of this repo is not sufficient yet to make it.

device.powerSource = 'Mains (single phase)';
device.save();
},
endpoint: (device) => {
return {'default': 1, 'l1': 2, 'l2': 3, 'l3': 4};
return {'default': 1, 'l1': 2, 'l2': 3, 'l3': 4, 'l4': 5};
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is l4 also a switch? Then e.switch().withEndpoint('l4'), needs to be added.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I've tried it: toggle showed up in Z2M UI, but it didn't actually switch led on/off.

Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@Koenkk Koenkk merged commit 30d4f48 into Koenkk:master Feb 5, 2024
2 checks passed
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.

None yet

2 participants