Apollon77 / ioBroker.meross

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

Device reconnection loop #366

Open husneck opened 4 months ago

husneck commented 4 months ago

Hi, please find my log-data below:

meross.0 | 8054 | 2024-07-22 14:26:29.942 | debug | Device Send Raw: 2110182100303890858148e1e979f273 - data: {"header":{"from":"/app/1785368-58dd970292e6b2f987bf7b41a3ef6498/subscribe","messageId":"c2168086d9b71a12af6de19780138de6","method":"GET","namespace":"Appliance.System.All","payloadVersion":1,"sign":"46dd8b8c7f12f8838f465ecc05ddf291","timestamp":1721651190},"payload":{}}
-- | -- | -- | -- | --
meross.0 | 8054 | 2024-07-22 14:26:29.941 | debug | MQTT-Cloud-Call 2110182100303890858148e1e979f273: {"header":{"from":"/app/1785368-58dd970292e6b2f987bf7b41a3ef6498/subscribe","messageId":"c2168086d9b71a12af6de19780138de6","method":"GET","namespace":"Appliance.System.All","payloadVersion":1,"sign":"46dd8b8c7f12f8838f465ecc05ddf291","timestamp":1721651190},"payload":{}}
meross.0 | 8054 | 2024-07-22 14:26:29.890 | debug | connected set to true
meross.0 | 8054 | 2024-07-22 14:26:29.857 | debug | stateChange meross.0.info.connection {"val":true,"ack":true,"ts":1721651189850,"q":0,"from":"system.adapter.meross.0","user":"system.user.admin","lc":1721651189850}
meross.0 | 8054 | 2024-07-22 14:26:29.853 | debug | stateChange meross.0.2110182100303890858148e1e979f273.online {"val":false,"ack":true,"ts":1721651189850,"q":0,"from":"system.adapter.meross.0","user":"system.user.admin","lc":1721000743166}
meross.0 | 8054 | 2024-07-22 14:26:29.841 | info | Device: 2110182100303890858148e1e979f273 connected
meross.0 | 8054 | 2024-07-22 14:26:29.620 | info | Device: 2110182100303890858148e1e979f273 reconnected
meross.0 | 8054 | 2024-07-22 14:26:24.717 | debug | connected set to false
meross.0 | 8054 | 2024-07-22 14:26:24.716 | debug | stateChange meross.0.info.connection {"val":false,"ack":true,"ts":1721651184714,"q":0,"from":"system.adapter.meross.0","user":"system.user.admin","lc":1721651184714}
meross.0 | 8054 | 2024-07-22 14:26:24.636 | debug | stateChange meross.0.2110182100303890858148e1e979f273.online {"val":false,"ack":true,"ts":1721651184634,"q":0,"from":"system.adapter.meross.0","user":"system.user.admin","lc":1721000743166}
meross.0 | 8054 | 2024-07-22 14:26:24.621 | info | Device: 2110182100303890858148e1e979f273 closed: null

This reconnections happen every minute and can only be stopped for some time restarting the instance.

Apollon77 commented 4 months ago

Please add more logs to see which query may have caused this. also try to power cycle the device

husneck commented 4 months ago

Since I don't know where the logs should start, I add some more logging data. Power cycling the devices with no effect.

