homebridge-meross-plug
homebridge-meross-plug copied to clipboard
Some MSS110s don't understand "ToggleX"
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)
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
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",
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