Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Noise entity getting unavailable #848

Open
Mascheck277 opened this issue Jan 31, 2025 · 8 comments
Open

Noise entity getting unavailable #848

Mascheck277 opened this issue Jan 31, 2025 · 8 comments

Comments

@Mascheck277
Copy link

Description

I have a Tapo C220 and wanted to check if there is any noise at night to detect my son waking up. The standard baby crying feature is not detecting my sons crying. So I want to trigger a critical notification and turn on the lights when noise is detected in his room at night. This feature worked from setting up for a few hours until 11pm. Then it switched to unavailable and a few hours later thats still the case.

Reproduction Steps

Set up and wait until noise entitiy switches to unabailable

Expected behavior

Noise entitiy should be available the whole time.

If applicable, add error logs.

No response

Device Firmware

version: 1.2.2 Build 240914 Rel.55174n

Integration Version

6.0.9

Using stream component

Yes

Does camera work via official integrations?

Yes

Camera has all attributes filled out in developer tools

Yes

HASS Environment

HAOS on RPi5

Search for similar issues

Yes

Additional information

No response

@JurajNyiri
Copy link
Owner

Please post debug logs.

@Mascheck277
Copy link
Author

I have activated the debug logs a few minutes ago. At the moment the noise entity is available again. I will post the logs when the error occurs the next time. I think this will be in the course of the day.

@Alokin90
Copy link

Alokin90 commented Feb 2, 2025

Same, my logs are full of this error:
2025-02-02 17:05:04.945 ERROR (MainThread) [custom_components.tapo_control] Unexpected error fetching Tapo resource status data Traceback (most recent call last): File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 379, in _async_refresh self.data = await self._async_update_data() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 280, in _async_update_data return await self.update_method() ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/tapo_control/__init__.py", line 485, in async_update_data await syncTime(hass, entry.entry_id) File "/config/custom_components/tapo_control/utils.py", line 1512, in syncTime await device_mgmt.SetSystemDateAndTime(time_params) File "/usr/local/lib/python3.13/site-packages/zeep/proxy.py", line 64, in __call__ return await self._proxy._binding.send_async( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ...<5 lines>... ) ^ File "/usr/local/lib/python3.13/site-packages/zeep/wsdl/bindings/soap.py", line 164, in send_async return self.process_reply(client, operation_obj, response) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/zeep/wsdl/bindings/soap.py", line 229, in process_reply return self.process_error(doc, operation) ~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.13/site-packages/zeep/wsdl/bindings/soap.py", line 391, in process_error raise Fault( ...<5 lines>... ) zeep.exceptions.Fault: error time

@Alokin90
Copy link

Alokin90 commented Feb 2, 2025

@JurajNyiri
Here is the log file with debug logs, it's too long for me to reach the bottom on the phone, so I couldn't check it.

home-assistant.log

@Alokin90
Copy link

Alokin90 commented Feb 4, 2025

I think this is linked to #854 as the sync time button doesn't work for me either.
The error also looks like an issue with time.

@JurajNyiri
Copy link
Owner

Thank you @Alokin90 , you are definitely experiencing the issue with time sync as well, but that should not be related to the noise entity availability. Could you please disable time sync via integration options and see if the issue with noise entity persists?

@Alokin90
Copy link

Alokin90 commented Feb 4, 2025

Thanks! I didn't know it was possible to disable it.
After disabling time sync and restarting, the noise entity is back.

@Alokin90
Copy link

Alokin90 commented Feb 5, 2025

To clarify, I did try many times to restart and reboot everything: wifi, HA, host, camera. It never worked until disabling time sync and restarting HA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants