Content-Length: 250063 | pFad | http://github.com/homebridge-plugins/homebridge-ewelink/issues/644

A0 Multi-switch device update failed: Cannot read properties of undefined (reading ‘switch’) · Issue #644 · homebridge-plugins/homebridge-ewelink · GitHub
Skip to content

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

Open
@webomur

Description

@webomur

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://github.com/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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: http://github.com/homebridge-plugins/homebridge-ewelink/issues/644

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy