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

MSS310 doesn't update states properly

Open satrik opened this issue 1 year ago • 4 comments

What issue do you have? Please be as thorough and explicit as possible.

First of all, controlling the device via the Home App works. I didn't change anything on the default config of the plugin.

The problem is that the plugin needs very long to update any state. For example if I toggle the device physically on or off, it tooks up to 5 minutes until the state is in homebridge/homekit.

I turned the device physically off at 16:25:00

[10.5.2023, 16:25:59] [Meross] [Smart Plug] current in use [no].
[10.5.2023, 16:29:58] [Meross] [Smart Plug] current state [off].

Another situation is turning the device on/off via the Home app, then it also needs up to 5 minutes until the in use (or any other value) changes.

As I need the values for On/Off and CurrentConsumption for some automations which should start after I turn the device physically on/off, it's bad for me to have such delays now^^ I have also 2 other Meross MSS210 which works like a charm with your plugin and they don't have any problems. Their states are updating more or less in realtime which is really nice.

And one side question, how can I enable debug logging for the plugin? The UI don't show any option and the config "debug": true (described in the wiki) doesn't work.

Details of your setup.

  • Do you use (1) Homebridge UI-X (2) Homebridge CLI or (3) HOOBS? Homebridge UI-X

  • Which version of Homebridge/HOOBS do you have? v1.6.1

  • Which platform do you run Homebridge/HOOBS on (e.g. Raspberry Pi/Windows/HOOBS Box)? Please also mention your version of Node.js/NPM if known. Raspberry Pi 4 (conntected via LAN) node v18.16.0 npm 9.5.1

  • Which version of this plugin (homebridge-meross) do you have? Has the issue started since upgrading from a previous version? v9.1.0 and no

  • Which Meross devices do you have that are causing issues? Please include product models if applicable. MSS310 Hardware Version 6.0.0 Firmware Version 6.3.21

satrik avatar May 10 '23 15:05 satrik

made some tests with the meross-cloud library. with this library I can see (in the console) the physical toggle in realtime. also the current consumption is updating after a few seconds (like in the Meross app).

here are some additional informations of my device/model.

"type": "mss310",
"subType": "un",
"version": "6.0.0",
"chipType": "rtl8710cf",

satrik avatar May 11 '23 16:05 satrik

@bwp91 do you had time to take a look? Any idea what I can do/check?

satrik avatar Jul 20 '23 19:07 satrik

Hi @satrik sorry for delay in reply

My first instincts are - not sure what's happening tbh.

Do you use the plugin in hybrid mode? or local only?

bwp91 avatar Jul 21 '23 19:07 bwp91

I tested all 3 modes, but I want to go with the "hybrid" mode because of the realtime updates. I just made a test with "hybrid", the mss310 took around ~2 minutes to update the power state, the mss210 did it again in realtime. "local only" is working, but of course the updates are depending on the pull interval.

satrik avatar Jul 24 '23 08:07 satrik