CodeFoodPixels / robovac

Add a Eufy RoboVac easily to Home Assistant
Other
147 stars 32 forks source link

Connection reset issues #61

Open CodeFoodPixels opened 9 months ago

CodeFoodPixels commented 9 months ago
          @CodeFoodPixels still having issues on 1.2.4

home-assistant_2024-03-01T15-34-55.387Z.log

2024-03-01 15:34:22.165 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connection reset
2024-03-01 15:34:22.167 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Sending to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668): Message(0x9, b'', 0, <Device bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)>)
2024-03-01 15:34:22.167 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Retrying send due to error. Connection to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668) failed: [Errno 104] Connection reset by peer
2024-03-01 15:34:22.167 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connection reset
2024-03-01 15:34:22.417 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connection reset
2024-03-01 15:34:22.417 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Sending to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668): Message(0x9, b'', 0, <Device bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)>)
2024-03-01 15:34:22.417 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Disconnected from bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)
2024-03-01 15:34:22.417 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] 1 failures. Most recent: Connection to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668) failed: [Errno 104] Connection reset by peer
2024-03-01 15:34:22.417 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connection reset
2024-03-01 15:34:31.765 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Processing queue. Current length: 1
2024-03-01 15:34:31.765 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Sending to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668): Message(0x9, b'', 0, <Device bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)>)
2024-03-01 15:34:31.766 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connecting to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)
2024-03-01 15:34:31.783 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connection reset

Originally posted by @FuturamaPhill in https://github.com/CodeFoodPixels/robovac/issues/57#issuecomment-1973404671

CodeFoodPixels commented 9 months ago

@FuturamaPhill I've made another tweak and it's in 1.2.5

FuturamaPhill commented 9 months ago

@CodeFoodPixels

Tried deleting the integration and re downloading, Still getting below:

2024-03-01 19:25:54.482 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Sending to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668): Message(0xa, {'gwId': 'bf4b0ace39a5f9f09ajma7', 'devId': 'bf4b0ace39a5f9f09ajma7'}, 41684429, <Device bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)>)
2024-03-01 19:25:54.482 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connecting to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)
2024-03-01 19:25:54.495 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connection reset: [Errno 104] Connection reset by peer
2024-03-01 19:25:54.495 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Disconnected from bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)
2024-03-01 19:25:54.586 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Processing queue. Current length: 1
2024-03-01 19:25:54.586 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Sending to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668): Message(0x9, b'', 0, <Device bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)>)
2024-03-01 19:25:54.586 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connecting to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)
2024-03-01 19:25:54.604 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connection reset: [Errno 104] Connection reset by peer
2024-03-01 19:25:54.604 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Disconnected from bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)
2024-03-01 19:26:04.439 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Processing queue. Current length: 1
2024-03-01 19:26:04.439 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Sending to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668): Message(0x9, b'', 0, <Device bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)>)
2024-03-01 19:26:04.439 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connecting to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)
2024-03-01 19:26:04.458 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connection reset: [Errno 104] Connection reset by peer
2024-03-01 19:26:04.458 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Disconnected from bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)
2024-03-01 19:26:14.515 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Processing queue. Current length: 1
2024-03-01 19:26:14.516 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Sending to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668): Message(0x9, b'', 0, <Device bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)>)
2024-03-01 19:26:14.516 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connecting to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)
2024-03-01 19:26:14.534 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connection reset: [Errno 104] Connection reset by peer
2024-03-01 19:26:14.534 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Disconnected from bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)
2024-03-01 19:26:24.521 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Processing queue. Current length: 1
2024-03-01 19:26:24.521 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Sending to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668): Message(0x9, b'', 0, <Device bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)>)
2024-03-01 19:26:24.521 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connecting to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)
2024-03-01 19:26:24.539 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connection reset: [Errno 104] Connection reset by peer
2024-03-01 19:26:24.539 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Disconnected from bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)
2024-03-01 19:26:34.474 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Processing queue. Current length: 1
2024-03-01 19:26:34.474 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Sending to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668): Message(0x9, b'', 0, <Device bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)>)
2024-03-01 19:26:34.474 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connecting to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)
2024-03-01 19:26:34.492 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connection reset: [Errno 104] Connection reset by peer
2024-03-01 19:26:34.492 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Disconnected from bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)
2024-03-01 19:26:44.456 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Processing queue. Current length: 1
2024-03-01 19:26:44.456 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Sending to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668): Message(0x9, b'', 0, <Device bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)>)
2024-03-01 19:26:44.456 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connecting to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)
2024-03-01 19:26:44.474 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connection reset: [Errno 104] Connection reset by peer
2024-03-01 19:26:44.474 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Disconnected from bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)
2024-03-01 19:26:54.412 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Processing queue. Current length: 1
2024-03-01 19:26:54.412 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Sending to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668): Message(0xa, {'gwId': 'bf4b0ace39a5f9f09ajma7', 'devId': 'bf4b0ace39a5f9f09ajma7'}, 41744429, <Device bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)>)
2024-03-01 19:26:54.413 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connecting to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)
2024-03-01 19:26:54.426 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connection reset: [Errno 104] Connection reset by peer
2024-03-01 19:26:54.426 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Disconnected from bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)
2024-03-01 19:26:54.517 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Processing queue. Current length: 1
2024-03-01 19:26:54.517 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Sending to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668): Message(0x9, b'', 0, <Device bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)>)
2024-03-01 19:26:54.518 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connecting to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)
2024-03-01 19:26:54.538 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connection reset: [Errno 104] Connection reset by peer
2024-03-01 19:26:54.538 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Disconnected from bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)
2024-03-01 19:27:04.480 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Processing queue. Current length: 1
2024-03-01 19:27:04.480 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Sending to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668): Message(0x9, b'', 0, <Device bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)>)
2024-03-01 19:27:04.480 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connecting to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)
2024-03-01 19:27:04.498 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connection reset: [Errno 104] Connection reset by peer
2024-03-01 19:27:04.498 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Disconnected from bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)
CodeFoodPixels commented 9 months ago

