Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Meross MSS210 plugs #138

Closed
ghost opened this issue Dec 18, 2020 · 8 comments · Fixed by #197
Closed

Issue with Meross MSS210 plugs #138

ghost opened this issue Dec 18, 2020 · 8 comments · Fixed by #197

Comments

@ghost
Copy link

ghost commented Dec 18, 2020

Describe Your Problem:
I have connected four Meross MSS210 plugs to the Meross app on iOS. I have sniffed the sign, timestamp and message ID using HTTP Catcher, and input the values. However, I get the following error in the log, and the switch is unresponsive.

Logs:
[18/12/2020, 15:56:47] [Bedside Lamp] calling getOnCharacteristicHandler for MSS210 at 192.168.1.158...
[18/12/2020, 15:56:47] [Bedside Lamp] Failed to POST to the Meross Device MSS210 at 192.168.1.158: Error: socket hang up
at connResetException (internal/errors.js:617:14)
at Socket.socketOnEnd (_http_client.js:493:23)
at Socket.emit (events.js:327:22)
at endReadableNT (_stream_readable.js:1327:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21) {
code: 'ECONNRESET'
}
[18/12/2020, 15:56:47] [Bedside Lamp] Retrieved status unsuccessfully.
[18/12/2020, 15:56:47] [Bedside Lamp] getOnCharacteristicHandler: false
[18/12/2020, 15:56:50] [Bedside Lamp] calling getOnCharacteristicHandler for MSS210 at 192.168.1.158...
[18/12/2020, 15:56:50] [Bedside Lamp] Failed to POST to the Meross Device MSS210 at 192.168.1.158: Error: socket hang up
at connResetException (internal/errors.js:617:14)
at Socket.socketOnEnd (_http_client.js:493:23)
at Socket.emit (events.js:327:22)
at endReadableNT (_stream_readable.js:1327:12)
at processTicksAndRejections (internal/process/task_queues.js:80:21) {
code: 'ECONNRESET'
}
[18/12/2020, 15:56:50] [Bedside Lamp] Retrieved status unsuccessfully.
[18/12/2020, 15:56:50] [Bedside Lamp] getOnCharacteristicHandler: false

