homebridge-meross-plug icon indicating copy to clipboard operation
homebridge-meross-plug copied to clipboard

Some MSS110s don't understand "ToggleX"

Open kalleboo opened this issue 6 years ago • 3 comments

When trying this plugin, the device would respond with a 200 with an empty body, but the switch wouldn't toggle.

Looking at a capture from the official app, it uses a toggle payload and a Appliance.Control.Toggle namespace. Changing the code to use these made the plug work for me.

Not sure if this is a firmware difference. My plug is running the latest firmware as of writing, 1.1.26

(btw thanks for this plugin. there's a dearth of HomeKit-compatible gear in my country so unofficial support like this is a lifesaver)

kalleboo avatar Dec 25 '18 07:12 kalleboo

Hi, I am facing similar issue. Can you elaborate which files you modified? I am running homebridge on Ubuntu and NOOB when it comes to coding :).

Thanks in advance.

aralam avatar Dec 26 '18 08:12 aralam

@aralam

In my ubuntu install, the source file is at /usr/local/lib/node_modules/homebridge-meross-plug/src/index.js

The line that says "togglex": { was changed to "toggle": { and "namespace": "Appliance.Control.ToggleX", to "namespace": "Appliance.Control.Toggle",

kalleboo avatar Dec 26 '18 11:12 kalleboo

Followed your instructions ... didn't helped at all. Also, I looked at the dump from the proxy and it shows togglex and ToggleX in the requests from the app ... so not sure if this is the issue ... (see attached snippets of proxy logs)

Thanks in advance

proxy_dump_response_body.txt proxy_dump_request_header.txt

aralam avatar Dec 27 '18 07:12 aralam