This now genuinely seems like an issue communicating properly with the vacuum. What model do you have?

On Fri, 1 Mar 2024, 19:28 FuturamaPhill, @.***> wrote:

@CodeFoodPixels https://github.com/CodeFoodPixels

Still getting below:

2024-03-01 19:25:54.482 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Sending to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668): Message(0xa, {'gwId': 'bf4b0ace39a5f9f09ajma7', 'devId': 'bf4b0ace39a5f9f09ajma7'}, 41684429, <Device bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)>) 2024-03-01 19:25:54.482 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connecting to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668) 2024-03-01 19:25:54.495 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connection reset: [Errno 104] Connection reset by peer 2024-03-01 19:25:54.495 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Disconnected from bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668) 2024-03-01 19:25:54.586 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Processing queue. Current length: 1 2024-03-01 19:25:54.586 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Sending to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668): Message(0x9, b'', 0, <Device bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)>) 2024-03-01 19:25:54.586 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connecting to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668) 2024-03-01 19:25:54.604 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connection reset: [Errno 104] Connection reset by peer 2024-03-01 19:25:54.604 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Disconnected from bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668) 2024-03-01 19:26:04.439 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Processing queue. Current length: 1 2024-03-01 19:26:04.439 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Sending to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668): Message(0x9, b'', 0, <Device bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)>) 2024-03-01 19:26:04.439 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connecting to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668) 2024-03-01 19:26:04.458 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connection reset: [Errno 104] Connection reset by peer 2024-03-01 19:26:04.458 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Disconnected from bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668) 2024-03-01 19:26:14.515 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Processing queue. Current length: 1 2024-03-01 19:26:14.516 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Sending to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668): Message(0x9, b'', 0, <Device bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)>) 2024-03-01 19:26:14.516 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connecting to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668) 2024-03-01 19:26:14.534 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connection reset: [Errno 104] Connection reset by peer 2024-03-01 19:26:14.534 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Disconnected from bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668) 2024-03-01 19:26:24.521 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Processing queue. Current length: 1 2024-03-01 19:26:24.521 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Sending to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668): Message(0x9, b'', 0, <Device bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)>) 2024-03-01 19:26:24.521 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connecting to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668) 2024-03-01 19:26:24.539 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connection reset: [Errno 104] Connection reset by peer 2024-03-01 19:26:24.539 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Disconnected from bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668) 2024-03-01 19:26:34.474 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Processing queue. Current length: 1 2024-03-01 19:26:34.474 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Sending to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668): Message(0x9, b'', 0, <Device bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)>) 2024-03-01 19:26:34.474 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connecting to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668) 2024-03-01 19:26:34.492 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connection reset: [Errno 104] Connection reset by peer 2024-03-01 19:26:34.492 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Disconnected from bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668) 2024-03-01 19:26:44.456 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Processing queue. Current length: 1 2024-03-01 19:26:44.456 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Sending to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668): Message(0x9, b'', 0, <Device bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)>) 2024-03-01 19:26:44.456 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connecting to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668) 2024-03-01 19:26:44.474 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connection reset: [Errno 104] Connection reset by peer 2024-03-01 19:26:44.474 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Disconnected from bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668) 2024-03-01 19:26:54.412 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Processing queue. Current length: 1 2024-03-01 19:26:54.412 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Sending to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668): Message(0xa, {'gwId': 'bf4b0ace39a5f9f09ajma7', 'devId': 'bf4b0ace39a5f9f09ajma7'}, 41744429, <Device bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)>) 2024-03-01 19:26:54.413 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connecting to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668) 2024-03-01 19:26:54.426 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connection reset: [Errno 104] Connection reset by peer 2024-03-01 19:26:54.426 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Disconnected from bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668) 2024-03-01 19:26:54.517 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Processing queue. Current length: 1 2024-03-01 19:26:54.517 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Sending to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668): Message(0x9, b'', 0, <Device bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)>) 2024-03-01 19:26:54.518 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connecting to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668) 2024-03-01 19:26:54.538 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connection reset: [Errno 104] Connection reset by peer 2024-03-01 19:26:54.538 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Disconnected from bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668) 2024-03-01 19:27:04.480 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Processing queue. Current length: 1 2024-03-01 19:27:04.480 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Sending to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668): Message(0x9, b'', 0, <Device bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)>) 2024-03-01 19:27:04.480 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connecting to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668) 2024-03-01 19:27:04.498 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connection reset: [Errno 104] Connection reset by peer 2024-03-01 19:27:04.498 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Disconnected from bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)

