homebridge-meross: Meross Power Strip (MSS420F) Not Working

This is the output I get from the Homebridge console logs

(node:838) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'digest' of undefined
    at Meross.getOnCharacteristicHandler (/usr/lib/node_modules/homebridge-meross/index.js:327:34)
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:838) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 4)

My config is:

        {
            "model": "MSS420F",
            "name": "Meross Strip",
            "deviceUrl": "192.168.1.199",
            "channel": 0,
            "messageId": "69f51bd4a3cee4bb3a0c9df9b5",
            "timestamp": 1592957079,
            "sign": "ef7dbc1e630b7242376bbacea5e3c89",
            "accessory": "Meross"
        }

I’m using HTTP Catcher, it returns a valid 200 response.

I originally posted on Reddit regarding the power strip, sorry it took so long!

About this issue

  • Original URL
  • State: closed
  • Created 4 years ago
  • Comments: 16 (1 by maintainers)

Most upvoted comments

I wanted to post an update, I got it working! Following the 4 channel guide, I altered the config and switched the model back to 420F.

Thank you for all your help.

        {
            "model": "MSS420F",
            "name": "Outlet 1",
            "deviceUrl": "192.168.1.199",
            "channel": 1,
            "messageId": "xxx",
            "timestamp": xxx,
            "sign": "xxx",
            "accessory": "Meross"
        },
        {
            "model": "MSS420F",
            "name": "Outlet 2",
            "deviceUrl": "192.168.1.199",
            "channel": 2,
            "messageId": "xxx",
            "timestamp": xxx,
            "sign": "xxx",
            "accessory": "Meross"
        },
        {
            "model": "MSS420F",
            "name": "Outlet 3",
            "deviceUrl": "192.168.1.199",
            "channel": 3,
            "messageId": "xxx",
            "timestamp": xxx,
            "sign": "xxx",
            "accessory": "Meross"
        },
        {
            "model": "MSS420F",
            "name": "Outlet 4",
            "deviceUrl": "192.168.1.199",
            "channel": 4,
            "messageId": "xxx",
            "timestamp": xxx,
            "sign": "xxx",
            "accessory": "Meross"
        }

@donavanbecker FWIW… I’ve managed to successfully setup this exact power strip today using the guide on the WiKi and the correct model number in the config.

I used channel 1-4 and grabbed the credentials from the /config url using the Charles app