MSG100 Goes unavailable shortly after being rebooted.
See original GitHub issueRecently setup the Meross_Lan integration and had everything working perfectly! After about 24 hours, the device will now not stay available even though it still works through the meross app. This is not fixed by a reboot of either the device, or Home Asisstant. A reboot will sometimes fix it temporarily, but it will be unavailable again in just a few minutes. Not sure what has happened as I have changed nothing since the inital setup.
The debug log attached below includes a manual reboot of the device by me unplugging it and plugging it back in.
2021/12/11 - 20:53:20 RX http GETACK Appliance.System.All {"all": {"system": {"hardware": {"type": "msg100", "subType": "us", "version": "3.5.0", "chipType": "mt7682", "uuid": "################################", "macAddress": "#################"}, "firmware": {"version": "3.2.5", "compileTime": "2021/09/16 13:47:36 GMT +08:00", "encrypt": 1, "wifiMac": "#################", "innerIp": "#########", "server": "##################", "port": "###", "userId": "#######"}, "time": {"timestamp": 1639274000, "timezone": "America/New_York", "timeRule": [[1636264800, -18000, 0], [1647154800, -14400, 1], [1667714400, -18000, 0], [1678604400, -14400, 1], [1699164000, -18000, 0], [1710054000, -14400, 1], [1730613600, -18000, 0], [1741503600, -14400, 1], [1762063200, -18000, 0], [1772953200, -14400, 1], [1793512800, -18000, 0], [1805007600, -14400, 1], [1825567200, -18000, 0], [1836457200, -14400, 1], [1857016800, -18000, 0], [1867906800, -14400, 1], [1888466400, -18000, 0], [1899356400, -14400, 1], [1919916000, -18000, 0], [1930806000, -14400, 1]]}, "online": {"status": 1}}, "digest": {"togglex": [{"channel": 0, "onoff": 1, "lmTime": 0}], "triggerx": [{"channel": 0, "id": "1111111111111111", "count": 2}], "timerx": [], "garageDoor": [{"channel": 0, "open": 0, "lmTime": 1639267849}]}}} 2021/12/11 - 20:53:20 auto LOG DEBUG MerossDevice(2104011676771136101348e1e9696f5c) back online! 2021/12/11 - 20:53:20 TX http GET Appliance.System.DNDMode {"DNDMode": {}} 2021/12/11 - 20:53:21 auto LOG INFO MerossDevice(2104011676771136101348e1e9696f5c) client connection attempt(2) error in async_http_request: Server disconnected 2021/12/11 - 20:53:21 auto LOG DEBUG MerossDevice(2104011676771136101348e1e9696f5c) going offline! 2021/12/11 - 20:53:21 auto LOG WARNING MerossDevice(2104011676771136101348e1e9696f5c) error in async_http_request: Server disconnected 2021/12/11 - 20:53:22 auto LOG WARNING MerossDevice(2104011676771136101348e1e9696f5c) error in async_http_request: Server disconnected 2021/12/11 - 20:53:42 TX http GET Appliance.System.All {"all": {}} 2021/12/11 - 20:53:42 RX http GETACK Appliance.System.All {"all": {"system": {"hardware": {"type": "msg100", "subType": "us", "version": "3.5.0", "chipType": "mt7682", "uuid": "################################", "macAddress": "#################"}, "firmware": {"version": "3.2.5", "compileTime": "2021/09/16 13:47:36 GMT +08:00", "encrypt": 1, "wifiMac": "#################", "innerIp": "#########", "server": "##################", "port": "###", "userId": "#######"}, "time": {"timestamp": 1639274022, "timezone": "America/New_York", "timeRule": [[1636264800, -18000, 0], [1647154800, -14400, 1], [1667714400, -18000, 0], [1678604400, -14400, 1], [1699164000, -18000, 0], [1710054000, -14400, 1], [1730613600, -18000, 0], [1741503600, -14400, 1], [1762063200, -18000, 0], [1772953200, -14400, 1], [1793512800, -18000, 0], [1805007600, -14400, 1], [1825567200, -18000, 0], [1836457200, -14400, 1], [1857016800, -18000, 0], [1867906800, -14400, 1], [1888466400, -18000, 0], [1899356400, -14400, 1], [1919916000, -18000, 0], [1930806000, -14400, 1]]}, "online": {"status": 1}}, "digest": {"togglex": [{"channel": 0, "onoff": 1, "lmTime": 0}], "triggerx": [{"channel": 0, "id": "1111111111111111", "count": 2}], "timerx": [], "garageDoor": [{"channel": 0, "open": 0, "lmTime": 1639267849}]}}} 2021/12/11 - 20:53:42 auto LOG DEBUG MerossDevice(2104011676771136101348e1e9696f5c) back online! 2021/12/11 - 20:53:42 TX http GET Appliance.System.DNDMode {"DNDMode": {}} 2021/12/11 - 20:53:42 RX http GETACK Appliance.System.DNDMode {"DNDMode": {"mode": 0}} 2021/12/11 - 20:54:12 TX http GET Appliance.System.All {"all": {}} 2021/12/11 - 20:54:14 auto LOG INFO MerossDevice(2104011676771136101348e1e9696f5c) client connection attempt(0) error in async_http_request: Server disconnected 2021/12/11 - 20:54:14 TX http GET Appliance.System.All {"all": {}} 2021/12/11 - 20:54:17 auto LOG INFO MerossDevice(2104011676771136101348e1e9696f5c) client connection attempt(1) error in async_http_request: Server disconnected 2021/12/11 - 20:54:17 TX http GET Appliance.System.All {"all": {}} 2021/12/11 - 20:54:20 auto LOG INFO MerossDevice(2104011676771136101348e1e9696f5c) client connection attempt(2) error in async_http_request: Server disconnected 2021/12/11 - 20:54:20 auto LOG DEBUG MerossDevice(2104011676771136101348e1e9696f5c) going offline! 2021/12/11 - 20:54:42 TX http GET Appliance.System.All {"all": {}} 2021/12/11 - 20:54:48 RX http GETACK Appliance.System.All {"all": {"system": {"hardware": {"type": "msg100", "subType": "us", "version": "3.5.0", "chipType": "mt7682", "uuid": "################################", "macAddress": "#################"}, "firmware": {"version": "3.2.5", "compileTime": "2021/09/16 13:47:36 GMT +08:00", "encrypt": 1, "wifiMac": "#################", "innerIp": "#########", "server": "##################", "port": "###", "userId": "#######"}, "time": {"timestamp": 1639274088, "timezone": "America/New_York", "timeRule": [[1636264800, -18000, 0], [1647154800, -14400, 1], [1667714400, -18000, 0], [1678604400, -14400, 1], [1699164000, -18000, 0], [1710054000, -14400, 1], [1730613600, -18000, 0], [1741503600, -14400, 1], [1762063200, -18000, 0], [1772953200, -14400, 1], [1793512800, -18000, 0], [1805007600, -14400, 1], [1825567200, -18000, 0], [1836457200, -14400, 1], [1857016800, -18000, 0], [1867906800, -14400, 1], [1888466400, -18000, 0], [1899356400, -14400, 1], [1919916000, -18000, 0], [1930806000, -14400, 1]]}, "online": {"status": 1}}, "digest": {"togglex": [{"channel": 0, "onoff": 1, "lmTime": 0}], "triggerx": [{"channel": 0, "id": "1111111111111111", "count": 2}], "timerx": [], "garageDoor": [{"channel": 0, "open": 0, "lmTime": 1639267849}]}}} 2021/12/11 - 20:54:48 auto LOG DEBUG MerossDevice(2104011676771136101348e1e9696f5c) back online! 2021/12/11 - 20:54:48 TX http GET Appliance.System.DNDMode {"DNDMode": {}} 2021/12/11 - 20:54:51 auto LOG INFO MerossDevice(2104011676771136101348e1e9696f5c) client connection attempt(0) error in async_http_request: Server disconnected 2021/12/11 - 20:54:51 TX http GET Appliance.System.DNDMode {"DNDMode": {}} 2021/12/11 - 20:54:56 auto LOG INFO MerossDevice(2104011676771136101348e1e9696f5c) client connection attempt(1) error in async_http_request: Server disconnected 2021/12/11 - 20:54:56 TX http GET Appliance.System.DNDMode {"DNDMode": {}} 2021/12/11 - 20:54:59 auto LOG INFO MerossDevice(2104011676771136101348e1e9696f5c) client connection attempt(2) error in async_http_request: Server disconnected 2021/12/11 - 20:54:59 auto LOG DEBUG MerossDevice(2104011676771136101348e1e9696f5c) going offline! 2021/12/11 - 20:55:12 TX http GET Appliance.System.All {"all": {}} 2021/12/11 - 20:55:14 auto LOG WARNING MerossDevice(2104011676771136101348e1e9696f5c) error in async_http_request: Server disconnected
Firmware is on latest 3.2.5
Issue Analytics
- State:
- Created 2 years ago
- Comments:11 (5 by maintainers)
Top GitHub Comments
Well… I seemed to have fixed it lol
As I went to undo it for replacement, I realized, I may have connected to it to my wireless extender for my IoT devices, however that extender is pretty old and I’ve had issues with connectivity through it before, so I checked, and sure enough it was connected to it.
As soon as I switched it to my main ap for Iot, it was a lot more responsive and it has now been over 48 hours without it going down at all. Seems the wireless extender was sending/receiving malformed packages which was causing the device to block the integration.
So basically, was a simple issue as usual. Thanks again for the help!
So the log shows the http disconnects as it was before, then the device comes back online, and sometime later the same async_http_disconnect occurs. The timing is completely random and nothing lines up with the WireGuard log as the device seems to be doing it’s regular routine as far as it’s network IO is concerned. The requests go to the device, but sometime’s it just isn’t returned.
I think at this point I’m pretty much done trying to diagnose this, I bought this to prevent having to do a bunch of working creating an ESP1866 with reed switches and configuring MQTT myself, but if I basically have to do all of that for this device which may even still not work then, I might as well go with the ESP solution.
Great work on the integration anyways! Everything seems to be full featured and works well when it does, this seems to be a “just me” issue, which I am VERY familiar with, always seems when I try something, it doesn’t work for a different reason than anyone else, and it’s usually unsolvable.
Thanks for your help diagnosing with me, but like you said earlier, the effort has “exploded” on trying to get this to work. If you have any ideas at all, please let me know and I will try them as long as I have the device installed.