HomeAssistant-Tapo-Control
HomeAssistant-Tapo-Control copied to clipboard
High CPU Usage when Synchronize time turned on
Description
It seems that if use the automatically synchronize time is enabled feature, it maxes out the processor usage, my average usage is around 40% jumps to 97 odd...
Reproduction Steps
- Configure device
- Go to options
- Select Automatically synchronize time
- Save
- Reload
Expected behavior
I assume this is not normal and shouldn't use this much processing power :)
If applicable, add error logs.
Happy to send a screenshot of system performance before and after
Device Firmware
C225 by TP-Link Firmware: 1.0.24 Build 230731 Rel.42636n
Using stream component
No
Does camera work via official integrations?
Yes
Camera has all attributes filled out in developer tools
Yes
HASS Environment
Docker with the integration
Search for similar issues
Yes
Additional information
Happy to supply any more information if needed.
Does this happen after restart as well? Provide debug logs and screenshots please as it does not happen to me so I cannot replicate it.
Hi @JurajNyiri
Thanks for the reply
See attached screenshot as requested. the end part of the screenshot i was playing with reboots, but you can see it stabilise when its disabled
Not sure if related but the logs have the below spamming , nothing else seems out of place. i'm going to try a few more combinations and see if i can get more information
2023-10-17 19:58:43.243 DEBUG (MainThread) [custom_components.tapo_control] [initOnvifEvents] Got device information. 2023-10-17 19:58:43.249 DEBUG (MainThread) [custom_components.tapo_control] setupOnvif - entry 2023-10-17 19:58:43.249 DEBUG (MainThread) [custom_components.tapo_control] Setting up onvif... 2023-10-17 19:58:43.249 DEBUG (MainThread) [custom_components.tapo_control] setupEvents - entry 2023-10-17 19:58:43.249 DEBUG (MainThread) [custom_components.tapo_control] Detected base_url schema: http 2023-10-17 19:58:43.250 DEBUG (MainThread) [custom_components.tapo_control] Detected base_url schema: http 2023-10-17 19:58:43.250 DEBUG (MainThread) [custom_components.tapo_control] Using HTTPS: False 2023-10-17 19:58:43.250 DEBUG (MainThread) [custom_components.tapo_control] Webhook enabled: False 2023-10-17 19:58:43.250 DEBUG (MainThread) [custom_components.tapo_control] Using Webhooks: False 2023-10-17 19:58:43.250 DEBUG (MainThread) [custom_components.tapo_control] Setting up events... 2023-10-17 19:58:43.250 DEBUG (MainThread) [custom_components.tapo_control] WSPullPointSupport: True 2023-10-17 19:58:43.384 DEBUG (MainThread) [custom_components.tapo_control] Events started. 2023-10-17 19:58:43.385 DEBUG (MainThread) [custom_components.tapo_control] Creating binary sensor entity. 2023-10-17 19:58:43.385 DEBUG (MainThread) [custom_components.tapo_control] Binary sensor creation for motion has been forwarded to component. 2023-10-17 19:58:59.175 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:58:59.826 DEBUG (MainThread) [custom_components.tapo_control] mediaSync 2023-10-17 19:59:01.097 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.098 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.098 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.098 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.098 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.099 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.099 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.099 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.099 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.099 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.099 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.099 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.100 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.100 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.100 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.101 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.101 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.101 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.101 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.101 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.101 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.101 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.102 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.102 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.102 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.102 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.102 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.102 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.102 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.102 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.103 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.103 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.123 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.123 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.123 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.123 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.124 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.124 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.124 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.124 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.124 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.124 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.124 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.124 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.125 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.125 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.125 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.125 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.125 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.125 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:01.125 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:03.422 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested. 2023-10-17 19:59:03.423 DEBUG (MainThread) [custom_components.tapo_control] Debouncer call ignored as shutdown has been requested.
Had the sampe problem, deactivating synchronize time did the job
Closing due to inactivity.