— Reply to this email directly, view it on GitHub https://github.com/CodeFoodPixels/robovac/issues/61#issuecomment-1973790755, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABEPFVHFECUAQPBGVBP3X7DYWDJFVAVCNFSM6AAAAABECCURXCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZTG44TANZVGU . You are receiving this because you were mentioned.Message ID: @.***>

FuturamaPhill commented 9 months ago

I have the 15C MAX.

Just thought i'd test network connectivity and appears fine from my pc:

PS C:\> tnc 192.168.0.144 -port 6668

ComputerName     : 192.168.0.144
RemoteAddress    : 192.168.0.144
RemotePort       : 6668
InterfaceAlias   : WiFi
SourceAddress    : 192.168.0.84
TcpTestSucceeded : True

PS C:\> ping homeassistant.local

Pinging homeassistant [192.168.0.245] with 32 bytes of data:
Reply from 192.168.0.245: bytes=32 time=1ms TTL=64
Reply from 192.168.0.245: bytes=32 time=3ms TTL=64
Reply from 192.168.0.245: bytes=32 time=3ms TTL=64
Reply from 192.168.0.245: bytes=32 time=4ms TTL=64

Ping statistics for 192.168.0.245:
    Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Approximate round trip times in milli-seconds:
    Minimum = 1ms, Maximum = 4ms, Average = 2ms
CodeFoodPixels commented 9 months ago

Huh, I have the exact same vacuum without issue 🤔

A couple of ideas to try:

On Fri, 1 Mar 2024, 19:50 FuturamaPhill, @.***> wrote:

I have the 15C MAX.