meross.0 | 8054 | 2024-07-22 15:08:24.792 | debug | connected set to false
-- | -- | -- | -- | --
meross.0 | 8054 | 2024-07-22 15:08:24.790 | debug | stateChange meross.0.info.connection {"val":false,"ack":true,"ts":1721653704774,"q":0,"from":"system.adapter.meross.0","user":"system.user.admin","lc":1721653704774}
meross.0 | 8054 | 2024-07-22 15:08:24.689 | debug | stateChange meross.0.2110182100303890858148e1e979f273.online {"val":false,"ack":true,"ts":1721653704688,"q":0,"from":"system.adapter.meross.0","user":"system.user.admin","lc":1721000743166}
meross.0 | 8054 | 2024-07-22 15:08:24.683 | info | Device: 2110182100303890858148e1e979f273 closed: null
meross.0 | 8054 | 2024-07-22 15:08:19.978 | debug | Device Send Raw: 2110182100303890858148e1e979f273 - data: {"header":{"from":"/app/1785368-58dd970292e6b2f987bf7b41a3ef6498/subscribe","messageId":"640457876910f7f00218a356e0a55ca0","method":"GET","namespace":"Appliance.System.Online","payloadVersion":1,"sign":"6e4a94197c18d604c4ff4ef26d61d823","timestamp":1721653700},"payload":{}}
meross.0 | 8054 | 2024-07-22 15:08:19.977 | debug | MQTT-Cloud-Call 2110182100303890858148e1e979f273: {"header":{"from":"/app/1785368-58dd970292e6b2f987bf7b41a3ef6498/subscribe","messageId":"640457876910f7f00218a356e0a55ca0","method":"GET","namespace":"Appliance.System.Online","payloadVersion":1,"sign":"6e4a94197c18d604c4ff4ef26d61d823","timestamp":1721653700},"payload":{}}
meross.0 | 8054 | 2024-07-22 15:08:19.968 | warn | Can not get Data for Device 2110182100303890858148e1e979f273: undefined
meross.0 | 8054 | 2024-07-22 15:08:19.968 | debug | 2110182100303890858148e1e979f273 All-Data: undefined
meross.0 | 8054 | 2024-07-22 15:08:19.967 | info | Can not get Data for Device 2110182100303890858148e1e979f273: Error: Timeout
meross.0 | 8054 | 2024-07-22 15:08:09.988 | debug | Online 2110182100303890858148e1e979f273: undefined
meross.0 | 8054 | 2024-07-22 15:07:59.967 | debug | connected set to true
meross.0 | 8054 | 2024-07-22 15:07:59.966 | debug | Device Send Raw: 2110182100303890858148e1e979f273 - data: {"header":{"from":"/app/1785368-58dd970292e6b2f987bf7b41a3ef6498/subscribe","messageId":"33c6466ad1e5f160a9c9766d002eb96b","method":"GET","namespace":"Appliance.System.All","payloadVersion":1,"sign":"4ab626191958701931b45e5fd6d61fc8","timestamp":1721653680},"payload":{}}
meross.0 | 8054 | 2024-07-22 15:07:59.966 | debug | MQTT-Cloud-Call 2110182100303890858148e1e979f273: {"header":{"from":"/app/1785368-58dd970292e6b2f987bf7b41a3ef6498/subscribe","messageId":"33c6466ad1e5f160a9c9766d002eb96b","method":"GET","namespace":"Appliance.System.All","payloadVersion":1,"sign":"4ab626191958701931b45e5fd6d61fc8","timestamp":1721653680},"payload":{}}
meross.0 | 8054 | 2024-07-22 15:07:59.920 | debug | stateChange meross.0.info.connection {"val":true,"ack":true,"ts":1721653679918,"q":0,"from":"system.adapter.meross.0","user":"system.user.admin","lc":1721653679918}
meross.0 | 8054 | 2024-07-22 15:07:59.878 | debug | stateChange meross.0.2110182100303890858148e1e979f273.online {"val":false,"ack":true,"ts":1721653679877,"q":0,"from":"system.adapter.meross.0","user":"system.user.admin","lc":1721000743166}
meross.0 | 8054 | 2024-07-22 15:07:59.872 | info | Device: 2110182100303890858148e1e979f273 connected
meross.0 | 8054 | 2024-07-22 15:07:59.682 | info | Device: 2110182100303890858148e1e979f273 reconnected
meross.0 | 8054 | 2024-07-22 15:07:54.779 | debug | connected set to false
meross.0 | 8054 | 2024-07-22 15:07:54.777 | debug | stateChange meross.0.info.connection {"val":false,"ack":true,"ts":1721653674774,"q":0,"from":"system.adapter.meross.0","user":"system.user.admin","lc":1721653674774}
meross.0 | 8054 | 2024-07-22 15:07:54.693 | debug | stateChange meross.0.2110182100303890858148e1e979f273.online {"val":false,"ack":true,"ts":1721653674690,"q":0,"from":"system.adapter.meross.0","user":"system.user.admin","lc":1721000743166}
meross.0 | 8054 | 2024-07-22 15:07:54.682 | info | Device: 2110182100303890858148e1e979f273 closed: null
meross.0 | 8054 | 2024-07-22 15:07:49.986 | debug | Device Send Raw: 2110182100303890858148e1e979f273 - data: {"header":{"from":"/app/1785368-58dd970292e6b2f987bf7b41a3ef6498/subscribe","messageId":"3a91ffb24c628f34aa48865e1bab2bc5","method":"GET","namespace":"Appliance.System.Online","payloadVersion":1,"sign":"75ce2397ad9d3a9c23b3bbc49b061464","timestamp":1721653670},"payload":{}}
meross.0 | 8054 | 2024-07-22 15:07:49.986 | debug | MQTT-Cloud-Call 2110182100303890858148e1e979f273: {"header":{"from":"/app/1785368-58dd970292e6b2f987bf7b41a3ef6498/subscribe","messageId":"3a91ffb24c628f34aa48865e1bab2bc5","method":"GET","namespace":"Appliance.System.Online","payloadVersion":1,"sign":"75ce2397ad9d3a9c23b3bbc49b061464","timestamp":1721653670},"payload":{}}
meross.0 | 8054 | 2024-07-22 15:07:49.973 | warn | Can not get Data for Device 2110182100303890858148e1e979f273: undefined
meross.0 | 8054 | 2024-07-22 15:07:49.973 | debug | 2110182100303890858148e1e979f273 All-Data: undefined
meross.0 | 8054 | 2024-07-22 15:07:49.972 | info | Can not get Data for Device 2110182100303890858148e1e979f273: Error: Timeout
meross.0 | 8054 | 2024-07-22 15:07:40.035 | debug | Online 2110182100303890858148e1e979f273: undefined
meross.0 | 8054 | 2024-07-22 15:07:29.972 | debug | Device Send Raw: 2110182100303890858148e1e979f273 - data: {"header":{"from":"/app/1785368-58dd970292e6b2f987bf7b41a3ef6498/subscribe","messageId":"88c3be260b0a11e3219fcf52e54b11ea","method":"GET","namespace":"Appliance.System.All","payloadVersion":1,"sign":"64c63c341c170df40401ec0705d18efb","timestamp":1721653650},"payload":{}}
meross.0 | 8054 | 2024-07-22 15:07:29.970 | debug | MQTT-Cloud-Call 2110182100303890858148e1e979f273: {"header":{"from":"/app/1785368-58dd970292e6b2f987bf7b41a3ef6498/subscribe","messageId":"88c3be260b0a11e3219fcf52e54b11ea","method":"GET","namespace":"Appliance.System.All","payloadVersion":1,"sign":"64c63c341c170df40401ec0705d18efb","timestamp":1721653650},"payload":{}}
meross.0 | 8054 | 2024-07-22 15:07:29.926 | debug | connected set to true
meross.0 | 8054 | 2024-07-22 15:07:29.887 | debug | stateChange meross.0.info.connection {"val":true,"ack":true,"ts":1721653649884,"q":0,"from":"system.adapter.meross.0","user":"system.user.admin","lc":1721653649884}
meross.0 | 8054 | 2024-07-22 15:07:29.885 | debug | stateChange meross.0.2110182100303890858148e1e979f273.online {"val":false,"ack":true,"ts":1721653649884,"q":0,"from":"system.adapter.meross.0","user":"system.user.admin","lc":1721000743166}
meross.0 | 8054 | 2024-07-22 15:07:29.879 | info | Device: 2110182100303890858148e1e979f273 connected
meross.0 | 8054 | 2024-07-22 15:07:29.681 | info | Device: 2110182100303890858148e1e979f273 reconnected
meross.0 | 8054 | 2024-07-22 15:07:24.780 | debug | connected set to false
meross.0 | 8054 | 2024-07-22 15:07:24.777 | debug | stateChange meross.0.info.connection {"val":false,"ack":true,"ts":1721653644774,"q":0,"from":"system.adapter.meross.0","user":"system.user.admin","lc":1721653644774}
meross.0 | 8054 | 2024-07-22 15:07:24.693 | debug | stateChange meross.0.2110182100303890858148e1e979f273.online {"val":false,"ack":true,"ts":1721653644689,"q":0,"from":"system.adapter.meross.0","user":"system.user.admin","lc":1721000743166}
meross.0 | 8054 | 2024-07-22 15:07:24.681 | info | Device: 2110182100303890858148e1e979f273 closed: null
meross.0 | 8054 | 2024-07-22 15:07:20.035 | debug | Device Send Raw: 2110182100303890858148e1e979f273 - data: {"header":{"from":"/app/1785368-58dd970292e6b2f987bf7b41a3ef6498/subscribe","messageId":"9dee4786cd5647028199e4987a349dbc","method":"GET","namespace":"Appliance.System.Online","payloadVersion":1,"sign":"aabf2597fe4e81860fa53d695bcb751d","timestamp":1721653640},"payload":{}}
meross.0 | 8054 | 2024-07-22 15:07:20.035 | debug | MQTT-Cloud-Call 2110182100303890858148e1e979f273: {"header":{"from":"/app/1785368-58dd970292e6b2f987bf7b41a3ef6498/subscribe","messageId":"9dee4786cd5647028199e4987a349dbc","method":"GET","namespace":"Appliance.System.Online","payloadVersion":1,"sign":"aabf2597fe4e81860fa53d695bcb751d","timestamp":1721653640},"payload":{}}
meross.0 | 8054 | 2024-07-22 15:07:20.020 | warn | Can not get Data for Device 2110182100303890858148e1e979f273: undefined