GithubHelp home page GithubHelp logo

meross-java's Introduction

Meross IoT library

This is a Java based library providing an API for controlling Meross IoT devices over the internet. It is based on the work of albertogeniola who managed to reverse engineer the Meross API and provides the Python based library https://github.com/albertogeniola/MerossIot.

Basically all devices are currently supported, but only a few are actually tested, please refer to the Currently supported devices section. Feel free to comment and/or contribute to this repository.

This library is still work in progress, therefore use it with caution and report bugs in the issues section.

Installation

Right now you will have to clone the repo locally in order to build the jar and use it in your project.

mvn clean install

Usage

The library should be designed in a selfexplanatory way. But here an exctract from the main test class that I use which is also contained in this repo.

//todo

Currently supported devices

The list of tested devices is the following:

  • MSS110
  • MSS210
  • MSS310
  • MSS310h
  • MSS425e
  • MSS425F

Protocol details

This library was implemented by reverse-engineering the network communications between the plug and the meross network. Anyone can do the same by simply installing a Man-In-The-Middle proxy and routing the ssl traffic of an Android emulator through the sniffer.

If you want to understand how the Meross protocol works, have a look at the Wiki. Be aware: this is still work in progress, so some pages of the wiki might still be blank/under construction.

So far, I've bought the following devices:

  • MSS425E
  • MSS425F
  • MSS710
  • MSS5X0

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.