Just thought i'd test network connectivity and appears fine from my pc:

PS C:> tnc 192.168.0.144 -port 6668

ComputerName : 192.168.0.144 RemoteAddress : 192.168.0.144 RemotePort : 6668 InterfaceAlias : WiFi SourceAddress : 192.168.0.84 TcpTestSucceeded : True

PS C:> ping homeassistant.local

Pinging homeassistant [192.168.0.245] with 32 bytes of data: Reply from 192.168.0.245: bytes=32 time=1ms TTL=64 Reply from 192.168.0.245: bytes=32 time=3ms TTL=64 Reply from 192.168.0.245: bytes=32 time=3ms TTL=64 Reply from 192.168.0.245: bytes=32 time=4ms TTL=64

Ping statistics for 192.168.0.245: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss), Approximate round trip times in milli-seconds: Minimum = 1ms, Maximum = 4ms, Average = 2ms

— Reply to this email directly, view it on GitHub https://github.com/CodeFoodPixels/robovac/issues/61#issuecomment-1973818128, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABEPFVHEILSWLPVCAWVRM23YWDLZPAVCNFSM6AAAAABECCURXCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNZTHAYTQMJSHA . You are receiving this because you were mentioned.Message ID: @.***>

FuturamaPhill commented 9 months ago

Huh, I have the exact same vacuum without issue 🤔 A couple of ideas to try: - turn the vacuum on and off with the switch - delete and re-add the vacuum (not the integration)

Tried that already, power switch and I held down the button for 10sec+ to resetup the wifi, assume thats the deletion process unless i'm wrong?

Tried power switch again just in case and still just getting :

2024-03-01 20:38:23.343 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Processing queue. Current length: 1
2024-03-01 20:38:23.343 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Sending to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668): Message(0x9, b'', 0, <Device bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)>)
2024-03-01 20:38:23.343 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connecting to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)
2024-03-01 20:38:23.365 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connection reset: [Errno 104] Connection reset by peer
2024-03-01 20:38:23.365 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Disconnected from bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)
2024-03-01 20:38:33.305 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Processing queue. Current length: 1
2024-03-01 20:38:33.305 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Sending to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668): Message(0x9, b'', 0, <Device bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)>)
2024-03-01 20:38:33.305 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connecting to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)
2024-03-01 20:38:33.323 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connection reset: [Errno 104] Connection reset by peer
2024-03-01 20:38:33.323 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Disconnected from bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)
2024-03-01 20:38:43.355 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Processing queue. Current length: 1
2024-03-01 20:38:43.355 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Sending to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668): Message(0x9, b'', 0, <Device bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)>)
2024-03-01 20:38:43.355 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connecting to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)
2024-03-01 20:38:43.386 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connection reset: [Errno 104] Connection reset by peer
2024-03-01 20:38:43.386 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Disconnected from bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)

When I have the integration enabled it seems to cause issues with my zigbee2mqtt devices aswell causing them to go unknown every couple of minutes, this was when I was getting loads of connection resets though so not sure if it was just having an issue with the number of requests.

image

CodeFoodPixels commented 9 months ago

No, go to the integration page (https://my.home-assistant.io/redirect/integration/?domain=robovac), click the 3 dots next to your vacuum and click delete. Then re-add it.

FuturamaPhill commented 9 months ago

@CodeFoodPixels Ah right apologies already tried that a few times but did it again just now same results:

2024-03-01 21:29:31.163 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Processing queue. Current length: 1
2024-03-01 21:29:31.163 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Sending to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668): Message(0xa, {'gwId': 'bf4b0ace39a5f9f09ajma7', 'devId': 'bf4b0ace39a5f9f09ajma7'}, 49101202, <Device bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)>)
2024-03-01 21:29:31.163 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connecting to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)
2024-03-01 21:29:31.178 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connection reset: [Errno 104] Connection reset by peer
2024-03-01 21:29:31.178 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Disconnected from bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)
2024-03-01 21:29:31.269 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Processing queue. Current length: 1
2024-03-01 21:29:31.269 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Sending to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668): Message(0x9, b'', 0, <Device bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)>)
2024-03-01 21:29:31.269 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connecting to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)
2024-03-01 21:29:31.288 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Connection reset: [Errno 104] Connection reset by peer
2024-03-01 21:29:31.288 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi] Disconnected from bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)
FuturamaPhill commented 9 months ago

