Giter Site home page Giter Site logo

Comments (5)

krahabb avatar krahabb commented on August 16, 2024

Hello,
I've developed this integration by implementing a sort of mqtt discovery for meross protocol into the code.
After the initial issues with re-pairing the plugs I've finally managed to let it work with this configuration:
MQTT broker: mosquitto
MQTT TLS: according to your guide and any other to setup TLS on mosquitto with private certificate
MQTT authentication: none (this is important even if not the best use-case: this way I do not have to deal with Meross user_id and passwords at the mqtt level)

Important: when using your meross config utility I had to configure both of the mqtt server keys on the plug to the same mqtthost else the plug would fail unrecoverably and fall back to pairing mode in case the broker was down. Also I did not setup any user/key on the plug itself so all of the signing code in the protocol implementation is based on a null key at the moment.
Let me know if I could help or if my integration could be useful. I can work a bit on that even if the main problem is that I only managed to buy MSS310 plugs so testing is almost impossible for any other device

from meross.

bytespider avatar bytespider commented on August 16, 2024

Thanks for sharing your experience. The current version of this tool already sets both servers to the same if only one is provided.

from meross.

bytespider avatar bytespider commented on August 16, 2024

See https://github.com/bytespider/Meross/wiki/Home-Assistant-(HASSIO) for a rough guide to using Meross plugs with Home Assistant

from meross.

harphere avatar harphere commented on August 16, 2024

Hi @bytespider , do you mind explaining in more detail the 'Device credentials' for using with Hassio? When running meross-setup as you say, I only see the --wifi parameters and not --user.

from meross.

bytespider avatar bytespider commented on August 16, 2024

--user and --key sets the Meross Cloud user id and key and makes up part of the password generated when communicating with the MQTT broker. You can safely ignore them as they offer no additional security on local MQTT

from meross.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.