homebridge-meross-plug

0.1.1 • Public • Published

Homebridge Meross MSS110 Plug

This is a probably fragile homebridge implementation of the Meross MSS110 mini-plug.

This is a pet project. I can't promise it'll work for you. If it does, that's awesome! It may also break. I am using this in "production" at my house, so any fixes I make for my setup will be published.

PRs welcome!

Setup

Assuming you have a working homebridge setup, this is how you add the meross plugin:

  • npm i -g homebridge-meross-plug (You may need sudo depending on your homebridge setup)
  • Edit your config.json to include the plug name, authToken, & deviceUrl.

If you're setting this plug up fresh, make sure you go through the typical meross app for initial setup. You will need to know what the plugs IP address is on your network. You will also have to get the auth token that the meross mobile app uses in its HTTP request headers. I used Charles proxy and proxied to my iPhone to sniff the network requests from the app.

Yep, that's probably fragile and all kinds of bad. #YOLO

{
  "accessories": [
    {
      "accessory": "Meross",
      "name": "Bedroom lamp",
      "deviceUrl": "http://192.168.11.11",
      "authToken": "Basic [token you sniffed yourself]"
    },
    {
      "accessory": "Meross",
      "name": "Entertainment center lights",
      "deviceUrl": "http://192.168.11.12",
      "authToken": "Basic [token you sniffed yourself]"
    }
  ]
}

Package Sidebar

Install

npm i homebridge-meross-plug

Weekly Downloads

3

Version

0.1.1

License

MIT

Unpacked Size

20.5 kB

Total Files

4

Last publish

Collaborators

  • robdel12