@CodeFoodPixels saw there was an update so downloaded and attached logs below:

2024-03-03 08:12:22.044 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi.bf4b0ace39a5f9f09ajma7] Processing queue. Current length: 1
2024-03-03 08:12:22.044 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi.bf4b0ace39a5f9f09ajma7] Sending to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668): Message(0xa, {'gwId': 'bf4b0ace39a5f9f09ajma7', 'devId': 'bf4b0ace39a5f9f09ajma7'}, 174072017, <Device bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)>)
2024-03-03 08:12:22.045 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi.bf4b0ace39a5f9f09ajma7] Connecting to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)
2024-03-03 08:12:22.058 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi.bf4b0ace39a5f9f09ajma7] Connection reset: [Errno 104] Connection reset by peer
2024-03-03 08:12:22.058 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi.bf4b0ace39a5f9f09ajma7] Disconnected from bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)
2024-03-03 08:12:22.149 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi.bf4b0ace39a5f9f09ajma7] Processing queue. Current length: 1
2024-03-03 08:12:22.149 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi.bf4b0ace39a5f9f09ajma7] Sending to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668): Message(0x9, b'', 0, <Device bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)>)
2024-03-03 08:12:22.149 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi.bf4b0ace39a5f9f09ajma7] Connecting to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)
2024-03-03 08:12:22.178 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi.bf4b0ace39a5f9f09ajma7] Connection reset: [Errno 104] Connection reset by peer
2024-03-03 08:12:22.178 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi.bf4b0ace39a5f9f09ajma7] Disconnected from bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)
2024-03-03 08:12:32.110 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi.bf4b0ace39a5f9f09ajma7] Processing queue. Current length: 1
2024-03-03 08:12:32.110 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi.bf4b0ace39a5f9f09ajma7] Sending to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668): Message(0x9, b'', 0, <Device bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)>)
2024-03-03 08:12:32.110 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi.bf4b0ace39a5f9f09ajma7] Connecting to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)
2024-03-03 08:12:32.128 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi.bf4b0ace39a5f9f09ajma7] Connection reset: [Errno 104] Connection reset by peer
2024-03-03 08:12:32.128 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi.bf4b0ace39a5f9f09ajma7] Disconnected from bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)
2024-03-03 08:12:42.063 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi.bf4b0ace39a5f9f09ajma7] Processing queue. Current length: 1
2024-03-03 08:12:42.063 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi.bf4b0ace39a5f9f09ajma7] Sending to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668): Message(0x9, b'', 0, <Device bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)>)
2024-03-03 08:12:42.063 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi.bf4b0ace39a5f9f09ajma7] Connecting to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)
2024-03-03 08:12:42.082 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi.bf4b0ace39a5f9f09ajma7] Connection reset: [Errno 104] Connection reset by peer
2024-03-03 08:12:42.082 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi.bf4b0ace39a5f9f09ajma7] Disconnected from bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)
CodeFoodPixels commented 8 months ago

I've added a little more logging if you could try again please?

FuturamaPhill commented 8 months ago

@CodeFoodPixels

2024-03-04 08:06:05.891 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi.bf4b0ace39a5f9f09ajma7] Processing queue. Current length: 1
2024-03-04 08:06:05.891 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi.bf4b0ace39a5f9f09ajma7] Sending to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668): Message(0x9, b'', 0, <Device bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)>)
2024-03-04 08:06:05.891 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi.bf4b0ace39a5f9f09ajma7] Connecting to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)
2024-03-04 08:06:05.914 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi.bf4b0ace39a5f9f09ajma7] Connection reset: [Errno 104] Connection reset by peer
Traceback (most recent call last):
  File "/config/custom_components/robovac/tuyalocalapi.py", line 826, in _async_handle_message
    await self._response_task
  File "/usr/local/lib/python3.12/asyncio/streams.py", line 657, in readuntil
    await self._wait_for_data('readuntil')
  File "/usr/local/lib/python3.12/asyncio/streams.py", line 542, in _wait_for_data
    await self._waiter
  File "/usr/local/lib/python3.12/asyncio/selector_events.py", line 999, in _read_ready__data_received
    data = self._sock.recv(self.max_size)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ConnectionResetError: [Errno 104] Connection reset by peer
