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.

Meross MSS310 setup

See original GitHub issue

Hi!

This is my config for a smart plug MSS310

{ “name”: “presa”, “deviceUrl”: “http://192.168.1.141”, “hardwareVersion”: 1, “channel”: 0, “messageId”: “d8a5c2e967c923bd80014df179bbfb59”, “timestamp”: 0, “sign”: “82aec8a0295bd874e12ab2c3f31f77”, “accessory”: “Meross” }

and this is the error I get

[Config] Failed to refresh characteristics for presa: socket hang up

node:346) UnhandledPromiseRejectionWarning: TypeError: Cannot read property ‘control’ of undefined at MerossPlug.getOnCharacteristicHandler (/usr/lib/node_modules/homebridge-meross/index.js:203:44) at processTicksAndRejections (internal/process/task_queues.js:97:5) (node:346) 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: 1) (node:346) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. [4/24/2020, 8:50:46 PM] [Pihole] {“status”:“enabled”} (node:346) UnhandledPromiseRejectionWarning: TypeError: Cannot read property ‘control’ of undefined at MerossPlug.getOnCharacteristicHandler (/usr/lib/node_modules/homebridge-meross/index.js:203:44) at processTicksAndRejections (internal/process/task_queues.js:97:5) (node:346) 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: 2)

It doesn’t retrieve the status nor works.

thanks

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9

github_iconTop GitHub Comments

1reaction
moviedancommented, Apr 29, 2020

Amazing @donavanbecker - worked like a charm. I’m going to work through and set the other plugs up now. Thanks for your help.

0reactions
IsonCodecommented, Mar 19, 2021

Hello, I have the same problem with MSS310 plugin version v5.0.1, homebridge v1.3.4. I have successfully set up 2 MSS210 plugs, but I have tried to set up with the same exact method a MS310 plug and it does not work. I know how to proceed te setup (because I have already successfully setup 2 plugs).

Read more comments on GitHub >

github_iconTop Results From Across the Web

MSS310 Smart Wi-Fi Plug With Energy Monitor User ...
Smart Wi-Fi Plug With Energy Monitor User Manual details for FCC ID 2AMUU-MSS310 made by Chengdu Meross Technology Co., Ltd.. Document Includes User...
Read more >
Meross MSS110 / MSS210 / MSS310 LED and button guide.
Press the button to turn the smart plug ON or OFF. To factory reset the smart plug, press and hold the button for...
Read more >
Meross MSS310 Default Router Login
Enter the username & password, hit "Enter" and now you should see the control panel of your router. Meross MSS310 router default login....
Read more >
User Manuals for the Meross MSS310
These user manuals will show you how to correclty configure your MSS310 router, as well as what features you can expect to find....
Read more >
bytespider/Meross
Investigating the Meross MSS310 Smart Plug and getting Meross devices to ... Before you can use the tool to setup your device you...
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