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.

MSS310H is not supported?

See original GitHub issue

Hi, I own a Meross MSS310H (hardware version 2) and was trying your library to get consumption data and switch on and off the plug from my Linux NAS.

I’ve tried on a Ubuntu VM to install Python 3 and your library but when I run the script on the README file I do not get any device:

user@ubuntu:~/meross$ python3 meross.py
Listing Devices...

So I tried to edit the /usr/local/lib/python3.4/dist-packages/meross_iot/api.py file to uncomment line 73 (instruction print(jsondata)) and this is the output I get:

user@ubuntu:~/meross$ python3 meross.py
Listing Devices...
{'info': 'Success', 'apiStatus': 0, 'data': {'userid': '170119', 'token': '**cut**', 'key': '**cut**', 'email': '**cut**'}, 'timeStamp': 1550308953, 'sysStatus': 0}
{'info': 'Success', 'apiStatus': 0, 'data': None, 'timeStamp': '2019-02-16 17:22:34', 'sysStatus': 0}
{'info': 'Success', 'apiStatus': 0, 'data': [{'channels': [{}], 'userDevIcon': '', 'devIconId': 'device031_it', 'deviceType': 'mss310h', 'hdwareVersion': '2.0.0', 'bindTime': 1549389138, 'region': 'eu', 'uuid': '2912265024316329086934298f186e3d', 'iconType': 1, 'domain': 'eu-iot.meross.com', 'subType': 'it', 'fmwareVersion': '2.1.6', 'skillNumber': '', 'reservedDomain': 'eu-smart.meross.com', 'onlineStatus': 1, 'devName': 'Socket'}], 'timeStamp': 1550308954, 'sysStatus': 0}

AFAIK this confirms that the data is correctly pulled from the Meross servers, just the library has to be adapted to support it. Do you think it will be possible?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
albertogeniolacommented, Feb 20, 2019

As far as I understood, you’re now able to turn the plug ON and OFF, right?

Yes, confirmed!

I don’t understand what the problem is.

You said earlier:

the message you see is just a debug message. The problem is that the status property is not updated and the getStatus might be wrong. I should investigate better on your device before adding explicit support to it. For now, I’ll create the PR myself and add a warning message for MSS310H owners.

so what I noticed is that even with this new version, the library returns the same output than before (including the “UNKNOWN msg received by …”). I though it wasn’t your expected result… so I asked if there’s anything you need to investigate and, if yes, then I’m at your disposal 😉

Ah, yeah, I see now. Well, at the moment I cannot prepare any specific implementation to address that issue. But I really appreaciate your help and I’ll ask you to test in case I end up with something. Thank you guys!

1reaction
albertogeniolacommented, Feb 16, 2019

Hi, you are on the right path. The problem is that the library is somehow referring to the wrong SSL module…

It seems you are using python3.4, while this library requires python 3.6+ to work correctly. Would you mind to update your python version and try again with the modified source?

Read more comments on GitHub >

github_iconTop Results From Across the Web

MSS310 Meross smart plug / power consumption is not ...
Since last HA update 2021.12 the current enerhy usage is not transmitted to HA. Power usage remains 0,0 W even a plugin in...
Read more >
Meross smart plug integration issues (model = MSS310)
UPDATE - no longer working! The Meross app works fine on my two plugs but ST no longer controls them - if you...
Read more >
Is there a technical reason why MEROSS equipment is not ...
I have some MEROSS equipment (https://www.meross.com/) but none of it is supported by ESPHome. I have zero knowledge about electronics so I ...
Read more >
Meross MSS110 / MSS210 / MSS310 LED and button guide.
OFF: Your receptacle is not powered on/The smart plug is not turned on. Button: Press the button to turn the smart plug ON...
Read more >
Meross MSS310 Working : r/homebridge - Reddit
I just got the Meross MSS310 working I installed the plugin I followed the first part of the instructions (the http catcher bit...
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