2024-03-04 08:06:05.914 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi.bf4b0ace39a5f9f09ajma7] Disconnected from bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)
2024-03-04 08:06:15.745 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi.bf4b0ace39a5f9f09ajma7] Processing queue. Current length: 1
2024-03-04 08:06:15.745 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi.bf4b0ace39a5f9f09ajma7] Sending to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668): Message(0xa, {'gwId': 'bf4b0ace39a5f9f09ajma7', 'devId': 'bf4b0ace39a5f9f09ajma7'}, 260105763, <Device bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)>)
2024-03-04 08:06:15.745 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi.bf4b0ace39a5f9f09ajma7] Connecting to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)
2024-03-04 08:06:15.759 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi.bf4b0ace39a5f9f09ajma7] Connection reset: [Errno 104] Connection reset by peer
Traceback (most recent call last):
  File "/config/custom_components/robovac/tuyalocalapi.py", line 826, in _async_handle_message
    await self._response_task
  File "/usr/local/lib/python3.12/asyncio/streams.py", line 657, in readuntil
    await self._wait_for_data('readuntil')
  File "/usr/local/lib/python3.12/asyncio/streams.py", line 542, in _wait_for_data
    await self._waiter
  File "/usr/local/lib/python3.12/asyncio/selector_events.py", line 999, in _read_ready__data_received
    data = self._sock.recv(self.max_size)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ConnectionResetError: [Errno 104] Connection reset by peer
2024-03-04 08:06:15.759 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi.bf4b0ace39a5f9f09ajma7] Disconnected from bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)
2024-03-04 08:06:15.952 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi.bf4b0ace39a5f9f09ajma7] Processing queue. Current length: 1
2024-03-04 08:06:15.952 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi.bf4b0ace39a5f9f09ajma7] Sending to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668): Message(0x9, b'', 0, <Device bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)>)
2024-03-04 08:06:15.953 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi.bf4b0ace39a5f9f09ajma7] Connecting to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)
2024-03-04 08:06:15.973 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi.bf4b0ace39a5f9f09ajma7] Connection reset: [Errno 104] Connection reset by peer
Traceback (most recent call last):
  File "/config/custom_components/robovac/tuyalocalapi.py", line 826, in _async_handle_message
    await self._response_task
  File "/usr/local/lib/python3.12/asyncio/streams.py", line 657, in readuntil
    await self._wait_for_data('readuntil')
  File "/usr/local/lib/python3.12/asyncio/streams.py", line 542, in _wait_for_data
    await self._waiter
  File "/usr/local/lib/python3.12/asyncio/selector_events.py", line 999, in _read_ready__data_received
    data = self._sock.recv(self.max_size)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ConnectionResetError: [Errno 104] Connection reset by peer
2024-03-04 08:06:15.973 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi.bf4b0ace39a5f9f09ajma7] Disconnected from bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)
CodeFoodPixels commented 8 months ago

So I was able to replicate this by opening the eufy app on my phone before the integration started on HA, and I found this comment from someone on another project: https://github.com/clach04/python-tuya/issues/2#issuecomment-366799119

Do you have anything else connecting to the vacuum when trying this?

FuturamaPhill commented 8 months ago

So I was able to replicate this by opening the eufy app on my phone before the integration started on HA, and I found this comment from someone on another project: clach04/python-tuya#2 (comment)

Do you have anything else connecting to the vacuum when trying this?

I do use the app to control the vac but its not open 24/7 so would imagine if it can only communicate to one device at a time it would eventually disconnect from phone and connect to HA, I haven't connected anything else to it.

I have closed the app on my pixel (force stop), enabled the integration, deleted the existing instance of my 15c max and added it again and still getting below in logs:

