homebridge-meross-plug
v0.1.1
Published
Homebridge plugin for the meross MSS110 plug
Downloads
45
Maintainers
Readme
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 needsudo
depending on your homebridge setup)- Edit your
config.json
to include the plugname
,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]"
}
]
}