question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BUG] MSS510 Smart Wall Switches Not Responsive & Show incorrect firmware upgrade option in HomeKit

See original GitHub issue

**Description: It seems that Single Pole Meross Smart Wall Switches (model MSS510) running latest v3.1.5 firmware, are showing in HomeKit that there is a firmware upgrade available, and they are also unresponsive. A toggle seems to take effect but then quickly reverts. This is NOT happening with the MSS550 3-Way model Smart Wall Switches (firmware v3.1.3). Both the Meross App and their tech support team confirm there is no such upgrade for MSS510, and that the v3.1.5 firmware is the latest for the MSS510 smart switches. While not working in HomeKit, the MSS510 switches are able to be controlled normally through the Meross iOS App.

**Summary: HomeBridge somehow is misinforming HomeKit that there is a firmware update available for the Single Pole MSS510 smart switches, when in fact there is none. Side effect also seems lack of toggle/operational control. Interestingly the 3-Way MSS550 switches seem unaffected.

**Steps to reproduce: Add any MSS510 smart switch running latest v3.1.5 firmware to the Meross plugin.

**Expectation: The MSS510 smart switches should be controllable through HomeKit, and not show there is a firmware upgrade when there isn’t.

Logs: There are no logs in Homebridge (even in debug mode) pertinent to this issue and no visible errors.

Homebridge Config (sanitized):

{
    "bridge": {
        "name": "Homebridge 0BD2",
        "username": "0F:6C:13:C8:0B:D2",
        "port": 51605,
        "pin": "822-17-817",
        "bind": [
            "eth0"
        ],
        "advertiser": "ciao"
    },
    "accessories": [
        {
            "delay": 5000,
            "disableSensor": false,
            "startOnReboot": false,
            "accessory": "DelaySwitch"
        },
        {
            "name": "Pi Hole Toggle",
            "auth": "6508b645731ddbf98e2b9ec5d",
            "ssl": false,
            "rejectUnauthorized": true,
            "host": "localhost",
            "port": 80,
            "baseDirectory": "/admin/",
            "time": 0,
            "reversed": false,
            "logLevel": 1,
            "accessory": "Pihole"
        },
        {
            "username": "email@domain.com",
            "password": "password",
            "name": "Sense Energy Meter",
            "pollingInterval": 300,
            "verbose": false,
            "accessory": "SensePowerMeter"
        }
    ],
    "platforms": [
        {
            "name": "Config",
            "port": 8581,
            "auth": "form",
            "theme": "auto",
            "tempUnits": "f",
            "lang": "auto",
            "platform": "config"
        },
        {
            "controllers": [
                {
                    "address": "172.31.0.1",
                    "password": "password",
                    "username": "homebridge@udm.com"
                }
            ],
            "verboseFfmpeg": false,
            "platform": "UniFi Protect"
        },
        {
            "name": "Govee Hydrometer",
            "batteryThreshold": 25,
            "debug": false,
            "platform": "GoveeHomebridgePlugin"
        },
        {
            "name": "Meross",
            "devices": [
                {
                    "name": "MBA Exhaust Vent Switch",
                    "model": "MSS510",
                    "serialNumber": "na",
                    "firmwareRevision": "3.1.5",
                    "deviceUrl": "172.31.0.82",
                    "messageId": "88fd5d123e1edb135bd56e1f445",
                    "timestamp": 1609812486,
                    "sign": "19f51e19dc190e491b0931c4ab"
                },
                {
                    "name": "Office Sconces Switch",
                    "model": "MSS510",
                    "serialNumber": "na",
                    "firmwareRevision": "3.1.5",
                    "deviceUrl": "172.31.0.105",
                    "messageId": "6413d1d6a5ab8786b070e593",
                    "timestamp": 1609721788,
                    "sign": "3fe104fe177894b3a3a530c81"
                },
                {
                    "name": "MBR Sconce Switch",
                    "model": "MSS510",
                    "serialNumber": "na",
                    "firmwareRevision": "3.1.5",
                    "deviceUrl": "172.31.0.141",
                    "messageId": "de0cb6ed8fc9b97ce95a9257",
                    "timestamp": 1610146761,
                    "sign": "a3570ac9470f971a6126b797b"
                },
                {
                    "name": "Backyard Right Sconce Switch",
                    "model": "MSS510",
                    "serialNumber": "",
                    "firmwareRevision": "3.1.5",
                    "deviceUrl": "172.31.0.77",
                    "messageId": "e6e3c89fc370ad15f602bea",
                    "timestamp": 1610146977,
                    "sign": "f669f0b51e3e2a90239ce0c"
                },
                {
                    "name": "Entrance Ceiling Lights",
                    "model": "MSS550",
                    "serialNumber": "na",
                    "firmwareRevision": "3.1.5",
                    "deviceUrl": "172.31.0.165",
                    "messageId": "8a90d76f13fa2b7a412a5c5",
                    "timestamp": 1611097245,
                    "sign": "ab0f0a8af0d722713d6d3b73"
                },
                {
                    "name": "Downstairs Hallway Light",
                    "model": "MSS550",
                    "serialNumber": "na",
                    "firmwareRevision": "3.1.2",
                    "deviceUrl": "172.31.0.169",
                    "messageId": "1674e764c74bc7406e",
                    "timestamp": 1611183821,
                    "sign": "bc7695c7fb771dc1b7cb"
                }
            ],
            "pushRate": 5,
            "platform": "Meross"
        },
        {
            "bonds": [
                {
                    "ip_address": "172.31.0.162",
                    "token": "e93434bec5"
                }
            ],
            "include_dimmer": true,
            "include_toggle_state": true,
            "fan_speed_values": true,
            "platform": "Bond"
        },
        {
            "email": "email@domain.com",
            "password": "afcaefacawerac",
            "name": "LiftMaster-MyQ",
            "platform": "myQ"
        }
    ]
}

Screenshots: IMG_2968 IMG_2969

Environment:

  • Node.js Version: v14.17.1
  • NPM Version: v7.18.1
  • Homebridge Version: v1.3.4
  • Homebridge Meross Plugin Version: latest (v5.0.3)
  • Homebridge Config UI X Plugin Version: latest (v4.41.1)
  • Operating System: Debian v10.7 on Raspberry PI 4

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:16 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
SemoTechcommented, Aug 18, 2021

Awesome sauce @bwp91 Thank you!

1reaction
yonigold1commented, Jul 29, 2021

Restarting my Pi did the trick thanks so much for your help! 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

[BUG] MSS510 Smart Wall Switches Not Responsive & Show ...
The MSS510 smart switches should be controllable through HomeKit, and not show there is a firmware upgrade when there isn't. Logs: There are...
Read more >
Meross Switch (MSS510): Unable to Add to HomeKit - Reddit
I just installed my first Meross WiFi smart switch (MSS510). Everything is working as it should from a circuitry perspective (i.e. the light ......
Read more >
Meross or HomeKit issue? - Apple Community
Updated the firmware and all is good. The Home App no longer complains stating there is a firmware update. Then I look at...
Read more >
Meross Smart Light Switch Supports Apple HomeKit, Siri ...
Meross Smart Light Switch Supports Apple HomeKit, Siri, Alexa, Google Assistant & SmartThings, 2.4Ghz Wi-Fi Light Switch, Neutral Wire Required, Single Pole ...
Read more >
I Can't set up HomeKit with Apple Home app. - Meross
If not, the accessory will not support HomeKit and won't have a HomeKit setup code. For switches, please tap "Don't Have a Code...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found