2024-03-06 10:21:04.325 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi.bf4b0ace39a5f9f09ajma7] Processing queue. Current length: 1
2024-03-06 10:21:04.325 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi.bf4b0ace39a5f9f09ajma7] Sending to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668): Message(0xa, {'gwId': 'bf4b0ace39a5f9f09ajma7', 'devId': 'bf4b0ace39a5f9f09ajma7'}, 440994342, <Device bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)>)
2024-03-06 10:21:04.326 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi.bf4b0ace39a5f9f09ajma7] Connecting to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)
2024-03-06 10:21:04.341 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi.bf4b0ace39a5f9f09ajma7] Connection reset: [Errno 104] Connection reset by peer
Traceback (most recent call last):
  File "/config/custom_components/robovac/tuyalocalapi.py", line 826, in _async_handle_message
    await self._response_task
  File "/usr/local/lib/python3.12/asyncio/streams.py", line 657, in readuntil
    await self._wait_for_data('readuntil')
  File "/usr/local/lib/python3.12/asyncio/streams.py", line 542, in _wait_for_data
    await self._waiter
  File "/usr/local/lib/python3.12/asyncio/selector_events.py", line 999, in _read_ready__data_received
    data = self._sock.recv(self.max_size)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ConnectionResetError: [Errno 104] Connection reset by peer
2024-03-06 10:21:04.341 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi.bf4b0ace39a5f9f09ajma7] Disconnected from bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)

Is there anything else you can suggest, im guessing I need to use the app to setup the robovac to start with as the robovac wont know what wifi to connect to, would uninstalling the app make a difference ?

I've also tried deleting my unifi integration that links into my WAP just in case it was causing a conflict but still the same issue

FuturamaPhill commented 8 months ago

Tried beta version to see if that made any difference but still getting below:

2024-03-08 00:49:48.816 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi.bf4b0ace39a5f9f09ajma7] Processing queue. Current length: 1
2024-03-08 00:49:48.816 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi.bf4b0ace39a5f9f09ajma7] Sending to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668): Message(0xa, {'gwId': 'bf4b0ace39a5f9f09ajma7', 'devId': 'bf4b0ace39a5f9f09ajma7'}, 579518852, <Device bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)>)
2024-03-08 00:49:48.816 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi.bf4b0ace39a5f9f09ajma7] Connecting to bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)
2024-03-08 00:49:48.836 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi.bf4b0ace39a5f9f09ajma7] Connection reset: [Errno 104] Connection reset by peer
Traceback (most recent call last):
  File "/config/custom_components/robovac/tuyalocalapi.py", line 833, in _async_handle_message
    await self._response_task
  File "/usr/local/lib/python3.12/asyncio/streams.py", line 657, in readuntil
    await self._wait_for_data('readuntil')
  File "/usr/local/lib/python3.12/asyncio/streams.py", line 542, in _wait_for_data
    await self._waiter
  File "/usr/local/lib/python3.12/asyncio/selector_events.py", line 999, in _read_ready__data_received
    data = self._sock.recv(self.max_size)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ConnectionResetError: [Errno 104] Connection reset by peer
2024-03-08 00:49:48.836 DEBUG (MainThread) [custom_components.robovac.tuyalocalapi.bf4b0ace39a5f9f09ajma7] Disconnected from bf4b0ace39a5f9f09ajma7 (192.168.0.144:6668)
2024-03-08 00:49:48.836 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
  File "/config/custom_components/robovac/tuyalocalapi.py", line 848, in _async_handle_message
    await self.async_disconnect()
  File "/config/custom_components/robovac/tuyalocalapi.py", line 753, in async_disconnect
    await self.writer.wait_closed()
  File "/usr/local/lib/python3.12/asyncio/streams.py", line 361, in wait_closed
    await self._protocol._get_close_waiter(self)
  File "/usr/local/lib/python3.12/asyncio/selector_events.py", line 999, in _read_ready__data_received
    data = self._sock.recv(self.max_size)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ConnectionResetError: [Errno 104] Connection reset by peer