-
Notifications
You must be signed in to change notification settings - Fork 104
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
No need for logs when devices are off #206
Comments
How is the integration supposed to know the device is "off", instead of experiencing a temporary loss of connectivity? |
+1 |
yes i get what you are saying. If the latest status of the device is off (or idle, i don't know how it is defined) then it should not export any connectivity errors? but i understand that if there's actually an error the integratio wont report it.. |
There are also the following warnings: Logger: msmart.device.AC.appliance Got Null from 192.168.3.8:6444 Version: 2 Count: 0 Spend time: 3.01 and the following error: Logger: msmart.lan Send 192.168.3.126:39932 -> 192.168.3.8:6444 retries: 0 time: 165.03 Error: [Errno 32] Broken pipe |
At least with my unit, when it's "off" the network is still connected and reachable by the integration (temperatures are still polled). The only time the device is unreachable is when power is completely removed (i.e. unplugged) at which point I just disable the integration in HA |
Describe the bug (描述一下问题)
Hi, log files of HA are flooded with communication error messages. no need to flood the log files with all these kind of messages when the devices are off:
Screenshots / Logs / Pcap File(屏幕截图/日志/抓包文件)
If applicable, add screenshots or your home-assistant log file or pcap file to help explain your problem.
请提交相关截图,日志,抓包让开发者能够更快的解决问题
2023-01-11 13:54:35.736 ERROR (SyncWorker_11) [msmart.lan] Connect Error: 192.168.1.92:6444 timed out
2023-01-11 13:54:35.738 ERROR (SyncWorker_10) [msmart.lan] Connect Error: 192.168.1.93:6444 timed out
2023-01-11 13:54:35.738 ERROR (SyncWorker_5) [msmart.lan] Connect Error: 192.168.1.70:6444 timed out
2023-01-11 13:54:35.739 ERROR (SyncWorker_12) [msmart.lan] Connect Error: 192.168.1.91:6444 timed out
2023-01-11 13:54:35.743 ERROR (SyncWorker_11) [msmart.lan] Sokcet is None: 192.168.1.92:6444
2023-01-11 13:54:35.746 ERROR (SyncWorker_10) [msmart.lan] Sokcet is None: 192.168.1.93:6444
2023-01-11 13:54:35.748 ERROR (SyncWorker_5) [msmart.lan] Sokcet is None: 192.168.1.70:6444
2023-01-11 13:54:35.751 ERROR (SyncWorker_12) [msmart.lan] Sokcet is None: 192.168.1.91:6444
2023-01-11 13:54:35.753 ERROR (SyncWorker_11) [msmart.security] unexpected data length
2023-01-11 13:54:35.757 ERROR (SyncWorker_5) [msmart.security] unexpected data length
2023-01-11 13:54:35.760 ERROR (SyncWorker_12) [msmart.security] unexpected data length
2023-01-11 13:54:35.761 ERROR (SyncWorker_11) [msmart.lan] Authentication failed for None -> 192.168.1.92:6444 retries: 0 time: 238416.93
2023-01-11 13:54:35.767 ERROR (SyncWorker_5) [msmart.lan] Authentication failed for None -> 192.168.1.70:6444 retries: 0 time: 238416.94
2023-01-11 13:54:35.769 ERROR (SyncWorker_12) [msmart.lan] Authentication failed for None -> 192.168.1.91:6444 retries: 0 time: 238416.9
Versions (版本信息)
The text was updated successfully, but these errors were encountered: