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

Multi-switch device update failed: Cannot read properties of undefined (reading ‘switch’) #644

Open
webomur opened this issue Feb 8, 2025 · 0 comments

Comments

@webomur
Copy link

webomur commented Feb 8, 2025

Hi, I have been using a 3-channel Sonoff switch with Homebridge eWeLink for a long time. However, I encountered a bug when turning on the 2nd channel. The 1st channel turns on for a second and then turns off again. The following error appears in the logs:

[08/02/2025, 03:32:28] [eWeLink] [Salon] device update failed as Cannot read properties of undefined (reading 'switch') at default.externalUpdate (file:///var/lib/homebridge/node_modules/@homebridge-plugins/homebridge-ewelink/lib/device/switch-multi.js:331:66).

Steps to Reproduce the Issue
1. Turn on the 2nd channel of the multi-switch.
2. The 1st channel automatically turns on and off in 1 second.
3. The error appears in the Homebridge logs.

Ewelink Version: v12.3.3
Node.js Version: v22.13.1
Homebrigde Version: 1.8.5
System: Raspberry Pi

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

No branches or pull requests

1 participant