Homebridge Config:
{
"bridge": {
"name": "Homebridge ",
"username": "
",
"port": ,
"pin": "
-
-
*"
},
"accessories": [
{
"model": "MSS210",
"name": "Bedside Lamp",
"deviceUrl": "IP",
"channel": 0,
"messageId": "messageIDsnooped",
"timestamp": *****TS,
"sign": "****sign",
"accessory": "Meross"
}
],

@ghost ghost added the question label Dec 18, 2020
@ghost
Copy link
Author

ghost commented Dec 18, 2020

When i trigger it on and off in homekit, homekit shows it turning on and off, but nothing actually happens to the switch. This error is reported in Homebridge logs:

[18/12/2020, 16:18:59] [Bedside Lamp] Failed to POST to the Meross Device MSS210 at 192.168.1.158: Error: connect EHOSTUNREACH 192.168.1.158:80
at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16) {
errno: -113,
code: 'EHOSTUNREACH',
syscall: 'connect',
address: '192.168.1.158',
port: 80

Edit: i uninstalled everything and reinstalled one switch, and it is unchanged. When i first pressed the button to turn it on it switched off then on very quickly, and is now responsive. I'm confident i have the correct IP address and other details.

@megabashment
Copy link

megabashment commented Dec 24, 2020

I got the same problem. I have the MS 310 working without a problem. Now adding new MS 210 for my christmas tree but it doesn´t work.


[24/12/2020, 14:49:50] xx 3] Failed to POST to the Meross Device MSS210 at 192.168 178.76: Error: connect ETIMEDOUT 192.0.0.168:80
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16) {
  errno: -110,
  code: 'ETIMEDOUT',
  syscall: 'connect',
  address: '192.0.0.168',
  port: 80
}
[24/12/2020, 14:49:51] xx 3] Failed to POST to the Meross Device MSS210 at 192.168 178.76: Error: connect ETIMEDOUT 192.0.0.168:80
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16) {
  errno: -110,
  code: 'ETIMEDOUT',
  syscall: 'connect',
  address: '192.0.0.168',
  port: 80
}
[24/12/2020, 14:49:54] xx 3] Failed to POST to the Meross Device MSS210 at 192.168 178.76: Error: connect ETIMEDOUT 192.0.0.168:80
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16) {
  errno: -110,
  code: 'ETIMEDOUT',
  syscall: 'connect',
  address: '192.0.0.168',
  port: 80
}
[24/12/2020, 14:49:59] xx 3] Failed to POST to the Meross Device MSS210 at 192.168 178.76: Error: connect ETIMEDOUT 192.0.0.168:80
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16) {
  errno: -110,
  code: 'ETIMEDOUT',
  syscall: 'connect',
  address: '192.0.0.168',
  port: 80
}
[24/12/2020, 14:49:59] xx 3] Failed to POST to the Meross Device MSS210 at 192.168 178.76: Error: connect ETIMEDOUT 192.0.0.168:80
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16) {
  errno: -110,
  code: 'ETIMEDOUT',
  syscall: 'connect',
  address: '192.0.0.168',
  port: 80
}
[24/12/2020, 14:49:59] xx 3] Set failed: false
[24/12/2020, 14:50:01] xx 3] Failed to POST to the Meross Device MSS210 at 192.168 178.76: Error: connect ETIMEDOUT 192.0.0.168:80
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16) {
  errno: -110,
  code: 'ETIMEDOUT',
  syscall: 'connect',
  address: '192.0.0.168',
  port: 80
}
[24/12/2020, 14:50:05] xx 3] Failed to POST to the Meross Device MSS210 at 192.168 178.76: Error: connect ETIMEDOUT 192.0.0.168:80
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16) {
  errno: -110,
  code: 'ETIMEDOUT',
  syscall: 'connect',
  address: '192.0.0.168',
  port: 80
}
[24/12/2020, 14:50:06] xx 3] Failed to POST to the Meross Device MSS210 at 192.168 178.76: Error: connect ETIMEDOUT 192.0.0.168:80
    at TCPConnectWrap.afterConnect [as oncomplete] (net.js:1146:16) {
  errno: -110,
  code: 'ETIMEDOUT',
  syscall: 'connect',
  address: '192.0.0.168',
  port
```: 80
}

@tonystower
Copy link

Same here! With two MSS210 plugs. V frustrating, hope a solution can be found soon.

@donavanbecker
Copy link
Collaborator

See #151

@hectorkd
Copy link

hectorkd commented Jan 6, 2021

My mss210 plugs are working perfectly in HomeKit but it shows they have an update available in the Meross app but when I go there it says they're all up to date?
IMG_1514
IMG_1516

@ghost
Copy link
Author

ghost commented Jan 6, 2021

My mss210 plugs are working perfectly in HomeKit

Worth pointing out there are at least 2 flavours of MSS201, one HomeKit natively enabled and one not. I would suggest you don’t connect your HK enabled MSS210 through home bridge, just connect straight to Home

@hectorkd
Copy link

hectorkd commented Jan 6, 2021

My mss210 plugs are working perfectly in HomeKit

Worth pointing out there are at least 2 flavours of MSS201, one HomeKit natively enabled and one not. I would suggest you don’t connect your HK enabled MSS210 through home bridge, just connect straight to Home

These are the MSS210 plugs that don't natively work with HomeKit, which is why I am using home bridge to get them into HomeKit

@caseypugh
Copy link

I'm also getting this same exact error with MSG200 (smart garage opener, firmware 2.1.3 - hardware 2.0.0). When I first set this up, it was working great for a couple weeks. As of today it has completely stopped and getting this message non-stop in Homebridge logs

[1/26/2021, 4:36:13 PM] [Right Garage Door] Error: socket hang up
[1/26/2021, 4:36:14 PM] [Left Garage Door] Failed to POST to the Meross Device MSG200 at 192.168.0.162: Error: socket hang up
    at connResetException (internal/errors.js:607:14)
    at Socket.socketOnEnd (_http_client.js:493:23)
    at Socket.emit (events.js:327:22)
    at endReadableNT (internal/streams/readable.js:1327:12)
    at processTicksAndRejections (internal/process/task_queues.js:80:21) {
  code: 'ECONNRESET'
}
[1/26/2021, 4:36:14 PM] [Left Garage Door] Error: socket hang up
[1/26/2021, 4:36:14 PM] [Right Garage Door] Failed to POST to the Meross Device MSG200 at 192.168.0.162: Error: read ECONNRESET
    at TCP.onStreamRead (internal/stream_base_commons.js:209:20) {
  errno: -104,
  code: 'ECONNRESET',
  syscall: 'read'
}
[1/26/2021, 4:36:14 PM] [Right Garage Door] Error: read ECONNRESET

My config

"accessories": [
        {
            "model": "MSG200",
            "name": "Left Garage Door",
            "firmwareRevision": "2.1.3",
            "deviceUrl": "192.168.0.162",
            "channel": 1,
            "messageId": "09b...5ffb",
            "timestamp": 0,
            "sign": "bcdb...5a0d",
            "garageDoorOpeningTime": 13,
            "accessory": "Meross"
        },
        {
            "model": "MSG200",
            "name": "Right Garage Door",
            "firmwareRevision": "2.1.3",
            "deviceUrl": "192.168.0.162",
            "channel": 2,
            "messageId": "09b...5ffb",
            "timestamp": 0,
            "sign": "bcdb...5a0d",
            "garageDoorOpeningTime": 13,
            "accessory": "Meross"
        }
    ],

I wonder if it got a firmware update automatically and the API format has changed? I also tried to update the login credentials but that also did not work.

@donavanbecker donavanbecker mentioned this issue Feb 13, 2021
donavanbecker added a commit that referenced this issue Feb 13, 2021
## [Version 3.5.0](v3.4.1....3.5.0) (2021-2-13)

### Changes

- Add support for MSL-420 (#167), Thanks @123marvin123!
- Fixed MSS110-1 and MSS110-2 Type Error (#170), Thanks @MrJer!
- Adds support for MSS630 device (#196), Thanks @rcoletti116!

Fixes #118 
Fixes #138 
Fixes #61
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants