Meross MSS310 setup
See original GitHub issueHi!
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:
- Created 3 years ago
- Comments:9
Top GitHub Comments
Amazing @donavanbecker - worked like a charm. I’m going to work through and set the other plugs up now. Thanks for your help.
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).