JurajNyiri / HomeAssistant-Tapo-Control

Control for Tapo cameras as a Home Assistant component
Apache License 2.0
1.16k stars 89 forks source link

Tapo Integration dosnt clean after itself if restarted and breaks often #624

Closed Flodapo closed 4 months ago

Flodapo commented 4 months ago

Description

If I restart HA or the Integration the Videos stay and just pile up. And it often just breaks (meaning that it won't sync right with the cameras and just says please wait download another recording and it is not showing any thumbnails).

Reproduction Steps

  1. Trying to watch recordings (broken)
  2. Restarting HA or Integration
  3. Now it works again (for some time) but the Storage space is getting fuller every time I restart the Integration or HA

Expected behavior

  1. I want it not to break in the first place
  2. If I restart HA or the Integration I want it to clear unwanted files from the folder (that I can't reach from within HA)

If applicable, add error logs.

Still downloading another recording

Device Firmware

Irrelevant (and unknown)

Integration Version

5.4.13

Using stream component

Yes

Does camera work via official integrations?

Yes

Camera has all attributes filled out in developer tools

Yes

HASS Environment

Raspberry Pi 4 (HA OS)

Search for similar issues

Yes

Additional information

No response

JurajNyiri commented 4 months ago

Hi, set the limit in configuration for maximum hours to sync. Camera does not support multiple downloads at the same time, additionally it always restarts the download if you browse through videos or use the official app at all. Keep it reasonable and let it catch up without browsing etc, once it does in a few hours it should work as expected. You can monitor the download progress via a sensor.

Flodapo commented 4 months ago

i have set the limit and it does work for a while but at some point it just stops syncing. it sometimes fixes itself when i restart HA but then the synced videos that are over the limit dont get cleaned up. they start to pile up. (please dont mark it as completed because the issue is still there).

JurajNyiri commented 4 months ago

Are there any errors in the log when it tries to delete the videos? Do the videos get deleted when HA restarts?

Flodapo commented 4 months ago

thats my problem, it doesnt delete anything and it seems like it doesnt even try to delete it.

JurajNyiri commented 4 months ago

If it does not delete anything, there might be an error in the logs.

Enable debug logs and look for "Initiating media cleanup for entity". It will do it once 1 minute after the start of the HA and then on repeat every 10 minutes.

Flodapo commented 4 months ago

i get this error in the log when i try to watch a video:

2024-07-16 13:27:26.596 ERROR (MainThread) [custom_components.tapo_control] Already downloading a recording, please try again later.

Flodapo commented 4 months ago

yes i will do that

JurajNyiri commented 4 months ago

Also make sure to use the latest release, https://github.com/JurajNyiri/HomeAssistant-Tapo-Control/releases/tag/5.4.26 . 5.4.13 is more than half a year old.

Flodapo commented 4 months ago

this is the log when i restarted the integration (the problem ecours also if i reload the integration) some things might be double because i have 2 cameras:

2024-07-16 13:29:14.341 DEBUG (MainThread) [custom_components.tapo_control] mediaSync 2024-07-16 13:29:14.343 DEBUG (MainThread) [custom_components.tapo_control] mediaSync 2024-07-16 13:29:14.344 DEBUG (MainThread) [custom_components.tapo_control] getRecordingsList -1 2024-07-16 13:29:14.350 DEBUG (SyncWorker_62) [custom_components.tapo_control] [pytapo] New request: 2024-07-16 13:29:14.350 DEBUG (SyncWorker_62) [custom_components.tapo_control] [pytapo] {'data': {'method': 'securePassthrough', 'params': {'request': 'm31Kv0ey271w7qZPMBOZ+RZtR3jGVQIZ6mJaohz/+yb6n3y5nt24LFNeWnLbBOo4AN4taIFbJJjMQ3mXtqj16aJE5IRCUi1igPeFQ8ilLsHYiDa7PIfhJvxyYufVEHzi4mXwaa6zmJaLkl/OIZoHDLp6PiKemAg/doqwTdkKodZf3Zqw+gPwTP2e76NN7jjSdrtcVoDqJyD4JhxB81YZipZYi70ZJN6HMXpSt/g23bnraQIGK8enhRYMpkS+E3ZFTxrM3v8SkhuhAclpKOm9/w=='}}, 'headers': {'Host': 'REDACTED', 'Referer': 'REDACTED', 'Accept': 'application/json', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Tapo CameraClient Android', 'Connection': 'close', 'requestByApp': 'true', 'Content-Type': 'application/json; charset=UTF-8', 'Seq': '189', 'Tapo_tag': 'REDACTED'}, 'verify': False} 2024-07-16 13:29:14.909 DEBUG (SyncWorker_62) [custom_components.tapo_control] [pytapo] 200 2024-07-16 13:29:14.910 DEBUG (SyncWorker_62) [custom_components.tapo_control] [pytapo] {'error_code': 0, 'seq': 189, 'result': {'response': 'PNqJZWB6COcV9wMgCDRKArYXX92/s2hUQfM9Hj0NL3VNuGO3EGkI2GOg3XAG5fRbZkiQRNUDfJJ4tBbtsfVo+9L3TfuDORZYzmAlTwisIr9q6FKLbq/k4kedd32x8R+taUfd4jNw4fqVCqXHQ7Qk8dQfzQ+KA2sGTvmcCISnniZNBnjuSlxuf6oDZN8xee5vY9wYo5x2iH1ZRn04MJpYC+4XfNixoG1wfxSoc8y9lHWwwYrkzcXpXoqVJ0CtYofVqURxQ8lpU8iIVBceFARHrg=='}} 2024-07-16 13:29:14.912 DEBUG (MainThread) [custom_components.tapo_control] getRecordingsList -2 2024-07-16 13:29:14.912 DEBUG (MainThread) [custom_components.tapo_control] getRecordings -1 2024-07-16 13:29:14.913 DEBUG (MainThread) [custom_components.tapo_control] Getting recordings for date 20240716... 2024-07-16 13:29:14.916 DEBUG (SyncWorker_56) [custom_components.tapo_control] [pytapo] New request: 2024-07-16 13:29:15.055 DEBUG (SyncWorker_56) [custom_components.tapo_control] [pytapo] 200 2024-07-16 13:29:15.057 DEBUG (MainThread) [custom_components.tapo_control] getRecordings -2 2024-07-16 13:29:15.057 DEBUG (MainThread) [custom_components.tapo_control] getRecording -1 2024-07-16 13:29:15.058 DEBUG (MainThread) [custom_components.tapo_control] getRecording -2 2024-07-16 13:29:15.058 DEBUG (MainThread) [custom_components.tapo_control] getRecording -1 2024-07-16 13:29:15.065 DEBUG (MainThread) [custom_components.tapo_control] getRecording -2 2024-07-16 13:29:15.066 DEBUG (MainThread) [custom_components.tapo_control] getRecording -1 2024-07-16 13:29:15.072 DEBUG (MainThread) [custom_components.tapo_control] getRecording -2 2024-07-16 13:29:15.072 DEBUG (MainThread) [custom_components.tapo_control] getRecording -1 2024-07-16 13:29:15.082 DEBUG (MainThread) [custom_components.tapo_control] async_update_data - entry 2024-07-16 13:29:15.082 DEBUG (MainThread) [custom_components.tapo_control] Motion sensor or time sync is enabled. 2024-07-16 13:29:15.082 DEBUG (MainThread) [custom_components.tapo_control] Motion sensor: OK 2024-07-16 13:29:15.082 DEBUG (MainThread) [custom_components.tapo_control] async_update_data - before someEntityEnabled check 2024-07-16 13:29:15.082 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.082 DEBUG (MainThread) [custom_components.tapo_control] async_update_data - enabling someEntityEnabled check 2024-07-16 13:29:15.082 DEBUG (MainThread) [custom_components.tapo_control] getCamData 2024-07-16 13:29:15.084 DEBUG (MainThread) [custom_components.tapo_control] getRecording -2 2024-07-16 13:29:15.084 DEBUG (MainThread) [custom_components.tapo_control] getRecording -1 2024-07-16 13:29:15.088 DEBUG (SyncWorker_23) [custom_components.tapo_control] [pytapo] New request: 2024-07-16 13:29:15.101 DEBUG (MainThread) [custom_components.tapo_control] getRecording -2 2024-07-16 13:29:15.101 DEBUG (MainThread) [custom_components.tapo_control] getRecording -1 2024-07-16 13:29:15.114 DEBUG (MainThread) [custom_components.tapo_control] getRecording -2 2024-07-16 13:29:15.114 DEBUG (MainThread) [custom_components.tapo_control] getRecording -1 2024-07-16 13:29:15.120 DEBUG (MainThread) [custom_components.tapo_control] getRecording -2 2024-07-16 13:29:15.120 DEBUG (MainThread) [custom_components.tapo_control] getRecording -1 2024-07-16 13:29:15.122 DEBUG (MainThread) [custom_components.tapo_control] getRecording -2 2024-07-16 13:29:15.123 DEBUG (MainThread) [custom_components.tapo_control] getRecording -1 2024-07-16 13:29:15.128 DEBUG (MainThread) [custom_components.tapo_control] getRecording -2 2024-07-16 13:29:15.128 DEBUG (MainThread) [custom_components.tapo_control] getRecording -1 2024-07-16 13:29:15.132 DEBUG (MainThread) [custom_components.tapo_control] getRecording -2 2024-07-16 13:29:15.133 DEBUG (MainThread) [custom_components.tapo_control] getRecording -1 2024-07-16 13:29:15.142 DEBUG (MainThread) [custom_components.tapo_control] getRecording -2 2024-07-16 13:29:15.142 DEBUG (MainThread) [custom_components.tapo_control] getRecording -1 2024-07-16 13:29:15.147 DEBUG (MainThread) [custom_components.tapo_control] getRecording -2 2024-07-16 13:29:15.148 DEBUG (MainThread) [custom_components.tapo_control] getRecording -1 2024-07-16 13:29:15.151 DEBUG (MainThread) [custom_components.tapo_control] getRecording -2 2024-07-16 13:29:15.152 DEBUG (MainThread) [custom_components.tapo_control] getRecording -1 2024-07-16 13:29:15.155 DEBUG (MainThread) [custom_components.tapo_control] getRecording -2 2024-07-16 13:29:15.155 DEBUG (MainThread) [custom_components.tapo_control] getRecording -1 2024-07-16 13:29:15.159 DEBUG (MainThread) [custom_components.tapo_control] getRecording -2 2024-07-16 13:29:15.159 DEBUG (MainThread) [custom_components.tapo_control] getRecording -1 2024-07-16 13:29:15.163 DEBUG (MainThread) [custom_components.tapo_control] getRecording -2 2024-07-16 13:29:15.164 DEBUG (MainThread) [custom_components.tapo_control] getRecording -1 2024-07-16 13:29:15.168 DEBUG (MainThread) [custom_components.tapo_control] getRecording -2 2024-07-16 13:29:15.168 DEBUG (MainThread) [custom_components.tapo_control] runningMediaSync -false 2024-07-16 13:29:15.432 DEBUG (SyncWorker_23) [custom_components.tapo_control] [pytapo] 200 'autoUpgradeEnabled': 'on', 'connectionInformation': {'link_type': 'wifi', 'ssid': 'Papas WLAN 2,4GHz', 'rssi': '3', 'rssiValue': -51}} 2024-07-16 13:29:15.438 DEBUG (MainThread) [custom_components.tapo_control] Updating entities... 2024-07-16 13:29:15.438 DEBUG (MainThread) [custom_components.tapo_control] Updating entity... 2024-07-16 13:29:15.438 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.439 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.439 DEBUG (MainThread) [custom_components.tapo_control] Updating entity... 2024-07-16 13:29:15.439 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.439 DEBUG (MainThread) [custom_components.tapo_control] Updating TapoPrivacySwitch to: off 2024-07-16 13:29:15.439 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.439 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.440 DEBUG (MainThread) [custom_components.tapo_control] Updating entity... 2024-07-16 13:29:15.440 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.440 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.440 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.440 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.441 DEBUG (MainThread) [custom_components.tapo_control] Updating entity... 2024-07-16 13:29:15.442 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.442 DEBUG (MainThread) [custom_components.tapo_control] Updating entity... 2024-07-16 13:29:15.442 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.443 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.443 DEBUG (MainThread) [custom_components.tapo_control] Updating entity... 2024-07-16 13:29:15.443 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.443 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.444 DEBUG (MainThread) [custom_components.tapo_control] Updating entity... 2024-07-16 13:29:15.444 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.444 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.445 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.445 DEBUG (MainThread) [custom_components.tapo_control] Updating entity... 2024-07-16 13:29:15.445 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.445 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.445 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.446 DEBUG (MainThread) [custom_components.tapo_control] Updating entity... 2024-07-16 13:29:15.446 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.446 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.446 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.446 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.447 DEBUG (MainThread) [custom_components.tapo_control] Updating entity... 2024-07-16 13:29:15.447 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.447 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.447 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.448 DEBUG (MainThread) [custom_components.tapo_control] Updating entity... 2024-07-16 13:29:15.448 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.448 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.448 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.448 DEBUG (MainThread) [custom_components.tapo_control] TapoMotionDetectionSelect updateTapo 1 2024-07-16 13:29:15.448 DEBUG (MainThread) [custom_components.tapo_control] TapoMotionDetectionSelect updateTapo 3 2024-07-16 13:29:15.448 DEBUG (MainThread) [custom_components.tapo_control] TapoMotionDetectionSelect updateTapo 5 2024-07-16 13:29:15.448 DEBUG (MainThread) [custom_components.tapo_control] TapoMotionDetectionSelect updateTapo 6 2024-07-16 13:29:15.449 DEBUG (MainThread) [custom_components.tapo_control] Updating TapoMotionDetectionSelect to: normal 2024-07-16 13:29:15.449 DEBUG (MainThread) [custom_components.tapo_control] Updating entity... 2024-07-16 13:29:15.449 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.449 DEBUG (MainThread) [custom_components.tapo_control] TapoPersonDetectionSelect updateTapo 1 2024-07-16 13:29:15.449 DEBUG (MainThread) [custom_components.tapo_control] TapoPersonDetectionSelect updateTapo 3 2024-07-16 13:29:15.449 DEBUG (MainThread) [custom_components.tapo_control] TapoPersonDetectionSelect updateTapo 5 2024-07-16 13:29:15.449 DEBUG (MainThread) [custom_components.tapo_control] TapoPersonDetectionSelect updateTapo 6 2024-07-16 13:29:15.449 DEBUG (MainThread) [custom_components.tapo_control] Updating TapoPersonDetectionSelect to: None 2024-07-16 13:29:15.449 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.450 DEBUG (MainThread) [custom_components.tapo_control] Updating entity... 2024-07-16 13:29:15.450 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.450 DEBUG (MainThread) [custom_components.tapo_control] <entity sensor.tapo_camera_wohnzimmer_network_ssid=Papas WLAN 2,4GHz> 2024-07-16 13:29:15.450 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.450 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.451 DEBUG (MainThread) [custom_components.tapo_control] Updating entity... 2024-07-16 13:29:15.451 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.451 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.451 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.451 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.451 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.452 DEBUG (MainThread) [custom_components.tapo_control] Updating entity... 2024-07-16 13:29:15.452 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.452 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.453 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.454 DEBUG (MainThread) [custom_components.tapo_control] Updating entity... 2024-07-16 13:29:15.454 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.454 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.454 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.455 DEBUG (MainThread) [custom_components.tapo_control] Updating entity... 2024-07-16 13:29:15.455 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.455 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.455 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.455 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.456 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.456 DEBUG (MainThread) [custom_components.tapo_control] Updating entity... 2024-07-16 13:29:15.456 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.456 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.456 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.456 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.457 DEBUG (MainThread) [custom_components.tapo_control] Updating entity... 2024-07-16 13:29:15.457 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.457 DEBUG (MainThread) [custom_components.tapo_control] Updating light state. 2024-07-16 13:29:15.457 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.457 DEBUG (MainThread) [custom_components.tapo_control] TapoBabyCryDetectionSelect updateTapo 1 2024-07-16 13:29:15.457 DEBUG (MainThread) [custom_components.tapo_control] TapoBabyCryDetectionSelect updateTapo 3 2024-07-16 13:29:15.457 DEBUG (MainThread) [custom_components.tapo_control] TapoBabyCryDetectionSelect updateTapo 4 2024-07-16 13:29:15.457 DEBUG (MainThread) [custom_components.tapo_control] TapoBabyCryDetectionSelect updateTapo 6 2024-07-16 13:29:15.457 DEBUG (MainThread) [custom_components.tapo_control] Updating TapoBabyCryDetectionSelect to: off 2024-07-16 13:29:15.458 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.458 DEBUG (MainThread) [custom_components.tapo_control] TapoTamperDetectionSelect updateTapo 1 2024-07-16 13:29:15.458 DEBUG (MainThread) [custom_components.tapo_control] TapoTamperDetectionSelect updateTapo 3 2024-07-16 13:29:15.458 DEBUG (MainThread) [custom_components.tapo_control] TapoTamperDetectionSelect updateTapo 4 2024-07-16 13:29:15.458 DEBUG (MainThread) [custom_components.tapo_control] TapoTamperDetectionSelect updateTapo 6 2024-07-16 13:29:15.458 DEBUG (MainThread) [custom_components.tapo_control] Updating TapoTamperDetectionSelect to: off 2024-07-16 13:29:15.458 DEBUG (MainThread) [custom_components.tapo_control] Updating entity... 2024-07-16 13:29:15.458 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.458 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.459 DEBUG (SyncWorker_15) [custom_components.tapo_control] [pytapo] New request: 2024-07-16 13:29:15.459 DEBUG (SyncWorker_15) [custom_components.tapo_control] [pytapo] {'data': {'method': 'securePassthrough', 'params': {'request': 'R8P3E0aV2UPoas3Dj/q/pomZdV8+bUbru8xIVRQbSpWX+oA855a4rpnV2cXR41FyhryC7CFDRO18EY/HG5qwCYvdeCTMtOnwEiuK+eqVIIbKjeFk0XQq9/eJ/YApAqfCnRpktzKKnVGY+LZq0RjsFxqAQ4K94ndhojLdPOYmtLCxBW3K6aqHcF0WiiAbMYTGh/4idjQqnrJNxK0CWyU6Qw=='}}, 'headers': {'Host': 'REDACTED', 'Referer': 'REDACTED', 'Accept': 'application/json', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Tapo CameraClient Android', 'Connection': 'close', 'requestByApp': 'true', 'Content-Type': 'application/json; charset=UTF-8', 'Seq': '1993', 'Tapo_tag': 'REDACTED'}, 'verify': False} 2024-07-16 13:29:15.463 DEBUG (SyncWorker_17) [custom_components.tapo_control] [pytapo] New request: 2024-07-16 13:29:15.463 DEBUG (SyncWorker_17) [custom_components.tapo_control] [pytapo] {'data': {'method': 'securePassthrough', 'params': {'request': 'R8P3E0aV2UPoas3Dj/q/pomZdV8+bUbru8xIVRQbSpWX+oA855a4rpnV2cXR41FyhryC7CFDRO18EY/HG5qwCYvdeCTMtOnwEiuK+eqVIIbKjeFk0XQq9/eJ/YApAqfCnRpktzKKnVGY+LZq0RjsFxqAQ4K94ndhojLdPOYmtLCxBW3K6aqHcF0WiiAbMYTGh/4idjQqnrJNxK0CWyU6Qw=='}}, 'headers': {'Host': 'REDACTED', 'Referer': 'REDACTED', 'Accept': 'application/json', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Tapo CameraClient Android', 'Connection': 'close', 'requestByApp': 'true', 'Content-Type': 'application/json; charset=UTF-8', 'Seq': '1994', 'Tapo_tag': 'REDACTED'}, 'verify': False} 2024-07-16 13:29:15.464 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:15.464 DEBUG (MainThread) [custom_components.tapo_control] Finished fetching Tapo resource status data in 0.382 seconds (success: True) 2024-07-16 13:29:15.780 DEBUG (SyncWorker_15) [custom_components.tapo_control] [pytapo] 200 2024-07-16 13:29:15.781 DEBUG (SyncWorker_15) [custom_components.tapo_control] [pytapo] {'error_code': 0, 'seq': 1994, 'result': {'response': 'rjYeaDRB52p0GZynCK4chOom7Yh2rS6lWgJfA+cYmeNUEi70Kgm19tZCnJ9xjjd7pLmFYYfuq+/Am1cSpyIsOMFx7Bb7rdv54B96ldQd3ZT9OqpAPvxVYL6sR75zEtRhzFvEOzWkysGmR4X7/mqAXllshrrAJeqDAV5Q7RiVX1xWSrUhRymXkkA3f74QfXuAHA4tFUFWhPsVGH75rpQ7ZcWtXXB8QBIBBpT+I7i3fSJEq3HuN7CsgDRVid7XzxqqE4cDInOF+4Sa8o8cCSqSWg7EwPyB7GE3Djx+D97wkTyzVA3vYYCLzHXI7tJXM78N+yvlXtYoP5HPFIQlFipBupOnlR+PunRM4u9xmT3Ti+vHYdXFxv/+oo3ad26SuPEH'}} 2024-07-16 13:29:15.787 DEBUG (SyncWorker_17) [custom_components.tapo_control] [pytapo] 200 2024-07-16 13:29:15.788 DEBUG (SyncWorker_17) [custom_components.tapo_control] [pytapo] {'error_code': 0, 'seq': 1994, 'result': {'response': 'rjYeaDRB52p0GZynCK4chOom7Yh2rS6lWgJfA+cYmeNUEi70Kgm19tZCnJ9xjjd7pLmFYYfuq+/Am1cSpyIsOMFx7Bb7rdv54B96ldQd3ZT9OqpAPvxVYL6sR75zEtRhzFvEOzWkysGmR4X7/mqAXllshrrAJeqDAV5Q7RiVX1xWSrUhRymXkkA3f74QfXuAHA4tFUFWhPsVGH75rpQ7ZcWtXXB8QBIBBpT+I7i3fSJEq3HuN7CsgDRVid7XzxqqE4cDInOF+4Sa8o8cCSqSWg7EwPyB7GE3Djx+D97wkTyzVA3vYYCLzHXI7tJXM78N+yvlXtYoP5HPFIQlFipBupOnlR+PunRM4u9xmT3Ti+vHYdXFxv/+oo3ad26SuPEH'}} 2024-07-16 13:29:19.216 DEBUG (MainThread) [custom_components.tapo_control] Unloading tapo_control... 2024-07-16 13:29:19.229 DEBUG (MainThread) [custom_components.tapo_control] Stopping events... 2024-07-16 13:29:20.225 DEBUG (MainThread) [custom_components.tapo_control] Unloading tapo_control... 2024-07-16 13:29:20.236 DEBUG (MainThread) [custom_components.tapo_control] Stopping events... 2024-07-16 13:29:22.231 WARNING (MainThread) [custom_components.tapo_control] Timed out waiting for onvif connection to close, proceeding. 2024-07-16 13:29:22.231 DEBUG (MainThread) [custom_components.tapo_control] Events stopped. 2024-07-16 13:29:22.232 DEBUG (MainThread) [custom_components.tapo_control] Detected base_url schema: https 2024-07-16 13:29:22.232 WARNING (MainThread) [custom_components.tapo_control] Home Assistant is running on HTTPS or it was not able to detect base_url schema. Disabling webhooks. 2024-07-16 13:29:22.233 DEBUG (SyncWorker_25) [custom_components.tapo_control] [pytapo] Refreshing stok... 2024-07-16 13:29:22.235 DEBUG (SyncWorker_25) [custom_components.tapo_control] [pytapo] New request: 2024-07-16 13:29:22.235 DEBUG (SyncWorker_25) [custom_components.tapo_control] [pytapo] {'data': {'method': 'login', 'params': {'encrypt_type': '3', 'username': 'admin'}}, 'headers': {'Host': 'REDACTED', 'Referer': 'REDACTED', 'Accept': 'application/json', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Tapo CameraClient Android', 'Connection': 'close', 'requestByApp': 'true', 'Content-Type': 'application/json; charset=UTF-8'}, 'verify': False} 2024-07-16 13:29:22.383 DEBUG (SyncWorker_25) [custom_components.tapo_control] [pytapo] 200 2024-07-16 13:29:22.383 DEBUG (SyncWorker_25) [custom_components.tapo_control] [pytapo] {'error_code': -40413, 'result': {'data': {'code': -40401, 'encrypt_type': ['3'], 'key': 'REDACTED', 'nonce': 'REDACTED', 'device_confirm': 'REDACTED'}}} 2024-07-16 13:29:22.384 DEBUG (SyncWorker_25) [custom_components.tapo_control] [pytapo] Connection is secure. 2024-07-16 13:29:22.385 DEBUG (SyncWorker_25) [custom_components.tapo_control] [pytapo] New request: 2024-07-16 13:29:22.386 DEBUG (SyncWorker_25) [custom_components.tapo_control] [pytapo] {'data': {'method': 'login', 'params': {'cnonce': 'REDACTED', 'encrypt_type': '3', 'username': 'admin'}}, 'headers': {'Host': 'REDACTED', 'Referer': 'REDACTED', 'Accept': 'application/json', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Tapo CameraClient Android', 'Connection': 'close', 'requestByApp': 'true', 'Content-Type': 'application/json; charset=UTF-8'}, 'verify': False} 2024-07-16 13:29:22.514 DEBUG (SyncWorker_25) [custom_components.tapo_control] [pytapo] 200 2024-07-16 13:29:22.514 DEBUG (SyncWorker_25) [custom_components.tapo_control] [pytapo] {'error_code': -40413, 'result': {'data': {'code': -40401, 'encrypt_type': ['3'], 'key': 'REDACTED', 'nonce': 'REDACTED', 'device_confirm': 'REDACTED'}}} 2024-07-16 13:29:22.515 DEBUG (SyncWorker_25) [custom_components.tapo_control] [pytapo] Status code: 200 2024-07-16 13:29:22.515 DEBUG (SyncWorker_25) [custom_components.tapo_control] [pytapo] Processing secure response. 2024-07-16 13:29:22.515 DEBUG (SyncWorker_25) [custom_components.tapo_control] [pytapo] Validating device confirm. 2024-07-16 13:29:22.515 DEBUG (SyncWorker_25) [custom_components.tapo_control] [pytapo] Signing in with digestPasswd. 2024-07-16 13:29:22.517 DEBUG (SyncWorker_25) [custom_components.tapo_control] [pytapo] New request: 2024-07-16 13:29:22.517 DEBUG (SyncWorker_25) [custom_components.tapo_control] [pytapo] {'data': {'method': 'login', 'params': {'cnonce': 'REDACTED', 'encrypt_type': '3', 'digest_passwd': 'REDACTED', 'username': 'admin'}}, 'headers': {'Host': 'REDACTED', 'Referer': 'REDACTED', 'Accept': 'application/json', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Tapo CameraClient Android', 'Connection': 'close', 'requestByApp': 'true', 'Content-Type': 'application/json; charset=UTF-8'}, 'verify': False} 2024-07-16 13:29:22.652 DEBUG (SyncWorker_25) [custom_components.tapo_control] [pytapo] 200 2024-07-16 13:29:22.652 DEBUG (SyncWorker_25) [custom_components.tapo_control] [pytapo] {'error_code': 0, 'result': {'stok': 'REDACTED', 'user_group': 'root', 'start_seq': 932}} 2024-07-16 13:29:22.653 DEBUG (SyncWorker_25) [custom_components.tapo_control] [pytapo] Geneerating encryption tokens. 2024-07-16 13:29:22.653 DEBUG (SyncWorker_25) [custom_components.tapo_control] [pytapo] Saving stok. 2024-07-16 13:29:22.657 DEBUG (SyncWorker_25) [custom_components.tapo_control] [pytapo] New request: 2024-07-16 13:29:22.657 DEBUG (SyncWorker_25) [custom_components.tapo_control] [pytapo] {'data': {'method': 'securePassthrough', 'params': {'request': 'IQ9qa14FSDScByHXCeTETySeuvvRxHNamWENUlYDYp1Gyg41Igylm5QCe5rMoUxjHkx2STNM66Q9shijbdXdimGHIef1BTPi9DiC9llgu0ApjKs9IAQycr2bZr64/ePjVPJ+1RE0xsemahFNEuCp1g9lZQQOoTyQKGhLuzBEDjEiyjt4cxn5c8GAMMreDMBR'}}, 'headers': {'Host': 'REDACTED', 'Referer': 'REDACTED', 'Accept': 'application/json', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Tapo CameraClient Android', 'Connection': 'close', 'requestByApp': 'true', 'Content-Type': 'application/json; charset=UTF-8', 'Seq': '932', 'Tapo_tag': 'REDACTED'}, 'verify': False} 2024-07-16 13:29:22.896 DEBUG (SyncWorker_25) [custom_components.tapo_control] [pytapo] 200 2024-07-16 13:29:22.896 DEBUG (SyncWorker_25) [custom_components.tapo_control] [pytapo] {'error_code': 0, 'seq': 932, 'result': {'response': 'C+XSIX+pLHRaGAqgh7fuhRzw5ZObdEVOgLdoAw5iulJWcY3tluqv18PFLASkd20JrsgJkWkVuanED5v+VunbozMtmurEyWfrc6PvpuwIQX1cs9iwlJ0d+Su/E9dYOWQOVvvFy9HPiU1fTD+jQ4uoq8B81vETtk/0jtvcI3UNBH/0cGZqCvt4lNVk3fapdEk+JsbKKbCHmrnk2y4hZye2CIpE6aALSPOFr+bmDNeJeuuyQ3eegePUQ+aqIY0ZWlLzqsNBblZedtn16EFFIRBfke9hYuh5drnX2QxICgchbELVSsr5G/T8uYos086Y3M3B3T7dbSCFs33uB2XmIrVtmZHB9fIvVpkMYWah9zsqbRPp+BdgCt/xyvBivK4FjIlHL2ri1W8S/hmCI01jJDps/SQd+P14M4eWqb8SI6JZeiXmLp9aR1lKmv+IJwiJ75s0A2Yc5dWNPKP7ElxbKvP6nU/lHD6dMCOWo6hC0EU8KUwixdAcqGkYdgS1E2r2fyiYrrMrGHiwdQuZHtvKWncb8hl2JbBlSqlfbRTP4Q4+t1Phwq1Eb0SDzLpJW5GNsq45Do4AHgYDXE/Mij73uAWtCg5IJprZCHlumWBmd8cdKZEngrYIWh5AClCkQ0TnBLB7WEOWVBMzvplfZ8u70fmxtv5qHvlVniylVGXRD3ss3s7MtlFVsqSdzUS8I2x8wwKycxfS2+xke9+fpGIzpGKbgz+KlWSd9VRux2xrq2qh0HkpxDL9CNN1mJw6wuGWabdLbFj1K/+sgEgDRxUHWJTtuTwOj/1AkJni17ypwpfJq6Hqfer4MfeMQbClKcpbSBBtTAzeyE71Cle4Z3BlXx/t2/NY4CGkgsTT4saE6odW9DQOdX4h+8HyzvM2TyLBrdLgQAVSBx+5pdVcOm3QwSuL5F30bQTbpY30KeLdkJXrPPNMxmuMNqQNmymVgYvR2biO'}} 2024-07-16 13:29:22.901 DEBUG (SyncWorker_25) [custom_components.tapo_control] [pytapo] New request: 2024-07-16 13:29:22.901 DEBUG (SyncWorker_25) [custom_components.tapo_control] [pytapo] {'data': {'method': 'securePassthrough', 'params': {'request': 'IQ9qa14FSDScByHXCeTETySeuvvRxHNamWENUlYDYp1Gyg41Igylm5QCe5rMoUxjHkx2STNM66Q9shijbdXdiqY9hWSB1V0MRFYfrvpOe8vz7moZ3Nam2kuIgHuRMkAdtj+Teh9NyyqA/k/u8ZS0RRm/3Qcwb+NnVQZbQJWZZwOVuuDltBIgu7dm4Pc/BYxk'}}, 'headers': {'Host': 'REDACTED', 'Referer': 'REDACTED', 'Accept': 'application/json', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Tapo CameraClient Android', 'Connection': 'close', 'requestByApp': 'true', 'Content-Type': 'application/json; charset=UTF-8', 'Seq': '933', 'Tapo_tag': 'REDACTED'}, 'verify': False} 2024-07-16 13:29:22.987 DEBUG (MainThread) [custom_components.tapo_control] async_update_data - entry 2024-07-16 13:29:22.988 DEBUG (MainThread) [custom_components.tapo_control] Motion sensor or time sync is enabled. 2024-07-16 13:29:22.988 DEBUG (MainThread) [custom_components.tapo_control] Motion sensor: OK 2024-07-16 13:29:22.988 DEBUG (MainThread) [custom_components.tapo_control] async_update_data - before someEntityEnabled check 2024-07-16 13:29:22.988 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:22.989 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:22.990 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:22.991 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:22.992 DEBUG (MainThread) [custom_components.tapo_control] 2024-07-16 13:29:22.992 DEBUG (MainThread) [custom_components.tapo_control] Finished fetching Tapo resource status data in 0.005 seconds (success: True) 2024-07-16 13:29:23.120 DEBUG (SyncWorker_25) [custom_components.tapo_control] [pytapo] 200 2024-07-16 13:29:23.120 DEBUG (SyncWorker_25) [custom_components.tapo_control] [pytapo] {'error_code': 0, 'seq': 933, 'result': {'response': 'C+XSIX+pLHRaGAqgh7fuhRzw5ZObdEVOgLdoAw5iulK3mgBmldUPxr3ICUhi/p4pQ1oqGsPAWQB/OIBIfGouqlpo7pm8M6NrQbAtPfo3+FAEU9CDEP1MmQSEdKsfUSeQwIBHBwjpsjcjp3La0OUQryRkVGfQrSnVPbMHuruAOlMP8rvdMTPs5gPj7FFWgLWohsO8o9QMZmkuQJN/ji8jYoF7v4yPIoEKVW4k3cI89W/rj5UK52s5lGljKv7jxmTgizcg3kP7VXDoezLLZ/BG/u7ubcZZBXDfDGvufh60qKT+/0ABhv5J2vDDZIZX+lxofaqaOqiiKsz55NNLtWk38DKuq6acpPlfZ4szPUSI6Y48apZAd99BjzJwH7s7aaUU7fcy4F8xSwzdz7DfUjgTNNYnLx5ljJcShoB07eMmP4JUdf/ZW86WtCXNOaLNfFjzsoeBsBA6aSjdpuuN/YAN7vFSUjSH/VTmicyR6EvwVquIVB6c2ZdfJ7sulwBwMyEpPyq/EfZvKx+zyiqe1KyDADkUf+vcXJIjGsTin19BF3mCjdkW2Yhs00MLFa4YDSj7'}} 2024-07-16 13:29:23.123 DEBUG (MainThread) [custom_components.tapo_control] getCamData 2024-07-16 13:29:23.127 DEBUG (SyncWorker_36) [custom_components.tapo_control] [pytapo] New request: 2024-07-16 13:29:23.127 DEBUG (SyncWorker_36) [custom_components.tapo_control] [pytapo] {'data': {'method': 'securePassthrough', 'params': {'request': 'IQ9qa14FSDScByHXCeTETySeuvvRxHNamWENUlYDYp1Gyg41Igylm5QCe5rMoUxjHkx2STNM66Q9shijbdXdimGHIef1BTPi9DiC9llgu0ApjKs9IAQycr2bZr64/ePjVPJ+1RE0xsemahFNEuCp1g9lZQQOoTyQKGhLuzBEDjEkzRjS/Yye9Nv5hYo1UKYAT0drU+XLNF7B2CvrjZdGCRe0k7d5tgN+VhE5YZB3zXI80977xT2XyPdGMPLWXwbUBCvEopnMZ33pJmAqD9tLK3HMETfuiMb7ZbP+GOwyGt7dtnCWZyGBihRU+kawOlnvXbcPYYxhiE0vPySCaTFTfPyjh+j4CWcM96qco0EE9xo2gvZe7WTLph4VkYh21Oh1Cbeo+Osow3SQq69/hfLJ1YZ7L8yIrF70pZ/Tvyj1lpS7K4q+rf1ecB2YVKrjbqIwuPgPan0UZIYtvoKpKSHMaawHDe8ykktsURmc6cLGwPVM0LQ1+pCGu0iyNPF4doAVYhVsv2gLueyn2Mh+2t8btOFknok0ZaEEgzXr8X5tSJ3y8A1DdoZ+HGZ3XF+hUR41oWDJlNYz+2dd4TKl5FVSeXdxpgkezqasogOVq7iLVdzm64l/xaDnVsNn+URsPt+Bs13ZVoCgP9M/41M6R/n8OZJiIrB072MOrbeh/TSLe7SFHHRfp+l2dm30kMD+G/JgH95IyQGsdhGJd5dRo6PSZO7R2C4oiFGTFlRKAonbhRYt+JAeXIlWlrXZ9/Cv3N+36TIgrJV4A49csQr17WGYhUL1POoXHQip/2aFGEbtZPpmKMQ1HTRgmzrV5zJnSuce5Vm5+hHle4lY7DZtJqwQE2sp1AIGcW1i8PcE0W4EpacH8IWzR5bMPVuwIKMmT6OlQn6sub6xON94A1sLtS/OW/uV1vrL5/Em9XjFAjsCjuN4PH8g0AYAoeZnmUcDY0LgphIZ9N0RImWS66MDSBbgOLCmsAFQ8hLq3VFw8jHY+ajWZcvyPFkK/PT3U2HNb+5k99WSj3098zB+gtNOHphkj9ArqLLvWnSAO7cdj0afvSfVTlbfE23XG5Qu9I33ePOMKsNb1u90yENifZr6rVThxQ55LRVMqLiBA4NxCtLM1D+9OX9r7hVrPtaEqMIcqWGRtC4+XlOHIjcGn5Mjkwl492QGuQybmgKMTdw7M+jXXei98DwAIOGJR4oZTfaeqC/F9OKZZ/EHe23sdAONfk/FG0tGb6bxbLI+xIy933sw646ZoWOFvWHqS4hx3Fjp8Uvpy9Hjgj+XmZPx80ij1Mm3//AhB4YgrhxbgCpOBAnHm/vFhnEv78IvsW5uwcvY2KasS+fc/thGiGdBdiqpfB0YMcusMQRHRe6mIKhmyGa07fQz+OJbhJ+FX7AUrDsQkLKvYGa4E3ZUatc7DN03swhpFrFd55P9JV/2njaHjOkZk0exCwkTU0aOcEcC35NG6iowKeat1JIpR764BF/z7EjVm3wrnckBlnzqG4djM9IR6qwPVOEqzpp73/5bBeV2VOE0kr9QY25GcLCXad5apcZd0UiOkVTqBVd83qCcmJ10cCeyoh+naWhEDsst5w/2sYDRRyddNBehWCXeGCTIktIqWt0iYsSumogepsmaPORKQxoyVpObNigG5HVoBA7E3+t5Q6rT0SKYQDlEF6vPMLniT8T3weEVzkqeQ9OGu3mEMsTqQWUcE1yP2RO2/k8odJQLTU4JyNqHzKu1nWkDHR+MncS6H4/pXgV3nk6PUm4oW42t7q/CMEq/yJ5IktGngfLrYJ0+elYxhWeGd+q1GWBPvPGwGc7qj8xaEyZYtAiMH3avQN3mHPkfRps44Zv/UN4QjSUp6+h7Y2NARxYMGeEOOWTuQTtmLtyjwpeoxny54mKcTXQgr5LZBRr1So3XKZZrGeEN+p7l9DzGhBcUQ6iIRnL5BjvQd/X0B0ehIxaDrBZaxH4DT1NAQuv6+NPV+EmIWL333mrs+IbN8Bb+XzWUXFJG2G2W1leD88O3eb8PdnRTuFR7qrIEhRhiRI1Antq787NwXqEzH334qdlaVID7W0E0DjUFwRABjeA6x49EjDatV57rJO4pdOqsVRUiStLtxTNqJvpViunLSUCFR2dyQYEeWZxeN7sdWamOvRPcCTFDIqtykUylfiRouzD3fu02iu3AluCQwUkIbtkI76UxRmpsDsy6vE7ssQ44cbXNr/KOGCNjh6Lh09j7opOY04pZXpnnv/aQAMjoUqPSN17vUIb/7Bo3wvSNRMRGrf4GjyfKSYdObnPpyOep15WgUJ0EXKFu4y6JTunjK6QS3UEjdeviqwyAUIQTu59mpiDIW7WUJ1GOMMXJRk4zYNa0fyHYJSM1Vl+EkunpiVpGKiMraggruev3iXnEPWRwHH5CUkybMFb31QAzPMIP1HvgqHwk/AYF9PGODn6BHwj6SHlvQ5/BTYrD6V/hs2lrc9TlnifVvDG2H2Yhn4qyEmJJPt9Mnwe4kIvKEXLMfB7gMoj+btir+7XgeQbwZe+iRUKHgLZYgDGPSG7xKUQNnIJVMVxuRPvm5YcMlBpd2pgg7IgsCaS/EgPrTrSr6DlDCghGUVexlOHuxid/mCfLxsuse4Hkc8T/NM7VKmQIfxsyeKd/PkoHsoe2O6CRmxjkrT3rD2KzjpDkzpzuw8pQTS5OE/WwNRG6zCXGBCLUnJ8NBtLOKGxOq6gpitNcFwvtkXmseqcu9l8Bd80xG76/4pyY2hGM6Rx1UFfxI7JfxzC+ZwHtjfYf0773W9zh5Qq1HIK+fOQHT12PaZ+g60/sITieanYwdwRKKXHenOy9oHVTBl/vw1BiH/SC5CxlgxnXQwEfKUfep0CpGAc1B/NvAlriHOBHiYEzeTVyLS7foePRoRJYYWxExGzwvByxQyxMtpA1ZrzIi0N04LE8fKa0OzmeJBGtZIHg8dAT05aX+pVD54cJA0cRNfhJVIZ7LljU/f1Qtq4RpbIUPmNUdUriyd66jNwqZLM/bAQIw6f/WjuUBdkIDIcd6e1mqkPUGTnrJegEsSrxYOvLVdjlb0Bt/OWFOSPQcdMwRQcUTC1+dMzHU2szh590E76pmCSYpZyelDwearVqePIXzwVtDIJPZu4mzqDnJmbaNPL3p8YWvypDHviDx5WtiWRdUV3TnAnny+XZkalST763zg64+qfI6+SvpC/tAg/IyqvATcUnrjkZ2XOBDKADKGaa7Mv96rztJO2NtAo/wopS/vGbru23gK70/JfWsc/MslQAkXoOK58JbJBn63zcGQtSdvZDwmoVMqcme1umN0PtJp5alEf5a43Y7pt75rOlzU7YqO9Z5vqyBeyY7PW1yFriZU0WxFOTD8Q0xRblNA2ad4kN0O7IjgcvCd38Cw8ZmGlIJoeO6btj3qIq9xl7ge5vgWfkUqqDt3BHZJ1NE2QMoH4tb/586hM79/HfpKonK65ywgnVeXyCrDGGsxJbC8bKPEfdSgr2En/F8jPwIe0xS2Paj1BG1OYFAQOUyJVdNo5l+ZI1r8EpltEagZZb+7aXSg9v7jcvaxhQPgNjxj97WBrRiFUVxklHZzLDPoqA7ZE6ZMsMduetlvgN6H+UmbceuUE+iOGDJKmiSFnwamK8iJwYXnLQJtHj6Lw7MDAmMwj3DttLMBccxYq/KO8TdbW+kNtc3hWE/EPqjN/4EohL28C6UcuGy77h5gdj9gdKDJzDndJ4+TQH9Zf8OARPDYp8oWXRlDl2oukqekFRHv948jvdUdtmKvb4V7aVtsMpLSmWJUSbjtOCNi/MRlXqfltPBYTBCdQMdZvqDK3gpgdCPa6XWRCKlnF1VzxTJkuh4dIGr9gF7Op+QbDu418H/sRImWWY51/0iSYQMR3agTsRJF1X+KsKPUE32VZz4T47EhHqKLBaX6QJyOouVBUQwsxfZuu5I3KKoGgkHEank8c4AHK1FTpgobZpLg8XB2BWN02guPamvWgRfeR/QfuNilIZQhK0GpaRdg/TsZfNKE78b70rINdIoWO1AlkB2iiiu91Ws8yLaFXbiPcb3wB/9f4ZJl13hqQLSTLTFX3lru6b2+065D7EbkjFHp0/7rvpl/hSo0KIzaa9eVjGMFTd+dBP3fYmVcocnH3MyVaK7wS4LZApPBIdBDeMoAq9bndcNaW1rOSz1ZP4E0NBUDcnuqHOzadjqDbUbfZOaan4BMudwyyZcDJERLlOcTZyHxDGB2iOagkmNHeKOY5Jo02UE2+eWcS9AP67jGAKHcjyTAjjn2XZgIaIBEdFw7koJfcGRinxJ8AJvkszVvMeyCoNgUT41IEt6ct4T4v6GGIiiwaIf/iZstri+mkSiVhR8oVAdwa9ZCzndxpASSrdVwasGir35eb5kq4hZnKYvGoUykcaNS9GtIfeK50sw+bS'}}, 'headers': {'Host': 'REDACTED', 'Referer': 'REDACTED', 'Accept': 'application/json', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Tapo CameraClient Android', 'Connection': 'close', 'requestByApp': 'true', 'Content-Type': 'application/json; charset=UTF-8', 'Seq': '934', 'Tapo_tag': 'REDACTED'}, 'verify': False} 2024-07-16 13:29:23.240 WARNING (MainThread) [custom_components.tapo_control] Timed out waiting for onvif connection to close, proceeding. 2024-07-16 13:29:23.240 DEBUG (MainThread) [custom_components.tapo_control] Events stopped. 2024-07-16 13:29:23.241 DEBUG (MainThread) [custom_components.tapo_control] Detected base_url schema: https 2024-07-16 13:29:23.241 WARNING (MainThread) [custom_components.tapo_control] Home Assistant is running on HTTPS or it was not able to detect base_url schema. Disabling webhooks. 2024-07-16 13:29:23.242 DEBUG (SyncWorker_41) [custom_components.tapo_control] [pytapo] Refreshing stok... 2024-07-16 13:29:23.248 DEBUG (SyncWorker_41) [custom_components.tapo_control] [pytapo] New request: 2024-07-16 13:29:23.248 DEBUG (SyncWorker_41) [custom_components.tapo_control] [pytapo] {'data': {'method': 'login', 'params': {'encrypt_type': '3', 'username': 'admin'}}, 'headers': {'Host': 'REDACTED', 'Referer': 'REDACTED', 'Accept': 'application/json', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Tapo CameraClient Android', 'Connection': 'close', 'requestByApp': 'true', 'Content-Type': 'application/json; charset=UTF-8'}, 'verify': False} 2024-07-16 13:29:23.386 DEBUG (SyncWorker_41) [custom_components.tapo_control] [pytapo] 200 2024-07-16 13:29:23.386 DEBUG (SyncWorker_41) [custom_components.tapo_control] [pytapo] {'error_code': -40413, 'result': {'data': {'code': -40401, 'encrypt_type': ['3'], 'key': 'REDACTED', 'nonce': 'REDACTED', 'device_confirm': 'REDACTED'}}} 2024-07-16 13:29:23.388 DEBUG (SyncWorker_41) [custom_components.tapo_control] [pytapo] Connection is secure. 2024-07-16 13:29:23.391 DEBUG (SyncWorker_41) [custom_components.tapo_control] [pytapo] New request: 2024-07-16 13:29:23.391 DEBUG (SyncWorker_41) [custom_components.tapo_control] [pytapo] {'data': {'method': 'login', 'params': {'cnonce': 'REDACTED', 'encrypt_type': '3', 'username': 'admin'}}, 'headers': {'Host': 'REDACTED', 'Referer': 'REDACTED', 'Accept': 'application/json', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Tapo CameraClient Android', 'Connection': 'close', 'requestByApp': 'true', 'Content-Type': 'application/json; charset=UTF-8'}, 'verify': False} 2024-07-16 13:29:23.457 DEBUG (SyncWorker_36) [custom_components.tapo_control] [pytapo] 200 2024-07-16 13:29:23.685 DEBUG (MainThread) [custom_components.tapo_control] Tapo Privacy - init - start 2024-07-16 13:29:23.685 DEBUG (MainThread) [custom_components.tapo_control] Updating TapoPrivacySwitch to: off 2024-07-16 13:29:23.685 DEBUG (MainThread) [custom_components.tapo_control] Tapo Privacy - init - end 2024-07-16 13:29:23.685 DEBUG (MainThread) [custom_components.tapo_control] Adding tapoPrivacySwitch... 2024-07-16 13:29:23.686 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getLensDistortionCorrection, creating TapoLensDistortionCorrectionSwitch 2024-07-16 13:29:23.686 DEBUG (MainThread) [custom_components.tapo_control] Tapo Lens Distortion Correction - init - start 2024-07-16 13:29:23.686 DEBUG (MainThread) [custom_components.tapo_control] Tapo Lens Distortion Correction - init - end 2024-07-16 13:29:23.686 DEBUG (MainThread) [custom_components.tapo_control] Adding tapoLensDistortionCorrectionSwitch... 2024-07-16 13:29:23.686 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getLED, creating TapoIndicatorLedSwitch 2024-07-16 13:29:23.686 DEBUG (MainThread) [custom_components.tapo_control] Tapo Indicator LED - init - start 2024-07-16 13:29:23.686 DEBUG (MainThread) [custom_components.tapo_control] Tapo Indicator LED - init - end 2024-07-16 13:29:23.686 DEBUG (MainThread) [custom_components.tapo_control] Adding tapoIndicatorLedSwitch... 2024-07-16 13:29:23.686 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getImageFlipVertical, creating TapoFlipSwitch 2024-07-16 13:29:23.686 DEBUG (MainThread) [custom_components.tapo_control] Tapo Flip - init - start 2024-07-16 13:29:23.686 DEBUG (MainThread) [custom_components.tapo_control] Tapo Flip - init - end 2024-07-16 13:29:23.686 DEBUG (MainThread) [custom_components.tapo_control] Adding tapoFlipSwitch... 2024-07-16 13:29:23.686 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getAutoTrackTarget, creating TapoAutoTrackSwitch 2024-07-16 13:29:23.686 DEBUG (MainThread) [custom_components.tapo_control] Tapo Auto Track - init - start 2024-07-16 13:29:23.687 DEBUG (MainThread) [custom_components.tapo_control] Tapo Auto Track - init - end 2024-07-16 13:29:23.687 DEBUG (MainThread) [custom_components.tapo_control] Adding tapoAutoTrackSwitch... 2024-07-16 13:29:23.687 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getNotificationsEnabled, creating TapoNotificationsSwitch 2024-07-16 13:29:23.687 DEBUG (MainThread) [custom_components.tapo_control] Tapo Notifications - init - start 2024-07-16 13:29:23.687 DEBUG (MainThread) [custom_components.tapo_control] Tapo Notifications - init - end 2024-07-16 13:29:23.687 DEBUG (MainThread) [custom_components.tapo_control] Adding tapoNotificationsSwitch... 2024-07-16 13:29:23.687 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getNotificationsEnabled, creating TapoRichNotificationsSwitch 2024-07-16 13:29:23.687 DEBUG (MainThread) [custom_components.tapo_control] Tapo Rich Notifications - init - start 2024-07-16 13:29:23.687 DEBUG (MainThread) [custom_components.tapo_control] Tapo Rich Notifications - init - end 2024-07-16 13:29:23.687 DEBUG (MainThread) [custom_components.tapo_control] Adding tapoRichNotificationsSwitch... 2024-07-16 13:29:23.687 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getFirmwareAutoUpgradeConfig, creating TapoAutoUpgradeSwitch 2024-07-16 13:29:23.687 DEBUG (MainThread) [custom_components.tapo_control] Tapo Automatically Upgrade Firmware - init - start 2024-07-16 13:29:23.687 DEBUG (MainThread) [custom_components.tapo_control] Tapo Automatically Upgrade Firmware - init - end 2024-07-16 13:29:23.687 DEBUG (MainThread) [custom_components.tapo_control] Adding tapoAutoUpgradeSwitch... 2024-07-16 13:29:23.687 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getRecordPlan, creating TapoRecordingPlanSwitch 2024-07-16 13:29:23.687 DEBUG (MainThread) [custom_components.tapo_control] Tapo Record to SD Card - init - start 2024-07-16 13:29:23.688 DEBUG (MainThread) [custom_components.tapo_control] Tapo Record to SD Card - init - end 2024-07-16 13:29:23.688 DEBUG (MainThread) [custom_components.tapo_control] Adding tapoRecordingPlanSwitch... 2024-07-16 13:29:23.688 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getAudioConfig, creating TapoMicrophoneMuteSwitch 2024-07-16 13:29:23.688 DEBUG (MainThread) [custom_components.tapo_control] Tapo Microphone - Mute - init - start 2024-07-16 13:29:23.688 DEBUG (MainThread) [custom_components.tapo_control] Tapo Microphone - Mute - init - end 2024-07-16 13:29:23.688 DEBUG (MainThread) [custom_components.tapo_control] Adding tapoMicrophoneMuteSwitch... 2024-07-16 13:29:23.688 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getAudioConfig, creating TapoMicrophoneNoiseCancellationSwitch 2024-07-16 13:29:23.688 DEBUG (MainThread) [custom_components.tapo_control] Tapo Microphone - Noise Cancellation - init - start 2024-07-16 13:29:23.688 DEBUG (MainThread) [custom_components.tapo_control] Tapo Microphone - Noise Cancellation - init - end 2024-07-16 13:29:23.688 DEBUG (MainThread) [custom_components.tapo_control] Adding tapoMicrophoneNoiseCancellationSwitch... 2024-07-16 13:29:23.688 DEBUG (MainThread) [custom_components.tapo_control] Adding switch entities... 2024-07-16 13:29:23.708 DEBUG (MainThread) [custom_components.tapo_control] Setting up buttons 2024-07-16 13:29:23.708 DEBUG (MainThread) [custom_components.tapo_control] Tapo Reboot - init - start 2024-07-16 13:29:23.708 DEBUG (MainThread) [custom_components.tapo_control] Tapo Reboot - init - end 2024-07-16 13:29:23.708 DEBUG (MainThread) [custom_components.tapo_control] Tapo Format SD Card - init - start 2024-07-16 13:29:23.708 DEBUG (MainThread) [custom_components.tapo_control] Tapo Format SD Card - init - end 2024-07-16 13:29:23.709 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getAlarm, creating TapoStartManualAlarmButton 2024-07-16 13:29:23.709 DEBUG (MainThread) [custom_components.tapo_control] Tapo Manual Alarm Start - init - start 2024-07-16 13:29:23.709 DEBUG (MainThread) [custom_components.tapo_control] Tapo Manual Alarm Start - init - end 2024-07-16 13:29:23.709 DEBUG (MainThread) [custom_components.tapo_control] Adding tapoStartManualAlarmButton... 2024-07-16 13:29:23.709 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getAlarm, creating TapoStopManualAlarmButton 2024-07-16 13:29:23.709 DEBUG (MainThread) [custom_components.tapo_control] Tapo Manual Alarm Stop - init - start 2024-07-16 13:29:23.709 DEBUG (MainThread) [custom_components.tapo_control] Tapo Manual Alarm Stop - init - end 2024-07-16 13:29:23.709 DEBUG (MainThread) [custom_components.tapo_control] Adding tapoStopManualAlarmButton... 2024-07-16 13:29:23.709 DEBUG (MainThread) [custom_components.tapo_control] Tapo Sync Time - init - start 2024-07-16 13:29:23.709 DEBUG (MainThread) [custom_components.tapo_control] Tapo Sync Time - init - end 2024-07-16 13:29:23.709 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getPresets, creating TapoCalibrateButton 2024-07-16 13:29:23.709 DEBUG (MainThread) [custom_components.tapo_control] Tapo Calibrate - init - start 2024-07-16 13:29:23.709 DEBUG (MainThread) [custom_components.tapo_control] Tapo Calibrate - init - end 2024-07-16 13:29:23.710 DEBUG (MainThread) [custom_components.tapo_control] Tapo Move Up - init - start 2024-07-16 13:29:23.710 DEBUG (MainThread) [custom_components.tapo_control] Tapo Move Up - init - end 2024-07-16 13:29:23.710 DEBUG (MainThread) [custom_components.tapo_control] Tapo Move Down - init - start 2024-07-16 13:29:23.710 DEBUG (MainThread) [custom_components.tapo_control] Tapo Move Down - init - end 2024-07-16 13:29:23.710 DEBUG (MainThread) [custom_components.tapo_control] Tapo Move Right - init - start 2024-07-16 13:29:23.710 DEBUG (MainThread) [custom_components.tapo_control] Tapo Move Right - init - end 2024-07-16 13:29:23.710 DEBUG (MainThread) [custom_components.tapo_control] Tapo Move Left - init - start 2024-07-16 13:29:23.710 DEBUG (MainThread) [custom_components.tapo_control] Tapo Move Left - init - end 2024-07-16 13:29:23.718 DEBUG (SyncWorker_41) [custom_components.tapo_control] [pytapo] 200 2024-07-16 13:29:23.719 DEBUG (SyncWorker_41) [custom_components.tapo_control] [pytapo] {'error_code': 0, 'result': {'stok': 'REDACTED', 'user_group': 'root', 'start_seq': 218}} 2024-07-16 13:29:23.730 DEBUG (SyncWorker_41) [custom_components.tapo_control] [pytapo] Geneerating encryption tokens. 2024-07-16 13:29:23.730 DEBUG (SyncWorker_41) [custom_components.tapo_control] [pytapo] Saving stok. 2024-07-16 13:29:23.731 DEBUG (MainThread) [custom_components.tapo_control] Setting up light for floodlight 2024-07-16 13:29:23.731 DEBUG (MainThread) [custom_components.tapo_control] Capability getForceWhitelampState not found, querying again... 2024-07-16 13:29:23.738 DEBUG (SyncWorker_43) [custom_components.tapo_control] [pytapo] New request: 2024-07-16 13:29:23.738 DEBUG (SyncWorker_43) [custom_components.tapo_control] [pytapo] {'data': {'method': 'securePassthrough', 'params': {'request': 'IQ9qa14FSDScByHXCeTETySeuvvRxHNamWENUlYDYp1Gyg41Igylm5QCe5rMoUxjHkx2STNM66Q9shijbdXdioQ2SadUgilY+btnPv9ZYZpDYphirBeenpkFzRU02KZFrXA5AzcTLFo69xIj8h9+oBidfADDsTlBpyXOILjD0zs='}}, 'headers': {'Host': 'REDACTED', 'Referer': 'REDACTED', 'Accept': 'application/json', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Tapo CameraClient Android', 'Connection': 'close', 'requestByApp': 'true', 'Content-Type': 'application/json; charset=UTF-8', 'Seq': '936', 'Tapo_tag': 'REDACTED'}, 'verify': False} 2024-07-16 13:29:23.743 DEBUG (MainThread) [custom_components.tapo_control] Setting up number for movement angle 2024-07-16 13:29:23.743 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getPresets, creating TapoMovementAngle 2024-07-16 13:29:23.743 DEBUG (MainThread) [custom_components.tapo_control] TapoMovementAngle - init - start 2024-07-16 13:29:23.744 DEBUG (MainThread) [custom_components.tapo_control] TapoMovementAngle - init - end 2024-07-16 13:29:23.744 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoMovementAngle... 2024-07-16 13:29:23.744 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getMotionDetection, creating TapoMotionDetectionDigitalSensitivity 2024-07-16 13:29:23.744 DEBUG (MainThread) [custom_components.tapo_control] TapoMotionDetectionDigitalSensitivity - init - start 2024-07-16 13:29:23.744 DEBUG (MainThread) [custom_components.tapo_control] Tapo Motion Detection - Digital Sensitivity - init - start 2024-07-16 13:29:23.744 DEBUG (MainThread) [custom_components.tapo_control] Tapo Motion Detection - Digital Sensitivity - init - append 2024-07-16 13:29:23.744 DEBUG (MainThread) [custom_components.tapo_control] Tapo Motion Detection - Digital Sensitivity - init - update 2024-07-16 13:29:23.744 DEBUG (MainThread) [custom_components.tapo_control] Tapo Motion Detection - Digital Sensitivity - init - TapoEntity 2024-07-16 13:29:23.744 DEBUG (MainThread) [custom_components.tapo_control] Tapo Motion Detection - Digital Sensitivity - init - NumberEntity 2024-07-16 13:29:23.744 DEBUG (MainThread) [custom_components.tapo_control] Tapo Motion Detection - Digital Sensitivity - init - end 2024-07-16 13:29:23.744 DEBUG (MainThread) [custom_components.tapo_control] Adding tapoMotionDetectionDigitalSensitivity... 2024-07-16 13:29:23.744 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getAudioConfig, creating TapoMicrophoneVolume 2024-07-16 13:29:23.744 DEBUG (MainThread) [custom_components.tapo_control] TapoMicrophoneVolume - init - start 2024-07-16 13:29:23.744 DEBUG (MainThread) [custom_components.tapo_control] Tapo Microphone - Volume - init - start 2024-07-16 13:29:23.745 DEBUG (MainThread) [custom_components.tapo_control] Tapo Microphone - Volume - init - append 2024-07-16 13:29:23.745 DEBUG (MainThread) [custom_components.tapo_control] Tapo Microphone - Volume - init - update 2024-07-16 13:29:23.745 DEBUG (MainThread) [custom_components.tapo_control] Tapo Microphone - Volume - init - TapoEntity 2024-07-16 13:29:23.745 DEBUG (MainThread) [custom_components.tapo_control] Tapo Microphone - Volume - init - NumberEntity 2024-07-16 13:29:23.745 DEBUG (MainThread) [custom_components.tapo_control] Tapo Microphone - Volume - init - end 2024-07-16 13:29:23.745 DEBUG (MainThread) [custom_components.tapo_control] Adding tapoMicrophoneVolume... 2024-07-16 13:29:23.745 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getAudioConfig, creating TapoSpeakerVolume 2024-07-16 13:29:23.745 DEBUG (MainThread) [custom_components.tapo_control] TapoSpeakerVolume - init - start 2024-07-16 13:29:23.745 DEBUG (MainThread) [custom_components.tapo_control] Tapo Speaker - Volume - init - start 2024-07-16 13:29:23.745 DEBUG (MainThread) [custom_components.tapo_control] Tapo Speaker - Volume - init - append 2024-07-16 13:29:23.745 DEBUG (MainThread) [custom_components.tapo_control] Tapo Speaker - Volume - init - update 2024-07-16 13:29:23.745 DEBUG (MainThread) [custom_components.tapo_control] Tapo Speaker - Volume - init - TapoEntity 2024-07-16 13:29:23.745 DEBUG (MainThread) [custom_components.tapo_control] Tapo Speaker - Volume - init - NumberEntity 2024-07-16 13:29:23.745 DEBUG (MainThread) [custom_components.tapo_control] Tapo Speaker - Volume - init - end 2024-07-16 13:29:23.745 DEBUG (MainThread) [custom_components.tapo_control] Adding tapoSpeakerVolume... 2024-07-16 13:29:23.761 DEBUG (MainThread) [custom_components.tapo_control] Setting up selects 2024-07-16 13:29:23.761 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getDayNightMode, creating TapoNightVisionSelect 2024-07-16 13:29:23.761 DEBUG (MainThread) [custom_components.tapo_control] Tapo Night Vision - init - start 2024-07-16 13:29:23.761 DEBUG (MainThread) [custom_components.tapo_control] Tapo Night Vision - init - append 2024-07-16 13:29:23.762 DEBUG (MainThread) [custom_components.tapo_control] Tapo Night Vision - init - update 2024-07-16 13:29:23.762 DEBUG (MainThread) [custom_components.tapo_control] Tapo Night Vision - init - TapoEntity 2024-07-16 13:29:23.763 DEBUG (MainThread) [custom_components.tapo_control] Tapo Night Vision - init - SelectEntity 2024-07-16 13:29:23.763 DEBUG (MainThread) [custom_components.tapo_control] Tapo Night Vision - init - end 2024-07-16 13:29:23.763 DEBUG (MainThread) [custom_components.tapo_control] Adding tapoNightVisionSelect... 2024-07-16 13:29:23.763 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getLightFrequencyMode, creating TapoLightFrequencySelect 2024-07-16 13:29:23.763 DEBUG (MainThread) [custom_components.tapo_control] Tapo Light Frequency - init - start 2024-07-16 13:29:23.763 DEBUG (MainThread) [custom_components.tapo_control] Tapo Light Frequency - init - append 2024-07-16 13:29:23.763 DEBUG (MainThread) [custom_components.tapo_control] Tapo Light Frequency - init - update 2024-07-16 13:29:23.763 DEBUG (MainThread) [custom_components.tapo_control] Tapo Light Frequency - init - TapoEntity 2024-07-16 13:29:23.763 DEBUG (MainThread) [custom_components.tapo_control] Tapo Light Frequency - init - SelectEntity 2024-07-16 13:29:23.763 DEBUG (MainThread) [custom_components.tapo_control] Tapo Light Frequency - init - end 2024-07-16 13:29:23.763 DEBUG (MainThread) [custom_components.tapo_control] Adding tapoLightFrequencySelect... 2024-07-16 13:29:23.763 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getAlarm, creating TapoAutomaticAlarmModeSelect 2024-07-16 13:29:23.764 DEBUG (MainThread) [custom_components.tapo_control] Tapo Automatic Alarm - init - start 2024-07-16 13:29:23.764 DEBUG (MainThread) [custom_components.tapo_control] Tapo Automatic Alarm - init - append 2024-07-16 13:29:23.764 DEBUG (MainThread) [custom_components.tapo_control] Tapo Automatic Alarm - init - update 2024-07-16 13:29:23.764 DEBUG (MainThread) [custom_components.tapo_control] Tapo Automatic Alarm - init - TapoEntity 2024-07-16 13:29:23.764 DEBUG (MainThread) [custom_components.tapo_control] Tapo Automatic Alarm - init - SelectEntity 2024-07-16 13:29:23.764 DEBUG (MainThread) [custom_components.tapo_control] Tapo Automatic Alarm - init - end 2024-07-16 13:29:23.764 DEBUG (MainThread) [custom_components.tapo_control] Adding tapoAutomaticAlarmModeSelect... 2024-07-16 13:29:23.764 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getMotionDetection, creating TapoMotionDetectionSelect 2024-07-16 13:29:23.764 DEBUG (MainThread) [custom_components.tapo_control] Tapo Motion Detection - init - start 2024-07-16 13:29:23.764 DEBUG (MainThread) [custom_components.tapo_control] Tapo Motion Detection - init - append 2024-07-16 13:29:23.764 DEBUG (MainThread) [custom_components.tapo_control] Tapo Motion Detection - init - update 2024-07-16 13:29:23.764 DEBUG (MainThread) [custom_components.tapo_control] TapoMotionDetectionSelect updateTapo 1 2024-07-16 13:29:23.764 DEBUG (MainThread) [custom_components.tapo_control] TapoMotionDetectionSelect updateTapo 3 2024-07-16 13:29:23.764 DEBUG (MainThread) [custom_components.tapo_control] TapoMotionDetectionSelect updateTapo 5 2024-07-16 13:29:23.764 DEBUG (MainThread) [custom_components.tapo_control] TapoMotionDetectionSelect updateTapo 6 2024-07-16 13:29:23.764 DEBUG (MainThread) [custom_components.tapo_control] Updating TapoMotionDetectionSelect to: normal 2024-07-16 13:29:23.765 DEBUG (MainThread) [custom_components.tapo_control] Tapo Motion Detection - init - TapoEntity 2024-07-16 13:29:23.765 DEBUG (MainThread) [custom_components.tapo_control] Tapo Motion Detection - init - SelectEntity 2024-07-16 13:29:23.765 DEBUG (MainThread) [custom_components.tapo_control] Tapo Motion Detection - init - end 2024-07-16 13:29:23.765 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoMotionDetectionSelect... 2024-07-16 13:29:23.765 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getPersonDetection, creating TapoPersonDetectionSelect 2024-07-16 13:29:23.765 DEBUG (MainThread) [custom_components.tapo_control] Tapo Person Detection - init - start 2024-07-16 13:29:23.765 DEBUG (MainThread) [custom_components.tapo_control] Tapo Person Detection - init - append 2024-07-16 13:29:23.765 DEBUG (MainThread) [custom_components.tapo_control] Tapo Person Detection - init - update 2024-07-16 13:29:23.765 DEBUG (MainThread) [custom_components.tapo_control] TapoPersonDetectionSelect updateTapo 1 2024-07-16 13:29:23.765 DEBUG (MainThread) [custom_components.tapo_control] TapoPersonDetectionSelect updateTapo 3 2024-07-16 13:29:23.765 DEBUG (MainThread) [custom_components.tapo_control] TapoPersonDetectionSelect updateTapo 5 2024-07-16 13:29:23.765 DEBUG (MainThread) [custom_components.tapo_control] TapoPersonDetectionSelect updateTapo 6 2024-07-16 13:29:23.765 DEBUG (MainThread) [custom_components.tapo_control] Updating TapoPersonDetectionSelect to: None 2024-07-16 13:29:23.765 DEBUG (MainThread) [custom_components.tapo_control] Tapo Person Detection - init - TapoEntity 2024-07-16 13:29:23.765 DEBUG (MainThread) [custom_components.tapo_control] Tapo Person Detection - init - SelectEntity 2024-07-16 13:29:23.765 DEBUG (MainThread) [custom_components.tapo_control] Tapo Person Detection - init - end 2024-07-16 13:29:23.766 DEBUG (MainThread) [custom_components.tapo_control] Adding tapoPersonDetectionSelect... 2024-07-16 13:29:23.766 DEBUG (MainThread) [custom_components.tapo_control] Capability getVehicleDetection not found, querying again... 2024-07-16 13:29:23.769 DEBUG (SyncWorker_41) [custom_components.tapo_control] [pytapo] New request: 2024-07-16 13:29:23.769 DEBUG (SyncWorker_41) [custom_components.tapo_control] [pytapo] {'data': {'method': 'securePassthrough', 'params': {'request': 'z3iL43teC7B+C9PRW84AhqoVc3vcoW6Ppq71GLWP9sDszj3Rph77pyqhLnPgcJsjlQ9fg0SZdXRytGcb8Nak+FuZ9D/p6z4qBgk9r2fAFV2uGZM5rrB5BHeTlM0tVePScLbHcaOp5HPmrJipyVzRySKpJ3UIsbvL+AO1CvEfZaWV6y52FuTsIuhnivBHL8OC'}}, 'headers': {'Host': 'REDACTED', 'Referer': 'REDACTED', 'Accept': 'application/json', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Tapo CameraClient Android', 'Connection': 'close', 'requestByApp': 'true', 'Content-Type': 'application/json; charset=UTF-8', 'Seq': '218', 'Tapo_tag': 'REDACTED'}, 'verify': False} 2024-07-16 13:29:23.777 DEBUG (MainThread) [custom_components.tapo_control] Setting up sirens 2024-07-16 13:29:23.777 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getAlarm, creating TapoSiren 2024-07-16 13:29:23.777 DEBUG (MainThread) [custom_components.tapo_control] Tapo Siren - init - start 2024-07-16 13:29:23.777 DEBUG (MainThread) [custom_components.tapo_control] Tapo Siren - init - end 2024-07-16 13:29:23.777 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoSirenEntity... 2024-07-16 13:29:23.794 DEBUG (SyncWorker_63) [custom_components.tapo_control] [pytapo] New request: 2024-07-16 13:29:23.794 DEBUG (SyncWorker_63) [custom_components.tapo_control] [pytapo] {'data': {'method': 'securePassthrough', 'params': {'request': 'IQ9qa14FSDScByHXCeTETySeuvvRxHNamWENUlYDYp1Gyg41Igylm5QCe5rMoUxjHkx2STNM66Q9shijbdXdivTaPhnoQ2plC1yUuxWL0aQiQkAOs9cEp3QIcws3CeEORhUjqkB0ab3cuVBtbFtA6cxZr37eWGWqXkGnREkQf7EX+8rEZB1TJCBhHSm7OTSsecyrtqQhKZd2wncHAUVUCQ=='}}, 'headers': {'Host': 'REDACTED', 'Referer': 'REDACTED', 'Accept': 'application/json', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Tapo CameraClient Android', 'Connection': 'close', 'requestByApp': 'true', 'Content-Type': 'application/json; charset=UTF-8', 'Seq': '937', 'Tapo_tag': 'REDACTED'}, 'verify': False} 2024-07-16 13:29:23.798 DEBUG (MainThread) [custom_components.tapo_control] Tapo Update - init - start 2024-07-16 13:29:23.798 DEBUG (MainThread) [custom_components.tapo_control] Tapo Update - init - end 2024-07-16 13:29:23.812 DEBUG (MainThread) [custom_components.tapo_control] Setting up binary sensor for motion. 2024-07-16 13:29:23.813 DEBUG (MainThread) [custom_components.tapo_control] EventsListener init 2024-07-16 13:29:23.813 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoNoiseBinarySensor... 2024-07-16 13:29:23.813 DEBUG (MainThread) [custom_components.tapo_control] TapoNoiseBinarySensor - init - start 2024-07-16 13:29:23.813 DEBUG (MainThread) [custom_components.tapo_control] Tapo Noise - init - start 2024-07-16 13:29:23.813 DEBUG (MainThread) [custom_components.tapo_control] Tapo Noise - init - end 2024-07-16 13:29:23.813 DEBUG (MainThread) [custom_components.tapo_control] TapoNoiseBinarySensor - init - end 2024-07-16 13:29:23.825 DEBUG (MainThread) [custom_components.tapo_control] Setting up sensors 2024-07-16 13:29:23.825 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoSSIDSensor... 2024-07-16 13:29:23.826 DEBUG (MainThread) [custom_components.tapo_control] Tapo Network SSID - init - start 2024-07-16 13:29:23.826 DEBUG (MainThread) [custom_components.tapo_control] Tapo Network SSID - init - end 2024-07-16 13:29:23.826 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoLinkTypeSensor... 2024-07-16 13:29:23.826 DEBUG (MainThread) [custom_components.tapo_control] Tapo Link Type - init - start 2024-07-16 13:29:23.826 DEBUG (MainThread) [custom_components.tapo_control] Tapo Link Type - init - end 2024-07-16 13:29:23.826 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoRSSISensor... 2024-07-16 13:29:23.826 DEBUG (MainThread) [custom_components.tapo_control] Tapo RSSI - init - start 2024-07-16 13:29:23.826 DEBUG (MainThread) [custom_components.tapo_control] Tapo RSSI - init - end 2024-07-16 13:29:23.826 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoHDDSensor for disk 1 and property disk_name... 2024-07-16 13:29:23.826 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 disk_name - init - start 2024-07-16 13:29:23.826 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 disk_name - init - end 2024-07-16 13:29:23.826 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoHDDSensor for disk 1 and property rw_attr... 2024-07-16 13:29:23.826 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 rw_attr - init - start 2024-07-16 13:29:23.826 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 rw_attr - init - end 2024-07-16 13:29:23.827 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoHDDSensor for disk 1 and property status... 2024-07-16 13:29:23.827 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 status - init - start 2024-07-16 13:29:23.827 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 status - init - end 2024-07-16 13:29:23.827 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoHDDSensor for disk 1 and property detect_status... 2024-07-16 13:29:23.827 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 detect_status - init - start 2024-07-16 13:29:23.827 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 detect_status - init - end 2024-07-16 13:29:23.827 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoHDDSensor for disk 1 and property write_protect... 2024-07-16 13:29:23.827 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 write_protect - init - start 2024-07-16 13:29:23.827 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 write_protect - init - end 2024-07-16 13:29:23.827 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoHDDSensor for disk 1 and property percent... 2024-07-16 13:29:23.827 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 percent - init - start 2024-07-16 13:29:23.827 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 percent - init - end 2024-07-16 13:29:23.827 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoHDDSensor for disk 1 and property type... 2024-07-16 13:29:23.827 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 type - init - start 2024-07-16 13:29:23.827 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 type - init - end 2024-07-16 13:29:23.827 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoHDDSensor for disk 1 and property record_duration... 2024-07-16 13:29:23.828 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 record_duration - init - start 2024-07-16 13:29:23.828 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 record_duration - init - end 2024-07-16 13:29:23.828 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoHDDSensor for disk 1 and property record_free_duration... 2024-07-16 13:29:23.828 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 record_free_duration - init - start 2024-07-16 13:29:23.828 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 record_free_duration - init - end 2024-07-16 13:29:23.828 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoHDDSensor for disk 1 and property record_start_time... 2024-07-16 13:29:23.828 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 record_start_time - init - start 2024-07-16 13:29:23.828 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 record_start_time - init - end 2024-07-16 13:29:23.828 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoHDDSensor for disk 1 and property loop_record_status... 2024-07-16 13:29:23.828 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 loop_record_status - init - start 2024-07-16 13:29:23.828 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 loop_record_status - init - end 2024-07-16 13:29:23.828 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoHDDSensor for disk 1 and property total_space... 2024-07-16 13:29:23.833 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 total_space - init - start 2024-07-16 13:29:23.833 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 total_space - init - end 2024-07-16 13:29:23.833 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoHDDSensor for disk 1 and property free_space... 2024-07-16 13:29:23.833 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 free_space - init - start 2024-07-16 13:29:23.833 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 free_space - init - end 2024-07-16 13:29:23.833 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoHDDSensor for disk 1 and property video_total_space... 2024-07-16 13:29:23.833 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 video_total_space - init - start 2024-07-16 13:29:23.833 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 video_total_space - init - end 2024-07-16 13:29:23.833 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoHDDSensor for disk 1 and property video_free_space... 2024-07-16 13:29:23.834 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 video_free_space - init - start 2024-07-16 13:29:23.834 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 video_free_space - init - end 2024-07-16 13:29:23.834 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoHDDSensor for disk 1 and property picture_total_space... 2024-07-16 13:29:23.834 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 picture_total_space - init - start 2024-07-16 13:29:23.834 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 picture_total_space - init - end 2024-07-16 13:29:23.834 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoHDDSensor for disk 1 and property picture_free_space... 2024-07-16 13:29:23.834 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 picture_free_space - init - start 2024-07-16 13:29:23.834 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 picture_free_space - init - end 2024-07-16 13:29:23.834 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoHDDSensor for disk 1 and property msg_push_total_space... 2024-07-16 13:29:23.834 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 msg_push_total_space - init - start 2024-07-16 13:29:23.834 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 msg_push_total_space - init - end 2024-07-16 13:29:23.834 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoHDDSensor for disk 1 and property msg_push_free_space... 2024-07-16 13:29:23.834 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 msg_push_free_space - init - start 2024-07-16 13:29:23.834 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 msg_push_free_space - init - end 2024-07-16 13:29:23.834 DEBUG (MainThread) [custom_components.tapo_control] Tapo Recordings Synchronization - init - start 2024-07-16 13:29:23.835 DEBUG (MainThread) [custom_components.tapo_control] Tapo Recordings Synchronization - init - end 2024-07-16 13:29:23.860 DEBUG (SyncWorker_7) [custom_components.tapo_control] [pytapo] New request: 2024-07-16 13:29:23.860 DEBUG (SyncWorker_7) [custom_components.tapo_control] [pytapo] {'data': {'method': 'securePassthrough', 'params': {'request': 'IQ9qa14FSDScByHXCeTETySeuvvRxHNamWENUlYDYp1Gyg41Igylm5QCe5rMoUxjHkx2STNM66Q9shijbdXditMR8I03Ew3XGXQxWymjab5NB+8/DeROIPHLYrgfjC2yDnCoZ4bPnlvNcXQZYZiUjw6hL8NDafoO8sD5hIb/gpH4cQQ9TihNor7vzQoy4UwJ'}}, 'headers': {'Host': 'REDACTED', 'Referer': 'REDACTED', 'Accept': 'application/json', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Tapo CameraClient Android', 'Connection': 'close', 'requestByApp': 'true', 'Content-Type': 'application/json; charset=UTF-8', 'Seq': '938', 'Tapo_tag': 'REDACTED'}, 'verify': False} 2024-07-16 13:29:24.086 DEBUG (SyncWorker_41) [custom_components.tapo_control] [pytapo] 200 2024-07-16 13:29:24.215 DEBUG (SyncWorker_63) [custom_components.tapo_control] [pytapo] 200 2024-07-16 13:29:24.215 DEBUG (SyncWorker_63) [custom_components.tapo_control] [pytapo] {'error_code': 0, 'seq': 937, 'result': {'response': 'C+XSIX+pLHRaGAqgh7fuhRzw5ZObdEVOgLdoAw5iulJdP4BpM6EYyMqPOEv3tOfp2YHPFDX3R+gU/lI7nCIGt0OgKXE1hHF4P1YknOEjxP2T26L18xC7EAe170isE22VN4bGaKUqIddDqgS61PNSOT5oNQx4LS0IpFXU5GfeuIziJUzLMmUpKrLBZ4iUNJPF'}} 2024-07-16 13:29:24.219 INFO (MainThread) [custom_components.tapo_control] Camera does not support TapoVehicleDetectionSelect 2024-07-16 13:29:24.219 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getBabyCryDetection, creating TapoBabyCryDetectionSelect 2024-07-16 13:29:24.219 DEBUG (MainThread) [custom_components.tapo_control] Tapo Baby Cry Detection - init - start 2024-07-16 13:29:24.219 DEBUG (MainThread) [custom_components.tapo_control] Tapo Baby Cry Detection - init - append 2024-07-16 13:29:24.219 DEBUG (MainThread) [custom_components.tapo_control] Tapo Baby Cry Detection - init - update 2024-07-16 13:29:24.219 DEBUG (MainThread) [custom_components.tapo_control] TapoBabyCryDetectionSelect updateTapo 1 2024-07-16 13:29:24.220 DEBUG (MainThread) [custom_components.tapo_control] TapoBabyCryDetectionSelect updateTapo 3 2024-07-16 13:29:24.220 DEBUG (MainThread) [custom_components.tapo_control] TapoBabyCryDetectionSelect updateTapo 4 2024-07-16 13:29:24.220 DEBUG (MainThread) [custom_components.tapo_control] TapoBabyCryDetectionSelect updateTapo 6 2024-07-16 13:29:24.220 DEBUG (MainThread) [custom_components.tapo_control] Updating TapoBabyCryDetectionSelect to: off 2024-07-16 13:29:24.220 DEBUG (MainThread) [custom_components.tapo_control] Tapo Baby Cry Detection - init - TapoEntity 2024-07-16 13:29:24.221 DEBUG (MainThread) [custom_components.tapo_control] Tapo Baby Cry Detection - init - SelectEntity 2024-07-16 13:29:24.221 DEBUG (MainThread) [custom_components.tapo_control] Tapo Baby Cry Detection - init - end 2024-07-16 13:29:24.221 DEBUG (MainThread) [custom_components.tapo_control] Adding tapoBabyCryDetectionSelect... 2024-07-16 13:29:24.221 DEBUG (MainThread) [custom_components.tapo_control] Capability getPetDetection not found, querying again... 2024-07-16 13:29:24.226 DEBUG (SyncWorker_7) [custom_components.tapo_control] [pytapo] 200 2024-07-16 13:29:24.226 DEBUG (SyncWorker_7) [custom_components.tapo_control] [pytapo] {'error_code': 0, 'seq': 938, 'result': {'response': 'C+XSIX+pLHRaGAqgh7fuhRzw5ZObdEVOgLdoAw5iulJONfJtnRRK8C3FUUQSFawlJs0ryV/FMAwNBriX2ycwsyNyIb4MTrWT8jdOMUo8yMEmP8lRgNLPeKDc6+Mac+euGLLg1kZbkhUYspVkSbgneGK5irKZYqWVA+KPWlE5+RLXfi1PjGTberdH7ZXziMw17gsbEDd/+WisG8JFH4FiVxYyy4CVjVyfMEoqrjgzf5+1uXu6M/b+7K5oXTdDQSveS/ei+vasZUQU5PzMAzABhL9n4nWyhEgJUHOAKgQT2r0='}} 2024-07-16 13:29:24.227 DEBUG (SyncWorker_43) [custom_components.tapo_control] [pytapo] 200 2024-07-16 13:29:24.227 DEBUG (SyncWorker_43) [custom_components.tapo_control] [pytapo] {'error_code': 0, 'seq': 936, 'result': {'response': 'C+XSIX+pLHRaGAqgh7fuhRzw5ZObdEVOgLdoAw5iulLUkoPfuNBzy7PeGW4jefArv18CSg8k9oTu3aEVUmtN2iw4F8WALZUJ2I/mLMuoDyHwTCMI8UPlK7sO1dju31X/AgARzKeFhVU/6a6zgrCSei18dnbYVs9yqiYg9O1Ootz0pG924oGHU7PTNLItUPNOAyM97yaN//ATGr/Fyaz6CZLsWDrO4BBAG+/qW87a2sGomTPt3ovHvyeQkrmy84RfGl19vaSoi3cwPG5tWXJWcnZo3doQfaBK97KzcUFvBwTvV7BE6CjnDm/C2GbB8Vm8pu4twMeBSbDECQkDQX9zt74qqmHW/oYHFrTN3DbWTLoJUeWWm/1HMZOwogHaKnRm0p6fVaoz0MqA2bp3XmEGCjYZOw+9jdoUOTii83f+zqYorCcNvF0PZ1pYiNJ9HK1OHKt2RsZCMmtg0WTASjxoJVhbzcWo0bbHqO5lapmX+w1yWR0Sexu86/vI4KdAawy7yU15+T8NFZgL4V+sYfzBhg=='}} 2024-07-16 13:29:24.228 DEBUG (SyncWorker_28) [custom_components.tapo_control] [pytapo] New request: 2024-07-16 13:29:24.228 DEBUG (SyncWorker_28) [custom_components.tapo_control] [pytapo] {'data': {'method': 'securePassthrough', 'params': {'request': 'IQ9qa14FSDScByHXCeTETySeuvvRxHNamWENUlYDYp1Gyg41Igylm5QCe5rMoUxjHkx2STNM66Q9shijbdXdimFzleH1N02RBpuPfbUjuHBZ+tzI96NoOCwDhhGh8zD0zDe2sqqK8Op7eq99in987/YqaTfUrg6XQcLL9WCuTQJh5Qnl9Ttjsrobm2IKnGh2nzsSFhjf8zFULJlOy43PlA=='}}, 'headers': {'Host': 'REDACTED', 'Referer': 'REDACTED', 'Accept': 'application/json', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Tapo CameraClient Android', 'Connection': 'close', 'requestByApp': 'true', 'Content-Type': 'application/json; charset=UTF-8', 'Seq': '939', 'Tapo_tag': 'REDACTED'}, 'verify': False} 2024-07-16 13:29:24.246 INFO (MainThread) [custom_components.tapo_control] Camera does not support TapoFloodlight 2024-07-16 13:29:24.247 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getWhitelampStatus, creating TapoWhitelight 2024-07-16 13:29:24.247 DEBUG (MainThread) [custom_components.tapo_control] TapoWhitelight - init - start 2024-07-16 13:29:24.247 DEBUG (MainThread) [custom_components.tapo_control] Tapo Floodlight (Timed) - init - start 2024-07-16 13:29:24.247 DEBUG (MainThread) [custom_components.tapo_control] Tapo Floodlight (Timed) - init - append 2024-07-16 13:29:24.247 DEBUG (MainThread) [custom_components.tapo_control] Tapo Floodlight (Timed) - init - update 2024-07-16 13:29:24.247 DEBUG (MainThread) [custom_components.tapo_control] Updating light state. 2024-07-16 13:29:24.247 DEBUG (MainThread) [custom_components.tapo_control] Tapo Floodlight (Timed) - init - TapoEntity 2024-07-16 13:29:24.247 DEBUG (MainThread) [custom_components.tapo_control] Tapo Floodlight (Timed) - init - SelectEntity 2024-07-16 13:29:24.247 DEBUG (MainThread) [custom_components.tapo_control] Tapo Floodlight (Timed) - init - end 2024-07-16 13:29:24.247 DEBUG (MainThread) [custom_components.tapo_control] TapoWhitelight - init - end 2024-07-16 13:29:24.247 DEBUG (MainThread) [custom_components.tapo_control] Adding tapoWhitelightSwitch... 2024-07-16 13:29:24.275 DEBUG (SyncWorker_41) [custom_components.tapo_control] [pytapo] 200 2024-07-16 13:29:24.275 DEBUG (SyncWorker_41) [custom_components.tapo_control] [pytapo] {'error_code': 0, 'seq': 219, 'result': {'response': 'nsVXnV7Js5TCYbZcJI9lhgx/PdmwXjsnEGBswlSFM41OVrErqXCmcH6yECyXNutWFO3H5p8gadpZ3wrPGfSM+wouBMF8WV5th0Cfq5ZJynNd14qvh6hLqyaX6jNZ7qlDqEqVbrR5g8y51T/a275ueds5wpDBpX91D/xqNjHzXPIWVDAvOddxmh+CZvnxTvGYfV3rigEIERgNKE6fBZ3pBkelQWOd39CyfpjqvDtpT3eIaZF1aDc3Qk8woJCgYuygt7i1sFdFi11l+1B4WSd3mne7Uj729mcZqKgj1OaME2tHqtPk/NooFHezl7z2YUM/FlbXqMc8BROmGivQ7E/bUkpC8C2wUyW8KgpZRHdrg9bEsAPH4KfflYWg8rd6nqTGXKWCmoYemwMBSLMqh5oCd0FxzMIlwIBMDotveVVNjGCLf2yfp6ACXGAqlaC4a361d/EfxTIZDJ890XoOS6gGKOArXrbugPhVeZ+japqR6bZbd3+0OsVHVl3T4XfY+1V07mK1sWCeMi6hLEJY3nQcY5jDOmEWoyR0Fbh2ip+FgRTlFszjAni8IelA4TrGKVJQSmngooYp8V2j+ovDkZvEeQ=='}} 2024-07-16 13:29:24.286 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration tapo_control with title: 192.168.1.124 and entry_id: c843380fb4a30997f2e1711ea5939bf2, during setup without awaiting async_forward_entry_setup, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1. Please report this issue. Stack (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/usr/src/homeassistant/homeassistant/main.py", line 223, in sys.exit(main()) File "/usr/src/homeassistant/homeassistant/main.py", line 209, in main exit_code = runner.run(runtime_conf) File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run return loop.run_until_complete(setup_and_run_hass(runtime_config)) File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete self.run_forever() File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever self._run_once() File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once handle._run() File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run self._context.run(self._callback, *self._args) File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2122, in async_forward_entry_setup _report_non_awaited_platform_forwards(entry, "async_forward_entry_setup") File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1175, in _report_non_awaited_platform_forwards report( File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 151, in report _LOGGER.warning(msg, stack_info=True) 2024-07-16 13:29:24.287 DEBUG (MainThread) [custom_components.tapo_control] getCamData 2024-07-16 13:29:24.294 DEBUG (SyncWorker_61) [custom_components.tapo_control] [pytapo] New request: 2024-07-16 13:29:24.572 DEBUG (SyncWorker_22) [custom_components.tapo_control] [pytapo] New request: 2024-07-16 13:29:24.572 DEBUG (SyncWorker_22) [custom_components.tapo_control] [pytapo] {'data': {'method': 'securePassthrough', 'params': {'request': 'z3iL43teC7B+C9PRW84AhqoVc3vcoW6Ppq71GLWP9sDszj3Rph77pyqhLnPgcJsjlQ9fg0SZdXRytGcb8Nak+Fv/Gmmj6pqjnvJnG2iUIbjMzaGNBHz/hWH/QuED8JP0q9PJ6MyUH2MWEaK99S7fbUTosTN9YQuG1CAzUYeoOKVR8v2Fr0APmUQgth8a6EwF'}}, 'headers': {'Host': 'REDACTED', 'Referer': 'REDACTED', 'Accept': 'application/json', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Tapo CameraClient Android', 'Connection': 'close', 'requestByApp': 'true', 'Content-Type': 'application/json; charset=UTF-8', 'Seq': '221', 'Tapo_tag': 'REDACTED'}, 'verify': False} 2024-07-16 13:29:24.644 DEBUG (SyncWorker_59) [custom_components.tapo_control] [pytapo] 200 2024-07-16 13:29:24.645 DEBUG (SyncWorker_59) [custom_components.tapo_control] [pytapo] {'error_code': 0, 'seq': 940, 'result': {'response': 'C+XSIX+pLHRaGAqgh7fuhRzw5ZObdEVOgLdoAw5iulJrWoMPB92QQ3dXo/kN2Hf/ZNTiutjmCcxKms/7Dz1+utCn3v5aeMluqyxbTYQiKjhczDf6ygg7KCKX2R5HY0I9QWQnLJWm0+DveXvtrUPhgIkCRPHI5pGL3RnWOC23Nzc='}} 2024-07-16 13:29:24.647 INFO (MainThread) [custom_components.tapo_control] Camera does not support TapoBarkDetectionSelect 2024-07-16 13:29:24.648 DEBUG (MainThread) [custom_components.tapo_control] Capability getMeowDetection not found, querying again... 2024-07-16 13:29:24.652 DEBUG (SyncWorker_39) [custom_components.tapo_control] [pytapo] New request: 2024-07-16 13:29:24.652 DEBUG (SyncWorker_39) [custom_components.tapo_control] [pytapo] {'data': {'method': 'securePassthrough', 'params': {'request': 'IQ9qa14FSDScByHXCeTETySeuvvRxHNamWENUlYDYp1Gyg41Igylm5QCe5rMoUxjHkx2STNM66Q9shijbdXdiniN8b+3VcTnDuFR+9xInPgIknvGP+v6u4aHltmzX++ieQFMtGaltsVN9D0FLJd4nAnbTX2SIRVIlim+B/9DaxGN9d6exHnByFRJgfFBZ77mOkx/lC8mOqfoOFCTEuXDww=='}}, 'headers': {'Host': 'REDACTED', 'Referer': 'REDACTED', 'Accept': 'application/json', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Tapo CameraClient Android', 'Connection': 'close', 'requestByApp': 'true', 'Content-Type': 'application/json; charset=UTF-8', 'Seq': '941', 'Tapo_tag': 'REDACTED'}, 'verify': False} 2024-07-16 13:29:24.771 DEBUG (SyncWorker_22) [custom_components.tapo_control] [pytapo] 200 2024-07-16 13:29:24.796 DEBUG (MainThread) [custom_components.tapo_control] Setting up switches 2024-07-16 13:29:24.796 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getPrivacyMode, creating TapoPrivacySwitch 2024-07-16 13:29:24.796 DEBUG (MainThread) [custom_components.tapo_control] Tapo Privacy - init - start 2024-07-16 13:29:24.796 DEBUG (MainThread) [custom_components.tapo_control] Updating TapoPrivacySwitch to: off 2024-07-16 13:29:24.796 DEBUG (MainThread) [custom_components.tapo_control] Tapo Privacy - init - end 2024-07-16 13:29:24.796 DEBUG (MainThread) [custom_components.tapo_control] Adding tapoPrivacySwitch... 2024-07-16 13:29:24.796 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getLensDistortionCorrection, creating TapoLensDistortionCorrectionSwitch 2024-07-16 13:29:24.796 DEBUG (MainThread) [custom_components.tapo_control] Tapo Lens Distortion Correction - init - start 2024-07-16 13:29:24.797 DEBUG (MainThread) [custom_components.tapo_control] Tapo Lens Distortion Correction - init - end 2024-07-16 13:29:24.797 DEBUG (MainThread) [custom_components.tapo_control] Adding tapoLensDistortionCorrectionSwitch... 2024-07-16 13:29:24.797 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getLED, creating TapoIndicatorLedSwitch 2024-07-16 13:29:24.797 DEBUG (MainThread) [custom_components.tapo_control] Tapo Indicator LED - init - start 2024-07-16 13:29:24.797 DEBUG (MainThread) [custom_components.tapo_control] Tapo Indicator LED - init - end 2024-07-16 13:29:24.797 DEBUG (MainThread) [custom_components.tapo_control] Adding tapoIndicatorLedSwitch... 2024-07-16 13:29:24.797 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getImageFlipVertical, creating TapoFlipSwitch 2024-07-16 13:29:24.797 DEBUG (MainThread) [custom_components.tapo_control] Tapo Flip - init - start 2024-07-16 13:29:24.797 DEBUG (MainThread) [custom_components.tapo_control] Tapo Flip - init - end 2024-07-16 13:29:24.797 DEBUG (MainThread) [custom_components.tapo_control] Adding tapoFlipSwitch... 2024-07-16 13:29:24.797 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getAutoTrackTarget, creating TapoAutoTrackSwitch 2024-07-16 13:29:24.797 DEBUG (MainThread) [custom_components.tapo_control] Tapo Auto Track - init - start 2024-07-16 13:29:24.797 DEBUG (MainThread) [custom_components.tapo_control] Tapo Auto Track - init - end 2024-07-16 13:29:24.797 DEBUG (MainThread) [custom_components.tapo_control] Adding tapoAutoTrackSwitch... 2024-07-16 13:29:24.797 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getNotificationsEnabled, creating TapoNotificationsSwitch 2024-07-16 13:29:24.798 DEBUG (MainThread) [custom_components.tapo_control] Tapo Notifications - init - start 2024-07-16 13:29:24.798 DEBUG (MainThread) [custom_components.tapo_control] Tapo Notifications - init - end 2024-07-16 13:29:24.798 DEBUG (MainThread) [custom_components.tapo_control] Adding tapoNotificationsSwitch... 2024-07-16 13:29:24.798 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getNotificationsEnabled, creating TapoRichNotificationsSwitch 2024-07-16 13:29:24.798 DEBUG (MainThread) [custom_components.tapo_control] Tapo Rich Notifications - init - start 2024-07-16 13:29:24.798 DEBUG (MainThread) [custom_components.tapo_control] Tapo Rich Notifications - init - end 2024-07-16 13:29:24.798 DEBUG (MainThread) [custom_components.tapo_control] Adding tapoRichNotificationsSwitch... 2024-07-16 13:29:24.798 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getFirmwareAutoUpgradeConfig, creating TapoAutoUpgradeSwitch 2024-07-16 13:29:24.798 DEBUG (MainThread) [custom_components.tapo_control] Tapo Automatically Upgrade Firmware - init - start 2024-07-16 13:29:24.798 DEBUG (MainThread) [custom_components.tapo_control] Tapo Automatically Upgrade Firmware - init - end 2024-07-16 13:29:24.798 DEBUG (MainThread) [custom_components.tapo_control] Adding tapoAutoUpgradeSwitch... 2024-07-16 13:29:24.798 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getRecordPlan, creating TapoRecordingPlanSwitch 2024-07-16 13:29:24.798 DEBUG (MainThread) [custom_components.tapo_control] Tapo Record to SD Card - init - start 2024-07-16 13:29:24.798 DEBUG (MainThread) [custom_components.tapo_control] Tapo Record to SD Card - init - end 2024-07-16 13:29:24.798 DEBUG (MainThread) [custom_components.tapo_control] Adding tapoRecordingPlanSwitch... 2024-07-16 13:29:24.799 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getAudioConfig, creating TapoMicrophoneMuteSwitch 2024-07-16 13:29:24.799 DEBUG (MainThread) [custom_components.tapo_control] Tapo Microphone - Mute - init - start 2024-07-16 13:29:24.799 DEBUG (MainThread) [custom_components.tapo_control] Tapo Microphone - Mute - init - end 2024-07-16 13:29:24.799 DEBUG (MainThread) [custom_components.tapo_control] Adding tapoMicrophoneMuteSwitch... 2024-07-16 13:29:24.799 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getAudioConfig, creating TapoMicrophoneNoiseCancellationSwitch 2024-07-16 13:29:24.799 DEBUG (MainThread) [custom_components.tapo_control] Tapo Microphone - Noise Cancellation - init - start 2024-07-16 13:29:24.799 DEBUG (MainThread) [custom_components.tapo_control] Tapo Microphone - Noise Cancellation - init - end 2024-07-16 13:29:24.799 DEBUG (MainThread) [custom_components.tapo_control] Adding tapoMicrophoneNoiseCancellationSwitch... 2024-07-16 13:29:24.799 DEBUG (MainThread) [custom_components.tapo_control] Adding switch entities... 2024-07-16 13:29:24.818 DEBUG (MainThread) [custom_components.tapo_control] Setting up buttons 2024-07-16 13:29:24.818 DEBUG (MainThread) [custom_components.tapo_control] Tapo Reboot - init - start 2024-07-16 13:29:24.818 DEBUG (MainThread) [custom_components.tapo_control] Tapo Reboot - init - end 2024-07-16 13:29:24.818 DEBUG (MainThread) [custom_components.tapo_control] Tapo Format SD Card - init - start 2024-07-16 13:29:24.818 DEBUG (MainThread) [custom_components.tapo_control] Tapo Format SD Card - init - end 2024-07-16 13:29:24.819 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getAlarm, creating TapoStartManualAlarmButton 2024-07-16 13:29:24.819 DEBUG (MainThread) [custom_components.tapo_control] Tapo Manual Alarm Start - init - start 2024-07-16 13:29:24.819 DEBUG (MainThread) [custom_components.tapo_control] Tapo Manual Alarm Start - init - end 2024-07-16 13:29:24.819 DEBUG (MainThread) [custom_components.tapo_control] Adding tapoStartManualAlarmButton... 2024-07-16 13:29:24.819 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getAlarm, creating TapoStopManualAlarmButton 2024-07-16 13:29:24.819 DEBUG (MainThread) [custom_components.tapo_control] Tapo Manual Alarm Stop - init - start 2024-07-16 13:29:24.819 DEBUG (MainThread) [custom_components.tapo_control] Tapo Manual Alarm Stop - init - end 2024-07-16 13:29:24.819 DEBUG (MainThread) [custom_components.tapo_control] Adding tapoStopManualAlarmButton... 2024-07-16 13:29:24.819 DEBUG (MainThread) [custom_components.tapo_control] Tapo Sync Time - init - start 2024-07-16 13:29:24.819 DEBUG (MainThread) [custom_components.tapo_control] Tapo Sync Time - init - end 2024-07-16 13:29:24.819 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getPresets, creating TapoCalibrateButton 2024-07-16 13:29:24.819 DEBUG (MainThread) [custom_components.tapo_control] Tapo Calibrate - init - start 2024-07-16 13:29:24.819 DEBUG (MainThread) [custom_components.tapo_control] Tapo Calibrate - init - end 2024-07-16 13:29:24.819 DEBUG (MainThread) [custom_components.tapo_control] Tapo Move Up - init - start 2024-07-16 13:29:24.820 DEBUG (MainThread) [custom_components.tapo_control] Tapo Move Up - init - end 2024-07-16 13:29:24.820 DEBUG (MainThread) [custom_components.tapo_control] Tapo Move Down - init - start 2024-07-16 13:29:24.820 DEBUG (MainThread) [custom_components.tapo_control] Tapo Move Down - init - end 2024-07-16 13:29:24.820 DEBUG (MainThread) [custom_components.tapo_control] Tapo Move Right - init - start 2024-07-16 13:29:24.820 DEBUG (MainThread) [custom_components.tapo_control] Tapo Move Right - init - end 2024-07-16 13:29:24.822 DEBUG (MainThread) [custom_components.tapo_control] Tapo Move Left - init - start 2024-07-16 13:29:24.822 DEBUG (MainThread) [custom_components.tapo_control] Tapo Move Left - init - end 2024-07-16 13:29:24.841 DEBUG (MainThread) [custom_components.tapo_control] Setting up light for floodlight 2024-07-16 13:29:24.841 DEBUG (MainThread) [custom_components.tapo_control] Capability getForceWhitelampState not found, querying again... 2024-07-16 13:29:24.851 DEBUG (MainThread) [custom_components.tapo_control] Setting up number for movement angle 2024-07-16 13:29:24.852 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getPresets, creating TapoMovementAngle 2024-07-16 13:29:24.852 DEBUG (MainThread) [custom_components.tapo_control] TapoMovementAngle - init - start 2024-07-16 13:29:24.852 DEBUG (MainThread) [custom_components.tapo_control] TapoMovementAngle - init - end 2024-07-16 13:29:24.852 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoMovementAngle... 2024-07-16 13:29:24.852 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getMotionDetection, creating TapoMotionDetectionDigitalSensitivity 2024-07-16 13:29:24.852 DEBUG (MainThread) [custom_components.tapo_control] TapoMotionDetectionDigitalSensitivity - init - start 2024-07-16 13:29:24.852 DEBUG (MainThread) [custom_components.tapo_control] Tapo Motion Detection - Digital Sensitivity - init - start 2024-07-16 13:29:24.852 DEBUG (MainThread) [custom_components.tapo_control] Tapo Motion Detection - Digital Sensitivity - init - append 2024-07-16 13:29:24.852 DEBUG (MainThread) [custom_components.tapo_control] Tapo Motion Detection - Digital Sensitivity - init - update 2024-07-16 13:29:24.852 DEBUG (MainThread) [custom_components.tapo_control] Tapo Motion Detection - Digital Sensitivity - init - TapoEntity 2024-07-16 13:29:24.852 DEBUG (MainThread) [custom_components.tapo_control] Tapo Motion Detection - Digital Sensitivity - init - NumberEntity 2024-07-16 13:29:24.852 DEBUG (MainThread) [custom_components.tapo_control] Tapo Motion Detection - Digital Sensitivity - init - end 2024-07-16 13:29:24.853 DEBUG (MainThread) [custom_components.tapo_control] Adding tapoMotionDetectionDigitalSensitivity... 2024-07-16 13:29:24.853 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getAudioConfig, creating TapoMicrophoneVolume 2024-07-16 13:29:24.853 DEBUG (MainThread) [custom_components.tapo_control] TapoMicrophoneVolume - init - start 2024-07-16 13:29:24.853 DEBUG (MainThread) [custom_components.tapo_control] Tapo Microphone - Volume - init - start 2024-07-16 13:29:24.853 DEBUG (MainThread) [custom_components.tapo_control] Tapo Microphone - Volume - init - append 2024-07-16 13:29:24.853 DEBUG (MainThread) [custom_components.tapo_control] Tapo Microphone - Volume - init - update 2024-07-16 13:29:24.853 DEBUG (MainThread) [custom_components.tapo_control] Tapo Microphone - Volume - init - TapoEntity 2024-07-16 13:29:24.853 DEBUG (MainThread) [custom_components.tapo_control] Tapo Microphone - Volume - init - NumberEntity 2024-07-16 13:29:24.853 DEBUG (MainThread) [custom_components.tapo_control] Tapo Microphone - Volume - init - end 2024-07-16 13:29:24.853 DEBUG (MainThread) [custom_components.tapo_control] Adding tapoMicrophoneVolume... 2024-07-16 13:29:24.853 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getAudioConfig, creating TapoSpeakerVolume 2024-07-16 13:29:24.853 DEBUG (MainThread) [custom_components.tapo_control] TapoSpeakerVolume - init - start 2024-07-16 13:29:24.853 DEBUG (MainThread) [custom_components.tapo_control] Tapo Speaker - Volume - init - start 2024-07-16 13:29:24.853 DEBUG (MainThread) [custom_components.tapo_control] Tapo Speaker - Volume - init - append 2024-07-16 13:29:24.853 DEBUG (MainThread) [custom_components.tapo_control] Tapo Speaker - Volume - init - update 2024-07-16 13:29:24.854 DEBUG (MainThread) [custom_components.tapo_control] Tapo Speaker - Volume - init - TapoEntity 2024-07-16 13:29:24.854 DEBUG (MainThread) [custom_components.tapo_control] Tapo Speaker - Volume - init - NumberEntity 2024-07-16 13:29:24.854 DEBUG (MainThread) [custom_components.tapo_control] Tapo Speaker - Volume - init - end 2024-07-16 13:29:24.854 DEBUG (MainThread) [custom_components.tapo_control] Adding tapoSpeakerVolume... 2024-07-16 13:29:24.867 DEBUG (MainThread) [custom_components.tapo_control] Setting up selects 2024-07-16 13:29:24.868 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getDayNightMode, creating TapoNightVisionSelect 2024-07-16 13:29:24.868 DEBUG (MainThread) [custom_components.tapo_control] Tapo Night Vision - init - start 2024-07-16 13:29:24.868 DEBUG (MainThread) [custom_components.tapo_control] Tapo Night Vision - init - append 2024-07-16 13:29:24.868 DEBUG (MainThread) [custom_components.tapo_control] Tapo Night Vision - init - update 2024-07-16 13:29:24.868 DEBUG (MainThread) [custom_components.tapo_control] Tapo Night Vision - init - TapoEntity 2024-07-16 13:29:24.868 DEBUG (MainThread) [custom_components.tapo_control] Tapo Night Vision - init - SelectEntity 2024-07-16 13:29:24.868 DEBUG (MainThread) [custom_components.tapo_control] Tapo Night Vision - init - end 2024-07-16 13:29:24.868 DEBUG (MainThread) [custom_components.tapo_control] Adding tapoNightVisionSelect... 2024-07-16 13:29:24.868 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getLightFrequencyMode, creating TapoLightFrequencySelect 2024-07-16 13:29:24.869 DEBUG (MainThread) [custom_components.tapo_control] Tapo Light Frequency - init - start 2024-07-16 13:29:24.869 DEBUG (MainThread) [custom_components.tapo_control] Tapo Light Frequency - init - append 2024-07-16 13:29:24.869 DEBUG (MainThread) [custom_components.tapo_control] Tapo Light Frequency - init - update 2024-07-16 13:29:24.869 DEBUG (MainThread) [custom_components.tapo_control] Tapo Light Frequency - init - TapoEntity 2024-07-16 13:29:24.869 DEBUG (MainThread) [custom_components.tapo_control] Tapo Light Frequency - init - SelectEntity 2024-07-16 13:29:24.869 DEBUG (MainThread) [custom_components.tapo_control] Tapo Light Frequency - init - end 2024-07-16 13:29:24.869 DEBUG (MainThread) [custom_components.tapo_control] Adding tapoLightFrequencySelect... 2024-07-16 13:29:24.869 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getAlarm, creating TapoAutomaticAlarmModeSelect 2024-07-16 13:29:24.869 DEBUG (MainThread) [custom_components.tapo_control] Tapo Automatic Alarm - init - start 2024-07-16 13:29:24.869 DEBUG (MainThread) [custom_components.tapo_control] Tapo Automatic Alarm - init - append 2024-07-16 13:29:24.869 DEBUG (MainThread) [custom_components.tapo_control] Tapo Automatic Alarm - init - update 2024-07-16 13:29:24.869 DEBUG (MainThread) [custom_components.tapo_control] Tapo Automatic Alarm - init - TapoEntity 2024-07-16 13:29:24.869 DEBUG (MainThread) [custom_components.tapo_control] Tapo Automatic Alarm - init - SelectEntity 2024-07-16 13:29:24.869 DEBUG (MainThread) [custom_components.tapo_control] Tapo Automatic Alarm - init - end 2024-07-16 13:29:24.870 DEBUG (MainThread) [custom_components.tapo_control] Adding tapoAutomaticAlarmModeSelect... 2024-07-16 13:29:24.870 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getMotionDetection, creating TapoMotionDetectionSelect 2024-07-16 13:29:24.870 DEBUG (MainThread) [custom_components.tapo_control] Tapo Motion Detection - init - start 2024-07-16 13:29:24.870 DEBUG (MainThread) [custom_components.tapo_control] Tapo Motion Detection - init - append 2024-07-16 13:29:24.870 DEBUG (MainThread) [custom_components.tapo_control] Tapo Motion Detection - init - update 2024-07-16 13:29:24.870 DEBUG (MainThread) [custom_components.tapo_control] TapoMotionDetectionSelect updateTapo 1 2024-07-16 13:29:24.870 DEBUG (MainThread) [custom_components.tapo_control] TapoMotionDetectionSelect updateTapo 3 2024-07-16 13:29:24.870 DEBUG (MainThread) [custom_components.tapo_control] TapoMotionDetectionSelect updateTapo 5 2024-07-16 13:29:24.870 DEBUG (MainThread) [custom_components.tapo_control] TapoMotionDetectionSelect updateTapo 6 2024-07-16 13:29:24.871 DEBUG (MainThread) [custom_components.tapo_control] Updating TapoMotionDetectionSelect to: normal 2024-07-16 13:29:24.871 DEBUG (MainThread) [custom_components.tapo_control] Tapo Motion Detection - init - TapoEntity 2024-07-16 13:29:24.871 DEBUG (MainThread) [custom_components.tapo_control] Tapo Motion Detection - init - SelectEntity 2024-07-16 13:29:24.871 DEBUG (MainThread) [custom_components.tapo_control] Tapo Motion Detection - init - end 2024-07-16 13:29:24.871 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoMotionDetectionSelect... 2024-07-16 13:29:24.871 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getPersonDetection, creating TapoPersonDetectionSelect 2024-07-16 13:29:24.871 DEBUG (MainThread) [custom_components.tapo_control] Tapo Person Detection - init - start 2024-07-16 13:29:24.871 DEBUG (MainThread) [custom_components.tapo_control] Tapo Person Detection - init - append 2024-07-16 13:29:24.871 DEBUG (MainThread) [custom_components.tapo_control] Tapo Person Detection - init - update 2024-07-16 13:29:24.871 DEBUG (MainThread) [custom_components.tapo_control] TapoPersonDetectionSelect updateTapo 1 2024-07-16 13:29:24.871 DEBUG (MainThread) [custom_components.tapo_control] TapoPersonDetectionSelect updateTapo 3 2024-07-16 13:29:24.871 DEBUG (MainThread) [custom_components.tapo_control] TapoPersonDetectionSelect updateTapo 4 2024-07-16 13:29:24.871 DEBUG (MainThread) [custom_components.tapo_control] TapoPersonDetectionSelect updateTapo 6 2024-07-16 13:29:24.871 DEBUG (MainThread) [custom_components.tapo_control] Updating TapoPersonDetectionSelect to: off 2024-07-16 13:29:24.871 DEBUG (MainThread) [custom_components.tapo_control] Tapo Person Detection - init - TapoEntity 2024-07-16 13:29:24.871 DEBUG (MainThread) [custom_components.tapo_control] Tapo Person Detection - init - SelectEntity 2024-07-16 13:29:24.872 DEBUG (MainThread) [custom_components.tapo_control] Tapo Person Detection - init - end 2024-07-16 13:29:24.872 DEBUG (MainThread) [custom_components.tapo_control] Adding tapoPersonDetectionSelect... 2024-07-16 13:29:24.872 DEBUG (MainThread) [custom_components.tapo_control] Capability getVehicleDetection not found, querying again... 2024-07-16 13:29:24.885 DEBUG (MainThread) [custom_components.tapo_control] Setting up sirens 2024-07-16 13:29:24.885 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getAlarm, creating TapoSiren 2024-07-16 13:29:24.885 DEBUG (MainThread) [custom_components.tapo_control] Tapo Siren - init - start 2024-07-16 13:29:24.885 DEBUG (MainThread) [custom_components.tapo_control] Tapo Siren - init - end 2024-07-16 13:29:24.886 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoSirenEntity... 2024-07-16 13:29:24.889 DEBUG (SyncWorker_39) [custom_components.tapo_control] [pytapo] 200 2024-07-16 13:29:24.890 DEBUG (SyncWorker_39) [custom_components.tapo_control] [pytapo] {'error_code': 0, 'seq': 941, 'result': {'response': 'C+XSIX+pLHRaGAqgh7fuhRzw5ZObdEVOgLdoAw5iulI9gfzkUE6nr+O7SZ/684TyOyj8TxvsLy2mX7JW+GbuVN7HMb4tWLsC2PDioDbJ24v+vSywf0oYJhuPnqaUZ6xMjHbaddoxfBmMKxLI27wW9vllf2JX0+6WIthW7PG+waE='}} 2024-07-16 13:29:24.897 DEBUG (SyncWorker_13) [custom_components.tapo_control] [pytapo] New request: 2024-07-16 13:29:24.897 DEBUG (SyncWorker_13) [custom_components.tapo_control] [pytapo] {'data': {'method': 'securePassthrough', 'params': {'request': 'z3iL43teC7B+C9PRW84AhqoVc3vcoW6Ppq71GLWP9sDszj3Rph77pyqhLnPgcJsjlQ9fg0SZdXRytGcb8Nak+AlbnZ9rjVLGE8wTX+W+lB/RV/is1fY1Mz5VCeSmZXOwGJrXOqXKnGKurK+YjWePNJu5t2HLwtvZzQEPYgyUGdpFW5v1xLnZZwa/b8uExqhL2XIm1tBSBLfxdmO13dNkqg=='}}, 'headers': {'Host': 'REDACTED', 'Referer': 'REDACTED', 'Accept': 'application/json', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Tapo CameraClient Android', 'Connection': 'close', 'requestByApp': 'true', 'Content-Type': 'application/json; charset=UTF-8', 'Seq': '223', 'Tapo_tag': 'REDACTED'}, 'verify': False} 2024-07-16 13:29:24.901 DEBUG (MainThread) [custom_components.tapo_control] Tapo Update - init - start 2024-07-16 13:29:24.901 DEBUG (MainThread) [custom_components.tapo_control] Tapo Update - init - end 2024-07-16 13:29:24.908 DEBUG (SyncWorker_2) [custom_components.tapo_control] [pytapo] New request: 2024-07-16 13:29:24.908 DEBUG (SyncWorker_2) [custom_components.tapo_control] [pytapo] {'data': {'method': 'securePassthrough', 'params': {'request': 'z3iL43teC7B+C9PRW84AhqoVc3vcoW6Ppq71GLWP9sDszj3Rph77pyqhLnPgcJsjlQ9fg0SZdXRytGcb8Nak+ED/96y317doTBuY33SnoLWw3OICKUP1jLqNzeWvw2c7rCTIfHaTNDIPbg0J4CgQesrdEOHIj5xAM072s6g8LEs='}}, 'headers': {'Host': 'REDACTED', 'Referer': 'REDACTED', 'Accept': 'application/json', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Tapo CameraClient Android', 'Connection': 'close', 'requestByApp': 'true', 'Content-Type': 'application/json; charset=UTF-8', 'Seq': '223', 'Tapo_tag': 'REDACTED'}, 'verify': False} 2024-07-16 13:29:24.932 DEBUG (MainThread) [custom_components.tapo_control] Setting up binary sensor for motion. 2024-07-16 13:29:24.932 DEBUG (MainThread) [custom_components.tapo_control] EventsListener init 2024-07-16 13:29:24.933 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoNoiseBinarySensor... 2024-07-16 13:29:24.933 DEBUG (MainThread) [custom_components.tapo_control] TapoNoiseBinarySensor - init - start 2024-07-16 13:29:24.933 DEBUG (MainThread) [custom_components.tapo_control] Tapo Noise - init - start 2024-07-16 13:29:24.933 DEBUG (MainThread) [custom_components.tapo_control] Tapo Noise - init - end 2024-07-16 13:29:24.933 DEBUG (MainThread) [custom_components.tapo_control] TapoNoiseBinarySensor - init - end 2024-07-16 13:29:24.945 DEBUG (MainThread) [custom_components.tapo_control] Setting up sensors 2024-07-16 13:29:24.945 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoSSIDSensor... 2024-07-16 13:29:24.945 DEBUG (MainThread) [custom_components.tapo_control] Tapo Network SSID - init - start 2024-07-16 13:29:24.945 DEBUG (MainThread) [custom_components.tapo_control] Tapo Network SSID - init - end 2024-07-16 13:29:24.945 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoLinkTypeSensor... 2024-07-16 13:29:24.946 DEBUG (MainThread) [custom_components.tapo_control] Tapo Link Type - init - start 2024-07-16 13:29:24.946 DEBUG (MainThread) [custom_components.tapo_control] Tapo Link Type - init - end 2024-07-16 13:29:24.946 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoRSSISensor... 2024-07-16 13:29:24.946 DEBUG (MainThread) [custom_components.tapo_control] Tapo RSSI - init - start 2024-07-16 13:29:24.946 DEBUG (MainThread) [custom_components.tapo_control] Tapo RSSI - init - end 2024-07-16 13:29:24.946 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoHDDSensor for disk 1 and property disk_name... 2024-07-16 13:29:24.946 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 disk_name - init - start 2024-07-16 13:29:24.946 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 disk_name - init - end 2024-07-16 13:29:24.946 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoHDDSensor for disk 1 and property rw_attr... 2024-07-16 13:29:24.946 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 rw_attr - init - start 2024-07-16 13:29:24.946 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 rw_attr - init - end 2024-07-16 13:29:24.946 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoHDDSensor for disk 1 and property status... 2024-07-16 13:29:24.946 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 status - init - start 2024-07-16 13:29:24.946 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 status - init - end 2024-07-16 13:29:24.947 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoHDDSensor for disk 1 and property detect_status... 2024-07-16 13:29:24.947 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 detect_status - init - start 2024-07-16 13:29:24.947 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 detect_status - init - end 2024-07-16 13:29:24.947 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoHDDSensor for disk 1 and property write_protect... 2024-07-16 13:29:24.947 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 write_protect - init - start 2024-07-16 13:29:24.947 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 write_protect - init - end 2024-07-16 13:29:24.947 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoHDDSensor for disk 1 and property percent... 2024-07-16 13:29:24.947 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 percent - init - start 2024-07-16 13:29:24.947 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 percent - init - end 2024-07-16 13:29:24.947 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoHDDSensor for disk 1 and property type... 2024-07-16 13:29:24.947 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 type - init - start 2024-07-16 13:29:24.947 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 type - init - end 2024-07-16 13:29:24.947 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoHDDSensor for disk 1 and property record_duration... 2024-07-16 13:29:24.947 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 record_duration - init - start 2024-07-16 13:29:24.947 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 record_duration - init - end 2024-07-16 13:29:24.947 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoHDDSensor for disk 1 and property record_free_duration... 2024-07-16 13:29:24.947 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 record_free_duration - init - start 2024-07-16 13:29:24.948 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 record_free_duration - init - end 2024-07-16 13:29:24.948 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoHDDSensor for disk 1 and property record_start_time... 2024-07-16 13:29:24.948 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 record_start_time - init - start 2024-07-16 13:29:24.948 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 record_start_time - init - end 2024-07-16 13:29:24.948 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoHDDSensor for disk 1 and property loop_record_status... 2024-07-16 13:29:24.948 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 loop_record_status - init - start 2024-07-16 13:29:24.948 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 loop_record_status - init - end 2024-07-16 13:29:24.948 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoHDDSensor for disk 1 and property total_space... 2024-07-16 13:29:24.948 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 total_space - init - start 2024-07-16 13:29:24.948 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 total_space - init - end 2024-07-16 13:29:24.948 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoHDDSensor for disk 1 and property free_space... 2024-07-16 13:29:24.948 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 free_space - init - start 2024-07-16 13:29:24.949 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 free_space - init - end 2024-07-16 13:29:24.949 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoHDDSensor for disk 1 and property video_total_space... 2024-07-16 13:29:24.949 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 video_total_space - init - start 2024-07-16 13:29:24.950 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 video_total_space - init - end 2024-07-16 13:29:24.950 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoHDDSensor for disk 1 and property video_free_space... 2024-07-16 13:29:24.950 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 video_free_space - init - start 2024-07-16 13:29:24.950 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 video_free_space - init - end 2024-07-16 13:29:24.950 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoHDDSensor for disk 1 and property picture_total_space... 2024-07-16 13:29:24.950 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 picture_total_space - init - start 2024-07-16 13:29:24.950 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 picture_total_space - init - end 2024-07-16 13:29:24.950 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoHDDSensor for disk 1 and property picture_free_space... 2024-07-16 13:29:24.950 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 picture_free_space - init - start 2024-07-16 13:29:24.950 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 picture_free_space - init - end 2024-07-16 13:29:24.950 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoHDDSensor for disk 1 and property msg_push_total_space... 2024-07-16 13:29:24.950 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 msg_push_total_space - init - start 2024-07-16 13:29:24.951 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 msg_push_total_space - init - end 2024-07-16 13:29:24.951 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoHDDSensor for disk 1 and property msg_push_free_space... 2024-07-16 13:29:24.951 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 msg_push_free_space - init - start 2024-07-16 13:29:24.951 DEBUG (MainThread) [custom_components.tapo_control] Tapo Disk 1 msg_push_free_space - init - end 2024-07-16 13:29:24.951 DEBUG (MainThread) [custom_components.tapo_control] Tapo Recordings Synchronization - init - start 2024-07-16 13:29:24.951 DEBUG (MainThread) [custom_components.tapo_control] Tapo Recordings Synchronization - init - end 2024-07-16 13:29:24.972 INFO (MainThread) [custom_components.tapo_control] Camera does not support TapoMeowDetectionSelect 2024-07-16 13:29:24.972 DEBUG (MainThread) [custom_components.tapo_control] Capability getGlassBreakDetection not found, querying again... 2024-07-16 13:29:24.984 DEBUG (SyncWorker_23) [custom_components.tapo_control] [pytapo] New request: 2024-07-16 13:29:24.984 DEBUG (SyncWorker_23) [custom_components.tapo_control] [pytapo] {'data': {'method': 'securePassthrough', 'params': {'request': 'z3iL43teC7B+C9PRW84AhqoVc3vcoW6Ppq71GLWP9sDszj3Rph77pyqhLnPgcJsjlQ9fg0SZdXRytGcb8Nak+Fv/Gmmj6pqjnvJnG2iUIbjMzaGNBHz/hWH/QuED8JP0q9PJ6MyUH2MWEaK99S7fbUTosTN9YQuG1CAzUYeoOKVR8v2Fr0APmUQgth8a6EwF'}}, 'headers': {'Host': 'REDACTED', 'Referer': 'REDACTED', 'Accept': 'application/json', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Tapo CameraClient Android', 'Connection': 'close', 'requestByApp': 'true', 'Content-Type': 'application/json; charset=UTF-8', 'Seq': '224', 'Tapo_tag': 'REDACTED'}, 'verify': False} 2024-07-16 13:29:24.985 DEBUG (SyncWorker_35) [custom_components.tapo_control] [pytapo] New request: 2024-07-16 13:29:24.985 DEBUG (SyncWorker_35) [custom_components.tapo_control] [pytapo] {'data': {'method': 'securePassthrough', 'params': {'request': 'IQ9qa14FSDScByHXCeTETySeuvvRxHNamWENUlYDYp1Gyg41Igylm5QCe5rMoUxjHkx2STNM66Q9shijbdXdinbl+0y6eRHyZZkrjJ/0fY7DNulVPhUdvGjrtRLG6CBfd+MRl0zAGQ4Brzf05M74HfrkCq3lLoiQEvsJCxaXB78fllS9tu4AEl6WPR8Z5/x43CEEPS6Q5ORhXCeAfDhItw=='}}, 'headers': {'Host': 'REDACTED', 'Referer': 'REDACTED', 'Accept': 'application/json', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Tapo CameraClient Android', 'Connection': 'close', 'requestByApp': 'true', 'Content-Type': 'application/json; charset=UTF-8', 'Seq': '942', 'Tapo_tag': 'REDACTED'}, 'verify': False} 2024-07-16 13:29:25.198 DEBUG (SyncWorker_35) [custom_components.tapo_control] [pytapo] 200 2024-07-16 13:29:25.199 DEBUG (SyncWorker_35) [custom_components.tapo_control] [pytapo] {'error_code': 0, 'seq': 942, 'result': {'response': 'C+XSIX+pLHRaGAqgh7fuhRzw5ZObdEVOgLdoAw5iulJxos1I63juUkaAA+jNZyjsO29P5E+iDkwmV76MY5ib5NjB6nSersy8gWXULfirZkOPS6Kc9A0Jx1MWvphn4e7c8lrXGuYX1poyfsOEFAOTCzbXs674D2iQsvqn+M3LsGOFopAo0xfUuNpNPyUtm3zN'}} 2024-07-16 13:29:25.283 INFO (MainThread) [custom_components.tapo_control] Camera does not support TapoGlassBreakDetectionSelect 2024-07-16 13:29:25.283 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getTamperDetection, creating TapoTamperDetectionSelect 2024-07-16 13:29:25.283 DEBUG (MainThread) [custom_components.tapo_control] Tapo Tamper Detection - init - start 2024-07-16 13:29:25.283 DEBUG (MainThread) [custom_components.tapo_control] Tapo Tamper Detection - init - append 2024-07-16 13:29:25.284 DEBUG (MainThread) [custom_components.tapo_control] Tapo Tamper Detection - init - update 2024-07-16 13:29:25.284 DEBUG (MainThread) [custom_components.tapo_control] TapoTamperDetectionSelect updateTapo 1 2024-07-16 13:29:25.284 DEBUG (MainThread) [custom_components.tapo_control] TapoTamperDetectionSelect updateTapo 3 2024-07-16 13:29:25.284 DEBUG (MainThread) [custom_components.tapo_control] TapoTamperDetectionSelect updateTapo 4 2024-07-16 13:29:25.284 DEBUG (MainThread) [custom_components.tapo_control] TapoTamperDetectionSelect updateTapo 6 2024-07-16 13:29:25.284 DEBUG (MainThread) [custom_components.tapo_control] Updating TapoTamperDetectionSelect to: off 2024-07-16 13:29:25.284 DEBUG (MainThread) [custom_components.tapo_control] Tapo Tamper Detection - init - TapoEntity 2024-07-16 13:29:25.284 DEBUG (MainThread) [custom_components.tapo_control] Tapo Tamper Detection - init - SelectEntity 2024-07-16 13:29:25.284 DEBUG (MainThread) [custom_components.tapo_control] Tapo Tamper Detection - init - end 2024-07-16 13:29:25.284 DEBUG (MainThread) [custom_components.tapo_control] Adding tapoTamperDetectionSelect... 2024-07-16 13:29:25.284 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getPresets, creating TapoMoveToPresetSelect 2024-07-16 13:29:25.284 DEBUG (MainThread) [custom_components.tapo_control] Tapo Move to Preset - init - start 2024-07-16 13:29:25.284 DEBUG (MainThread) [custom_components.tapo_control] Tapo Move to Preset - init - append 2024-07-16 13:29:25.284 DEBUG (MainThread) [custom_components.tapo_control] Tapo Move to Preset - init - update 2024-07-16 13:29:25.284 DEBUG (MainThread) [custom_components.tapo_control] Tapo Move to Preset - init - TapoEntity 2024-07-16 13:29:25.284 DEBUG (MainThread) [custom_components.tapo_control] Tapo Move to Preset - init - SelectEntity 2024-07-16 13:29:25.285 DEBUG (MainThread) [custom_components.tapo_control] Tapo Move to Preset - init - end 2024-07-16 13:29:25.285 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoMoveToPresetSelect... 2024-07-16 13:29:25.285 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getPresets, creating TapoPatrolModeSelect 2024-07-16 13:29:25.285 DEBUG (MainThread) [custom_components.tapo_control] Tapo Patrol Mode - init - start 2024-07-16 13:29:25.285 DEBUG (MainThread) [custom_components.tapo_control] Tapo Patrol Mode - init - append 2024-07-16 13:29:25.285 DEBUG (MainThread) [custom_components.tapo_control] Tapo Patrol Mode - init - update 2024-07-16 13:29:25.285 DEBUG (MainThread) [custom_components.tapo_control] Tapo Patrol Mode - init - TapoEntity 2024-07-16 13:29:25.285 DEBUG (MainThread) [custom_components.tapo_control] Tapo Patrol Mode - init - SelectEntity 2024-07-16 13:29:25.285 DEBUG (MainThread) [custom_components.tapo_control] Tapo Patrol Mode - init - end 2024-07-16 13:29:25.285 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoPatrolModeSelect... 2024-07-16 13:29:25.285 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getWhitelampConfig, creating TapoWhitelampIntensityLevelSelect 2024-07-16 13:29:25.285 DEBUG (MainThread) [custom_components.tapo_control] Tapo Spotlight Intensity - init - start 2024-07-16 13:29:25.285 DEBUG (MainThread) [custom_components.tapo_control] Tapo Spotlight Intensity - init - append 2024-07-16 13:29:25.285 DEBUG (MainThread) [custom_components.tapo_control] Tapo Spotlight Intensity - init - update 2024-07-16 13:29:25.285 DEBUG (MainThread) [custom_components.tapo_control] Tapo Spotlight Intensity - init - TapoEntity 2024-07-16 13:29:25.285 DEBUG (MainThread) [custom_components.tapo_control] Tapo Spotlight Intensity - init - SelectEntity 2024-07-16 13:29:25.286 DEBUG (MainThread) [custom_components.tapo_control] Tapo Spotlight Intensity - init - end 2024-07-16 13:29:25.286 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoWhitelampIntensityLevelSelect... 2024-07-16 13:29:25.302 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration tapo_control with title: 192.168.1.124 and entry_id: c843380fb4a30997f2e1711ea5939bf2, during setup without awaiting async_forward_entry_setup, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1. Please report this issue. Stack (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/usr/src/homeassistant/homeassistant/main.py", line 223, in sys.exit(main()) File "/usr/src/homeassistant/homeassistant/main.py", line 209, in main exit_code = runner.run(runtime_conf) File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run return loop.run_until_complete(setup_and_run_hass(runtime_config)) File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete self.run_forever() File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever self._run_once() File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once handle._run() File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run self._context.run(self._callback, *self._args) File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2122, in async_forward_entry_setup _report_non_awaited_platform_forwards(entry, "async_forward_entry_setup") File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1175, in _report_non_awaited_platform_forwards report( File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 151, in report _LOGGER.warning(msg, stack_info=True) 2024-07-16 13:29:25.319 DEBUG (SyncWorker_13) [custom_components.tapo_control] [pytapo] 200 2024-07-16 13:29:25.319 DEBUG (SyncWorker_13) [custom_components.tapo_control] [pytapo] {'error_code': 0, 'seq': 223, 'result': {'response': 'nsVXnV7Js5TCYbZcJI9lhgx/PdmwXjsnEGBswlSFM434Gy89weRy3rv0fEhhiiRqR2pNJMUyhLJc050jzzAd95VAPNxN9+0FLC1P74YYcObwRNo6xiWBnNgNwhJ7E19yM+EcY/EEiJAXHX1RxSqMUgc8qhq6dJp8YnWuCsfsmS32j4gVYjomhwhoK9ig3QbN'}} 2024-07-16 13:29:25.332 DEBUG (SyncWorker_2) [custom_components.tapo_control] [pytapo] 500 2024-07-16 13:29:25.332 DEBUG (SyncWorker_2) [custom_components.tapo_control] [pytapo] {'error_code': 0, 'seq': 223, 'result': {'response': 'iaVuDbt7YJCkD1RmWi9Zfmgwl665oaWndA6puLU1m9mx+DXyu5ZTegVnV7ntiBm/Oo7n9hI5wzZfoLCCFlkjHM8LQxO5RnhNf0Bj1KvTQbodF4EH+lopTbOoErKKcTVK'}} 2024-07-16 13:29:25.334 DEBUG (SyncWorker_2) [custom_components.tapo_control] [pytapo] Refreshing stok... 2024-07-16 13:29:25.334 DEBUG (SyncWorker_2) [custom_components.tapo_control] [pytapo] Connection is secure. 2024-07-16 13:29:25.336 DEBUG (SyncWorker_2) [custom_components.tapo_control] [pytapo] New request: 2024-07-16 13:29:25.336 DEBUG (SyncWorker_2) [custom_components.tapo_control] [pytapo] {'data': {'method': 'login', 'params': {'cnonce': 'REDACTED', 'encrypt_type': '3', 'username': 'admin'}}, 'headers': {'Host': 'REDACTED', 'Referer': 'REDACTED', 'Accept': 'application/json', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Tapo CameraClient Android', 'Connection': 'close', 'requestByApp': 'true', 'Content-Type': 'application/json; charset=UTF-8', 'Seq': '224', 'Tapo_tag': 'REDACTED'}, 'verify': False} 2024-07-16 13:29:25.342 DEBUG (SyncWorker_23) [custom_components.tapo_control] [pytapo] 200 2024-07-16 13:29:25.342 DEBUG (SyncWorker_23) [custom_components.tapo_control] [pytapo] {'error_code': 0, 'seq': 224, 'result': {'response': 'nsVXnV7Js5TCYbZcJI9lhgx/PdmwXjsnEGBswlSFM41TxP7P/MHrhW6d1Apaf6FsgQYOs51PZk7UHtd5AWNjATV4hPYQABr7LnFXob6aKkU2H0s8xlqn4s1md19LBKR7qxsmdiguFIvIQB5YIfQuB9rHFICW530P2gv4oA5GiMH1pJBIV6wwfxieYhu0arOzWwvKerOjcqVdSi/kWrr3MTJ/gxuQeuyEnm0L6NhNQc+L4zWX7sT7kRPBz2hEpFG1DvJvgWj1FWnodRYgLIYfXqxPPgaM3fGx65gLg9hodvI='}} 2024-07-16 13:29:25.359 INFO (MainThread) [custom_components.tapo_control] Camera does not support TapoVehicleDetectionSelect 2024-07-16 13:29:25.359 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getBabyCryDetection, creating TapoBabyCryDetectionSelect 2024-07-16 13:29:25.359 DEBUG (MainThread) [custom_components.tapo_control] Tapo Baby Cry Detection - init - start 2024-07-16 13:29:25.359 DEBUG (MainThread) [custom_components.tapo_control] Tapo Baby Cry Detection - init - append 2024-07-16 13:29:25.359 DEBUG (MainThread) [custom_components.tapo_control] Tapo Baby Cry Detection - init - update 2024-07-16 13:29:25.359 DEBUG (MainThread) [custom_components.tapo_control] TapoBabyCryDetectionSelect updateTapo 1 2024-07-16 13:29:25.360 DEBUG (MainThread) [custom_components.tapo_control] TapoBabyCryDetectionSelect updateTapo 3 2024-07-16 13:29:25.360 DEBUG (MainThread) [custom_components.tapo_control] TapoBabyCryDetectionSelect updateTapo 4 2024-07-16 13:29:25.360 DEBUG (MainThread) [custom_components.tapo_control] TapoBabyCryDetectionSelect updateTapo 6 2024-07-16 13:29:25.360 DEBUG (MainThread) [custom_components.tapo_control] Updating TapoBabyCryDetectionSelect to: off 2024-07-16 13:29:25.360 DEBUG (MainThread) [custom_components.tapo_control] Tapo Baby Cry Detection - init - TapoEntity 2024-07-16 13:29:25.360 DEBUG (MainThread) [custom_components.tapo_control] Tapo Baby Cry Detection - init - SelectEntity 2024-07-16 13:29:25.360 DEBUG (MainThread) [custom_components.tapo_control] Tapo Baby Cry Detection - init - end 2024-07-16 13:29:25.360 DEBUG (MainThread) [custom_components.tapo_control] Adding tapoBabyCryDetectionSelect... 2024-07-16 13:29:25.360 DEBUG (MainThread) [custom_components.tapo_control] Capability getPetDetection not found, querying again... 2024-07-16 13:29:25.368 DEBUG (SyncWorker_47) [custom_components.tapo_control] [pytapo] New request: 2024-07-16 13:29:25.368 DEBUG (SyncWorker_47) [custom_components.tapo_control] [pytapo] {'data': {'method': 'securePassthrough', 'params': {'request': 'z3iL43teC7B+C9PRW84AhqoVc3vcoW6Ppq71GLWP9sDszj3Rph77pyqhLnPgcJsjlQ9fg0SZdXRytGcb8Nak+E4uw8GcH2VhckKVa2SxUrhLoU2B1QcReBiz70AYYBBBd2gClQ33ZyFsOe7OpJ5UQoAnqmjYYXvR5z19sVFG1uwDQv1P9WbUjs5I0NQyY5Jno8g0j4NkRzgqaLc0SHKISg=='}}, 'headers': {'Host': 'REDACTED', 'Referer': 'REDACTED', 'Accept': 'application/json', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Tapo CameraClient Android', 'Connection': 'close', 'requestByApp': 'true', 'Content-Type': 'application/json; charset=UTF-8', 'Seq': '225', 'Tapo_tag': 'REDACTED'}, 'verify': False} 2024-07-16 13:29:25.583 DEBUG (SyncWorker_2) [custom_components.tapo_control] [pytapo] 200 2024-07-16 13:29:25.583 DEBUG (SyncWorker_2) [custom_components.tapo_control] [pytapo] {'error_code': -40413, 'result': {'data': {'code': -40401, 'encrypt_type': ['3'], 'key': 'REDACTED', 'nonce': 'REDACTED', 'device_confirm': 'REDACTED'}}} 2024-07-16 13:29:25.583 DEBUG (SyncWorker_2) [custom_components.tapo_control] [pytapo] Status code: 200 2024-07-16 13:29:25.583 DEBUG (SyncWorker_2) [custom_components.tapo_control] [pytapo] Processing secure response. 2024-07-16 13:29:25.583 DEBUG (SyncWorker_2) [custom_components.tapo_control] [pytapo] Validating device confirm. 2024-07-16 13:29:25.584 DEBUG (SyncWorker_2) [custom_components.tapo_control] [pytapo] Signing in with digestPasswd. 2024-07-16 13:29:25.586 DEBUG (SyncWorker_2) [custom_components.tapo_control] [pytapo] New request: 2024-07-16 13:29:25.586 DEBUG (SyncWorker_2) [custom_components.tapo_control] [pytapo] {'data': {'method': 'login', 'params': {'cnonce': 'REDACTED', 'encrypt_type': '3', 'digest_passwd': 'REDACTED', 'username': 'admin'}}, 'headers': {'Host': 'REDACTED', 'Referer': 'REDACTED', 'Accept': 'application/json', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Tapo CameraClient Android', 'Connection': 'close', 'requestByApp': 'true', 'Content-Type': 'application/json; charset=UTF-8', 'Seq': '225', 'Tapo_tag': 'REDACTED'}, 'verify': False} 2024-07-16 13:29:25.633 DEBUG (SyncWorker_47) [custom_components.tapo_control] [pytapo] 200 2024-07-16 13:29:25.634 DEBUG (SyncWorker_47) [custom_components.tapo_control] [pytapo] {'error_code': 0, 'seq': 225, 'result': {'response': 'nsVXnV7Js5TCYbZcJI9lhgx/PdmwXjsnEGBswlSFM41VmwBxpqNJaG9ba9UrrPQa0hInLgjTZd59ULUVRV5xEnqCvGHajntUCQkh9tnLru8FR5NVjfaTr17Cvu0oXI+Nfdk6X0ag9SdxJkQv52h8euim2GO9MBlrDEbmCYi+eNY='}} 2024-07-16 13:29:25.636 INFO (MainThread) [custom_components.tapo_control] Camera does not support TapoPetDetectionSelect 2024-07-16 13:29:25.636 DEBUG (MainThread) [custom_components.tapo_control] Capability getBarkDetection not found, querying again... 2024-07-16 13:29:25.642 DEBUG (SyncWorker_15) [custom_components.tapo_control] [pytapo] New request: 2024-07-16 13:29:25.643 DEBUG (SyncWorker_15) [custom_components.tapo_control] [pytapo] {'data': {'method': 'securePassthrough', 'params': {'request': 'z3iL43teC7B+C9PRW84AhqoVc3vcoW6Ppq71GLWP9sDszj3Rph77pyqhLnPgcJsjlQ9fg0SZdXRytGcb8Nak+DRDFhdzoFo4eSdO8y3w0osk7/jooutwtwtoRDQtIL28x98DF3IsxaV1C1DUWdYjMVp+d4bUO1twLf7JYBRIkDpqZ82gjH06/PmblpJG5XbYaEjGRUGa79RYH8CAUB7BDg=='}}, 'headers': {'Host': 'REDACTED', 'Referer': 'REDACTED', 'Accept': 'application/json', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Tapo CameraClient Android', 'Connection': 'close', 'requestByApp': 'true', 'Content-Type': 'application/json; charset=UTF-8', 'Seq': '226', 'Tapo_tag': 'REDACTED'}, 'verify': False} 2024-07-16 13:29:25.831 DEBUG (SyncWorker_2) [custom_components.tapo_control] [pytapo] 200 2024-07-16 13:29:25.832 DEBUG (SyncWorker_2) [custom_components.tapo_control] [pytapo] {'error_code': 0, 'result': {'stok': 'REDACTED', 'user_group': 'root', 'start_seq': 489}} 2024-07-16 13:29:25.832 DEBUG (SyncWorker_2) [custom_components.tapo_control] [pytapo] Geneerating encryption tokens. 2024-07-16 13:29:25.833 DEBUG (SyncWorker_2) [custom_components.tapo_control] [pytapo] Saving stok. 2024-07-16 13:29:25.837 DEBUG (SyncWorker_15) [custom_components.tapo_control] [pytapo] 500 2024-07-16 13:29:25.838 DEBUG (SyncWorker_15) [custom_components.tapo_control] [pytapo] {'error_code': 0, 'seq': 226, 'result': {'response': 'hhU4BnhGnyLEiyWX1FY4ubZHeE/WqFvOX8cth1bHi9u3YbMYqFcpxWkZdFRa//lZK2HFEW+E24hhB6IEzYO0wW/lcF45XO24wTXAUkokocYp49LQUa/RxvEjv4wNYJuS'}} 2024-07-16 13:29:25.838 DEBUG (SyncWorker_15) [custom_components.tapo_control] [pytapo] Refreshing stok... 2024-07-16 13:29:25.839 DEBUG (SyncWorker_15) [custom_components.tapo_control] [pytapo] Connection is secure. 2024-07-16 13:29:25.842 DEBUG (SyncWorker_2) [custom_components.tapo_control] [pytapo] New request: 2024-07-16 13:29:25.843 DEBUG (SyncWorker_2) [custom_components.tapo_control] [pytapo] {'data': {'method': 'securePassthrough', 'params': {'request': 'HsmHRZLLDy1aowqr21nYVC+2mZAUSqVSuVsaSZU9MrfXZbMh4YaqsihkqRmyDlSQNT7YeRTl3DVJDAnaY+9N0t4Xft70h/5Q1ObWiCOLqfo7hQMjsPfvZdH4cKrCMMspfBErCmFUljra+XrEzt7HoNywOQzSDr5UulRTOQrhiUg='}}, 'headers': {'Host': 'REDACTED', 'Referer': 'REDACTED', 'Accept': 'application/json', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Tapo CameraClient Android', 'Connection': 'close', 'requestByApp': 'true', 'Content-Type': 'application/json; charset=UTF-8', 'Seq': '489', 'Tapo_tag': 'REDACTED'}, 'verify': False} 2024-07-16 13:29:25.847 DEBUG (SyncWorker_15) [custom_components.tapo_control] [pytapo] New request: 2024-07-16 13:29:25.847 DEBUG (SyncWorker_15) [custom_components.tapo_control] [pytapo] {'data': {'method': 'login', 'params': {'cnonce': 'REDACTED', 'encrypt_type': '3', 'username': 'admin'}}, 'headers': {'Host': 'REDACTED', 'Referer': 'REDACTED', 'Accept': 'application/json', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Tapo CameraClient Android', 'Connection': 'close', 'requestByApp': 'true', 'Content-Type': 'application/json; charset=UTF-8', 'Seq': '489', 'Tapo_tag': 'REDACTED'}, 'verify': False} 2024-07-16 13:29:26.133 DEBUG (SyncWorker_15) [custom_components.tapo_control] [pytapo] 200 2024-07-16 13:29:26.133 DEBUG (SyncWorker_15) [custom_components.tapo_control] [pytapo] {'error_code': -40413, 'result': {'data': {'code': -40401, 'encrypt_type': ['3'], 'key': 'REDACTED', 'nonce': 'REDACTED', 'device_confirm': 'REDACTED'}}} 2024-07-16 13:29:26.133 DEBUG (SyncWorker_15) [custom_components.tapo_control] [pytapo] Status code: 200 2024-07-16 13:29:26.133 DEBUG (SyncWorker_15) [custom_components.tapo_control] [pytapo] Processing secure response. 2024-07-16 13:29:26.133 DEBUG (SyncWorker_15) [custom_components.tapo_control] [pytapo] Validating device confirm. 2024-07-16 13:29:26.134 DEBUG (SyncWorker_15) [custom_components.tapo_control] [pytapo] Signing in with digestPasswd. 2024-07-16 13:29:26.135 DEBUG (SyncWorker_15) [custom_components.tapo_control] [pytapo] New request: 2024-07-16 13:29:26.136 DEBUG (SyncWorker_15) [custom_components.tapo_control] [pytapo] {'data': {'method': 'login', 'params': {'cnonce': 'REDACTED', 'encrypt_type': '3', 'digest_passwd': 'REDACTED', 'username': 'admin'}}, 'headers': {'Host': 'REDACTED', 'Referer': 'REDACTED', 'Accept': 'application/json', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Tapo CameraClient Android', 'Connection': 'close', 'requestByApp': 'true', 'Content-Type': 'application/json; charset=UTF-8', 'Seq': '489', 'Tapo_tag': 'REDACTED'}, 'verify': False} 2024-07-16 13:29:26.169 DEBUG (SyncWorker_2) [custom_components.tapo_control] [pytapo] 200 2024-07-16 13:29:26.169 DEBUG (SyncWorker_2) [custom_components.tapo_control] [pytapo] {'error_code': 0, 'seq': 489, 'result': {'response': 'iXkm/JjZDtG9/i3cq2DRaKhd6xWhCWstIQVt5mXG5UTz6sp7oSP6HKhdEqf+S5fKWR8hP/aRcmjmuByVqKFXIbT8jYfH4m4sbNA8Mim8xPm61tb/neMoy7+nykIk5bP6uwGXoWygaYA7TUDmuLm3d1gpXwerHCV/YVnfK8ZWVYNkXMRIy2IzmLGz7S+O+yeOADgtENcj6wIek69L6Y7zPl/Z0KLWVI3J3jqYjsXnlvtnEeq5cioRobsw8QJ+w0Er9EC0fbq+F7OwQTc4Tt+e8dNyqnfMQbr0ITnh5IyBiPJy3hAbnPzN+dpXcSWLxrJvt+O8ySou9SS/4OEevnSjzA7iU5bZJrhVM1L7JeqS9/qx930IzghDe6Cqvfh+dnn/GCcUT1FzZeC8Ot+stLPR60MEQ5vO00gF4mn9SLEkUup2PVCxYD1DWb8A1e8ztcZRWAkJd709jc/3HZGi9txwu6oakiXDhwHH58LlMce8mbHMT43qonuP+Cwz+52pNrQ/W1YJxU1ftHK/tG3fCiMkjw=='}} 2024-07-16 13:29:26.172 INFO (MainThread) [custom_components.tapo_control] Camera does not support TapoFloodlight 2024-07-16 13:29:26.172 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getWhitelampStatus, creating TapoWhitelight 2024-07-16 13:29:26.173 DEBUG (MainThread) [custom_components.tapo_control] TapoWhitelight - init - start 2024-07-16 13:29:26.173 DEBUG (MainThread) [custom_components.tapo_control] Tapo Floodlight (Timed) - init - start 2024-07-16 13:29:26.173 DEBUG (MainThread) [custom_components.tapo_control] Tapo Floodlight (Timed) - init - append 2024-07-16 13:29:26.173 DEBUG (MainThread) [custom_components.tapo_control] Tapo Floodlight (Timed) - init - update 2024-07-16 13:29:26.173 DEBUG (MainThread) [custom_components.tapo_control] Updating light state. 2024-07-16 13:29:26.173 DEBUG (MainThread) [custom_components.tapo_control] Tapo Floodlight (Timed) - init - TapoEntity 2024-07-16 13:29:26.173 DEBUG (MainThread) [custom_components.tapo_control] Tapo Floodlight (Timed) - init - SelectEntity 2024-07-16 13:29:26.173 DEBUG (MainThread) [custom_components.tapo_control] Tapo Floodlight (Timed) - init - end 2024-07-16 13:29:26.173 DEBUG (MainThread) [custom_components.tapo_control] TapoWhitelight - init - end 2024-07-16 13:29:26.173 DEBUG (MainThread) [custom_components.tapo_control] Adding tapoWhitelightSwitch... 2024-07-16 13:29:26.188 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration tapo_control with title: 192.168.1.97 and entry_id: 292c435eadc443d80599ca38a716d890, during setup without awaiting async_forward_entry_setup, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1. Please report this issue. Stack (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/usr/src/homeassistant/homeassistant/main.py", line 223, in sys.exit(main()) File "/usr/src/homeassistant/homeassistant/main.py", line 209, in main exit_code = runner.run(runtime_conf) File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run return loop.run_until_complete(setup_and_run_hass(runtime_config)) File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete self.run_forever() File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever self._run_once() File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once handle._run() File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run self._context.run(self._callback, *self._args) File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2122, in async_forward_entry_setup _report_non_awaited_platform_forwards(entry, "async_forward_entry_setup") File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1175, in _report_non_awaited_platform_forwards report( File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 151, in report _LOGGER.warning(msg, stack_info=True) 2024-07-16 13:29:26.268 DEBUG (SyncWorker_15) [custom_components.tapo_control] [pytapo] 200 2024-07-16 13:29:26.268 DEBUG (SyncWorker_15) [custom_components.tapo_control] [pytapo] {'error_code': 0, 'result': {'stok': 'REDACTED', 'user_group': 'root', 'start_seq': 619}} 2024-07-16 13:29:26.269 DEBUG (SyncWorker_15) [custom_components.tapo_control] [pytapo] Geneerating encryption tokens. 2024-07-16 13:29:26.269 DEBUG (SyncWorker_15) [custom_components.tapo_control] [pytapo] Saving stok. 2024-07-16 13:29:26.273 DEBUG (SyncWorker_15) [custom_components.tapo_control] [pytapo] New request: 2024-07-16 13:29:26.273 DEBUG (SyncWorker_15) [custom_components.tapo_control] [pytapo] {'data': {'method': 'securePassthrough', 'params': {'request': 'KJlQ2Ae+RlaMj2OXQieWmntOBiV3X9f/GTT6Duv0bpqiUQOZ9eDvTnSe53/Z6taCLqeIkWvf/NBrOYRG2Wc2TB3WQsqv/b4Gtx//SLSf3p1H0G70+jJ0bSd7hYuWF/Vbtw/ShyuoafFEioD/8sC1JEffaTE2eIzb7Zi3Kau2KudkAs2lcvGFcOVAAluCZcBrpG2PwBOkzHmgBVHQL3/7ng=='}}, 'headers': {'Host': 'REDACTED', 'Referer': 'REDACTED', 'Accept': 'application/json', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Tapo CameraClient Android', 'Connection': 'close', 'requestByApp': 'true', 'Content-Type': 'application/json; charset=UTF-8', 'Seq': '619', 'Tapo_tag': 'REDACTED'}, 'verify': False} 2024-07-16 13:29:26.448 DEBUG (SyncWorker_15) [custom_components.tapo_control] [pytapo] 200 2024-07-16 13:29:26.449 DEBUG (SyncWorker_15) [custom_components.tapo_control] [pytapo] {'error_code': 0, 'seq': 619, 'result': {'response': 'tjsQ55cgAC4nAbOkIlNoW5OeLP5YizRg1yE4jsFnSmsOkF/Jnf4ZVUYLjwky8K8NaqKpIOBzUI/3qQMS6NSmrNluVGzMbI9ry0ooQ+pqbUY92MBDG1Nnn4h9a4DqDTtd2LJQjyqEh48vRBvpaF9STM1qj1uhV1E0d0AXxWswa58='}} 2024-07-16 13:29:26.452 INFO (MainThread) [custom_components.tapo_control] Camera does not support TapoBarkDetectionSelect 2024-07-16 13:29:26.452 DEBUG (MainThread) [custom_components.tapo_control] Capability getMeowDetection not found, querying again... 2024-07-16 13:29:26.457 DEBUG (SyncWorker_9) [custom_components.tapo_control] [pytapo] New request: 2024-07-16 13:29:26.457 DEBUG (SyncWorker_9) [custom_components.tapo_control] [pytapo] {'data': {'method': 'securePassthrough', 'params': {'request': 'KJlQ2Ae+RlaMj2OXQieWmntOBiV3X9f/GTT6Duv0bpqiUQOZ9eDvTnSe53/Z6taCLqeIkWvf/NBrOYRG2Wc2TLI32cRtLQxyoMtY2e71Tvis9IJ/+E4OOEqqoiyJRcJvzn2u+eZ9k+hQ3E/nVRHNpQjyPEN5nGRCpJ6Q6ewu9oqaYYCF2AqM/C/wMjs6q5Na3lg5nZL6LNORZktYCNE4SQ=='}}, 'headers': {'Host': 'REDACTED', 'Referer': 'REDACTED', 'Accept': 'application/json', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Tapo CameraClient Android', 'Connection': 'close', 'requestByApp': 'true', 'Content-Type': 'application/json; charset=UTF-8', 'Seq': '620', 'Tapo_tag': 'REDACTED'}, 'verify': False} 2024-07-16 13:29:26.644 DEBUG (SyncWorker_9) [custom_components.tapo_control] [pytapo] 200 2024-07-16 13:29:26.644 DEBUG (SyncWorker_9) [custom_components.tapo_control] [pytapo] {'error_code': 0, 'seq': 620, 'result': {'response': 'tjsQ55cgAC4nAbOkIlNoW5OeLP5YizRg1yE4jsFnSmubRuGK1j4FcjxgMe2HF6jvSIka5WROmCqXjg0F9xE92IB1v3g7d+SHa7YTjUtGvTXA4ny3ipy28PDqpA7s2mRClhuyApAEZz3GhZ4z1ciuIbHnykCODrwJTbO9nMjA37M='}} 2024-07-16 13:29:26.647 INFO (MainThread) [custom_components.tapo_control] Camera does not support TapoMeowDetectionSelect 2024-07-16 13:29:26.648 DEBUG (MainThread) [custom_components.tapo_control] Capability getGlassBreakDetection not found, querying again... 2024-07-16 13:29:26.651 DEBUG (SyncWorker_19) [custom_components.tapo_control] [pytapo] New request: 2024-07-16 13:29:26.651 DEBUG (SyncWorker_19) [custom_components.tapo_control] [pytapo] {'data': {'method': 'securePassthrough', 'params': {'request': 'KJlQ2Ae+RlaMj2OXQieWmntOBiV3X9f/GTT6Duv0bpqiUQOZ9eDvTnSe53/Z6taCLqeIkWvf/NBrOYRG2Wc2THRWjU+af2EmHNKVXFIz1JzVgUqKK/MnGu4rVqCHEo7yFu3t+DZK6SnlrlLuYpiMlEjkp95Q0g0nIE3P7QJQhdZwAb6zr1lzLP8Ytc2+gE1jfqc9KrNNHRIMQ5XF0OqHaw=='}}, 'headers': {'Host': 'REDACTED', 'Referer': 'REDACTED', 'Accept': 'application/json', 'Accept-Encoding': 'gzip, deflate', 'User-Agent': 'Tapo CameraClient Android', 'Connection': 'close', 'requestByApp': 'true', 'Content-Type': 'application/json; charset=UTF-8', 'Seq': '621', 'Tapo_tag': 'REDACTED'}, 'verify': False} 2024-07-16 13:29:26.818 DEBUG (SyncWorker_19) [custom_components.tapo_control] [pytapo] 200 2024-07-16 13:29:26.818 DEBUG (SyncWorker_19) [custom_components.tapo_control] [pytapo] {'error_code': 0, 'seq': 621, 'result': {'response': 'tjsQ55cgAC4nAbOkIlNoW5OeLP5YizRg1yE4jsFnSmscc3r9V8wADVCUiNWmXAQhvJJP6PhOjTNVwN3WDYUDrjwweZ5g2ImxSvJFev4Kc1pEIOp1qXiDiRzbjDQB8kquqIenK1KJkzyQwK2q/hCj7oQWaz3+lqgFYuSrQkfGMWSoVWcewYHEnGZnfwDU+PGE'}} 2024-07-16 13:29:26.820 INFO (MainThread) [custom_components.tapo_control] Camera does not support TapoGlassBreakDetectionSelect 2024-07-16 13:29:26.821 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getTamperDetection, creating TapoTamperDetectionSelect 2024-07-16 13:29:26.821 DEBUG (MainThread) [custom_components.tapo_control] Tapo Tamper Detection - init - start 2024-07-16 13:29:26.821 DEBUG (MainThread) [custom_components.tapo_control] Tapo Tamper Detection - init - append 2024-07-16 13:29:26.821 DEBUG (MainThread) [custom_components.tapo_control] Tapo Tamper Detection - init - update 2024-07-16 13:29:26.821 DEBUG (MainThread) [custom_components.tapo_control] TapoTamperDetectionSelect updateTapo 1 2024-07-16 13:29:26.821 DEBUG (MainThread) [custom_components.tapo_control] TapoTamperDetectionSelect updateTapo 3 2024-07-16 13:29:26.821 DEBUG (MainThread) [custom_components.tapo_control] TapoTamperDetectionSelect updateTapo 4 2024-07-16 13:29:26.821 DEBUG (MainThread) [custom_components.tapo_control] TapoTamperDetectionSelect updateTapo 6 2024-07-16 13:29:26.822 DEBUG (MainThread) [custom_components.tapo_control] Updating TapoTamperDetectionSelect to: off 2024-07-16 13:29:26.822 DEBUG (MainThread) [custom_components.tapo_control] Tapo Tamper Detection - init - TapoEntity 2024-07-16 13:29:26.822 DEBUG (MainThread) [custom_components.tapo_control] Tapo Tamper Detection - init - SelectEntity 2024-07-16 13:29:26.822 DEBUG (MainThread) [custom_components.tapo_control] Tapo Tamper Detection - init - end 2024-07-16 13:29:26.822 DEBUG (MainThread) [custom_components.tapo_control] Adding tapoTamperDetectionSelect... 2024-07-16 13:29:26.822 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getPresets, creating TapoMoveToPresetSelect 2024-07-16 13:29:26.822 DEBUG (MainThread) [custom_components.tapo_control] Tapo Move to Preset - init - start 2024-07-16 13:29:26.822 DEBUG (MainThread) [custom_components.tapo_control] Tapo Move to Preset - init - append 2024-07-16 13:29:26.822 DEBUG (MainThread) [custom_components.tapo_control] Tapo Move to Preset - init - update 2024-07-16 13:29:26.822 DEBUG (MainThread) [custom_components.tapo_control] Tapo Move to Preset - init - TapoEntity 2024-07-16 13:29:26.822 DEBUG (MainThread) [custom_components.tapo_control] Tapo Move to Preset - init - SelectEntity 2024-07-16 13:29:26.822 DEBUG (MainThread) [custom_components.tapo_control] Tapo Move to Preset - init - end 2024-07-16 13:29:26.822 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoMoveToPresetSelect... 2024-07-16 13:29:26.822 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getPresets, creating TapoPatrolModeSelect 2024-07-16 13:29:26.823 DEBUG (MainThread) [custom_components.tapo_control] Tapo Patrol Mode - init - start 2024-07-16 13:29:26.823 DEBUG (MainThread) [custom_components.tapo_control] Tapo Patrol Mode - init - append 2024-07-16 13:29:26.823 DEBUG (MainThread) [custom_components.tapo_control] Tapo Patrol Mode - init - update 2024-07-16 13:29:26.823 DEBUG (MainThread) [custom_components.tapo_control] Tapo Patrol Mode - init - TapoEntity 2024-07-16 13:29:26.823 DEBUG (MainThread) [custom_components.tapo_control] Tapo Patrol Mode - init - SelectEntity 2024-07-16 13:29:26.823 DEBUG (MainThread) [custom_components.tapo_control] Tapo Patrol Mode - init - end 2024-07-16 13:29:26.823 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoPatrolModeSelect... 2024-07-16 13:29:26.823 DEBUG (MainThread) [custom_components.tapo_control] Found cached capability getWhitelampConfig, creating TapoWhitelampIntensityLevelSelect 2024-07-16 13:29:26.823 DEBUG (MainThread) [custom_components.tapo_control] Tapo Spotlight Intensity - init - start 2024-07-16 13:29:26.823 DEBUG (MainThread) [custom_components.tapo_control] Tapo Spotlight Intensity - init - append 2024-07-16 13:29:26.823 DEBUG (MainThread) [custom_components.tapo_control] Tapo Spotlight Intensity - init - update 2024-07-16 13:29:26.823 DEBUG (MainThread) [custom_components.tapo_control] Tapo Spotlight Intensity - init - TapoEntity 2024-07-16 13:29:26.823 DEBUG (MainThread) [custom_components.tapo_control] Tapo Spotlight Intensity - init - SelectEntity 2024-07-16 13:29:26.823 DEBUG (MainThread) [custom_components.tapo_control] Tapo Spotlight Intensity - init - end 2024-07-16 13:29:26.823 DEBUG (MainThread) [custom_components.tapo_control] Adding TapoWhitelampIntensityLevelSelect... 2024-07-16 13:29:26.833 WARNING (MainThread) [homeassistant.helpers.frame] Detected code that calls async_forward_entry_setup for integration tapo_control with title: 192.168.1.97 and entry_id: 292c435eadc443d80599ca38a716d890, during setup without awaiting async_forward_entry_setup, which can cause the setup lock to be released before the setup is done. This will stop working in Home Assistant 2025.1. Please report this issue. Stack (most recent call last): File "", line 198, in _run_module_as_main File "", line 88, in _run_code File "/usr/src/homeassistant/homeassistant/main.py", line 223, in sys.exit(main()) File "/usr/src/homeassistant/homeassistant/main.py", line 209, in main exit_code = runner.run(runtime_conf) File "/usr/src/homeassistant/homeassistant/runner.py", line 190, in run return loop.run_until_complete(setup_and_run_hass(runtime_config)) File "/usr/local/lib/python3.12/asyncio/base_events.py", line 674, in run_until_complete self.run_forever() File "/usr/local/lib/python3.12/asyncio/base_events.py", line 641, in run_forever self._run_once() File "/usr/local/lib/python3.12/asyncio/base_events.py", line 1990, in _run_once handle._run() File "/usr/local/lib/python3.12/asyncio/events.py", line 88, in _run self._context.run(self._callback, *self._args) File "/usr/src/homeassistant/homeassistant/config_entries.py", line 2122, in async_forward_entry_setup _report_non_awaited_platform_forwards(entry, "async_forward_entry_setup") File "/usr/src/homeassistant/homeassistant/config_entries.py", line 1175, in _report_non_awaited_platform_forwards report( File "/usr/src/homeassistant/homeassistant/helpers/frame.py", line 151, in report _LOGGER.warning(msg, stack_info=True)

Flodapo commented 4 months ago

yes, i know that my version isnt the newest. i wasnt updating because of this issue. if i reboot now i need to get the sd card out of the rpi4 and open the sd in linux to delete the files manuelly

JurajNyiri commented 4 months ago

As I said, upgrade to the latest version. Also as described, the sync occurs after around 1 minute of running and then every 10 minutes. Posting logs just after the start has no value. Keep it running for at least 20 minutes then zip the logs and attach them here, do not post directly as a message.

Flodapo commented 4 months ago

ok, how do i get the log as a zip?

Flodapo commented 4 months ago

do i get them if i disable the debug logs for the integration?

JurajNyiri commented 4 months ago

Just zip the log file. Keep debug logs enabled.

Flodapo commented 4 months ago

where is the log file?

JurajNyiri commented 4 months ago

https://community.home-assistant.io/t/where-does-home-assistant-wirte-the-logs/5989

Please search before asking common basic questions to save us both time.

Flodapo commented 4 months ago

home-assistant-log.zip

Flodapo commented 4 months ago

home-assistant_tapo_control_2024-07-16T11-59-52.398Z.log also got this file

JurajNyiri commented 4 months ago

It's removing the files.

2024-07-16 13:29:57.889 DEBUG (MainThread) [custom_components.tapo_control] Initiating media cleanup for entity 292c435eadc443d80599ca38a716d890...
2024-07-16 13:29:57.890 DEBUG (MainThread) [custom_components.tapo_control] Removing cache files from old HA instances for entity 292c435eadc443d80599ca38a716d890...
2024-07-16 13:29:57.921 DEBUG (MainThread) [custom_components.tapo_control] [deleteFilesNoLongerPresentInCamera] Removing /config/.storage/tapo_control/292c435eadc443d80599ca38a716d890//videos/1721062586-1721062670.mp4 (1721062586-1721062670)...
JurajNyiri commented 4 months ago

Check if this file is still there or is removed.

JurajNyiri commented 4 months ago

There are no log entries for "deleteColdFilesOlderThanMaxSyncTime", set the limit to 1 hour, restart, and keep it running for around 3, then report back with logs.

Flodapo commented 4 months ago

image where is the setting?

JurajNyiri commented 4 months ago

Number of hours to keep synchronized.

Flodapo commented 4 months ago

yeah i got that set like this for about 5 Month and the issue was there the entire time

JurajNyiri commented 4 months ago

Please follow my instructions above. 1, 2.

Flodapo commented 4 months ago

files are still there and i still dont know where to set deleteColdFilesOlderThanMaxSyncTime

JurajNyiri commented 4 months ago

That would be inside the logs, don't worry about that.

/config/.storage/tapo_control/292c435eadc443d80599ca38a716d890//videos/1721062586-1721062670.mp4 Can you confirm this exact file is still present as per right now?

Flodapo commented 4 months ago

please wait, i need to take out the sd card again

JurajNyiri commented 4 months ago

You can just use Terminal & SSH addon for example to easily access the file system.

Flodapo commented 4 months ago

thought so too but i cant get there (most likely to be because root)

JurajNyiri commented 4 months ago

What enironment are you running HA on? If you cannot get there and that exact file is there, filesystem permissions might be messed up and you will need to fix that.

Flodapo commented 4 months ago

didnt you look at my inital post? why dont you read it first and save us some time? :)

JurajNyiri commented 4 months ago

I tried to patiently help you with your environment issues, even repeated myself multiple times when you ignored my questions and provided misleading information as a feedback, I am not going to do that anymore. Locking.