Apollon77 / ioBroker.meross

ioBroker Adapter to integrate Meross Cloud based devices
MIT License
23 stars 7 forks source link

Getting frequent iobroker warnings "Can not get Physical Lock data for Device ..." #346

Closed catmountains closed 8 months ago

catmountains commented 1 year ago

Describe the bug
I have several meross devices (i.e msg100, mss425e, mss310) and they work fine with iobroker. I also have the smart thermostat mts200. The device also works fine with iobroker, for example I can set the temperature and can turn it on or off. However, I get the following messages frequently in the iobroker log:

meross.0 2023-08-09 18:52:38.688 warn Can not get Physical Lock data for Device 2206246949270660120148e1e999c00f: Error: Timeout / {"lock":[{"onoff":null,"channel":0}]}
meross.0 2023-08-09 18:52:38.688 warn Can not get Physical Lock data for Device 2206246949270660120148e1e999c00f: Error: Timeout / undefined

To Reproduce
Setup the smart thermostat mts200 in the meross cloud and restart the meross iobroker adapter

Expected behavior
get rid of these messages

Screenshots & Logfiles
image

Versions:

Additional context
n/a

Apollon77 commented 1 year ago

Is the mentioned device online? maybe try restarting it? In fact the devcie mentioned there is giving a timeoiut while reading physical lock data.

catmountains commented 1 year ago

The device is online. I can control it using either the meross app or Apple Home Kit. When I restart the meross Adapter instance in ioBroker, the device is online (in ioBroker) for a short time (a minute or so) but then goes offline and the messages appear in the log.

Apollon77 commented 1 year ago

maybe it do not like to be queried locally? Maybe disable this for the device and try if it works using cloud

catmountains commented 1 year ago

Thanks. I disabled the device (setting disabled=true under the device object) and the messages stopped. This workaround works for me.

Apollon77 commented 8 months ago

Interesting case ... seems tat some thermostats also report yphsical lock but then do not return data ... next version ignores this