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

[C510] No motion sensor (Invalid IPv4 address?) #595

Closed
gogui63 opened this issue May 27, 2024 · 2 comments
Closed

[C510] No motion sensor (Invalid IPv4 address?) #595

gogui63 opened this issue May 27, 2024 · 2 comments
Labels
Invalid Bug/Enhancement not related to integration or already available.

Comments

@gogui63
Copy link

gogui63 commented May 27, 2024

Description

I recently installed a C510 camera but I can't achieve to have motion detection (working fine on two C210 at home).

I followed the troubleshooting, I restarted the camera, configured it again, checked if motion is enable but without success.
I receive motions notifications on my phone using Tapo application but nothing on HA side.

In the logs I have two errors (see in the logs section of the issue). And for your information, this camera (like the two C210s) records in Surveillance Station on my NAS.
I don't understand why I have "Invalid IPv4 address" in logs. C510 is connected to my Unifi AP with a fixed IP.

Reproduction Steps

  1. Go to Tapo integration
  2. Select C510
  3. List sensors

Expected behavior

  1. Go to Tapo integration
  2. Select C510
  3. List sensors
  4. Have motion sensor

If applicable, add error logs.

Enregistreur: custom_components.tapo_control
Source: custom_components/tapo_control/utils.py:612
intégration: Tapo: Cameras Control (documentation, problèmes)
S'est produit pour la première fois: 10:14:24 (281 occurrences)
Dernier enregistrement: 11:03:38

Invalid IPv4 address: '192.168.30.04'

Cette erreur provient d'une intégration personnalisée

Enregistreur: custom_components.tapo_control
Source: custom_components/tapo_control/utils.py:611
intégration: Tapo: Cameras Control (documentation, problèmes)
S'est produit pour la première fois: 10:14:24 (281 occurrences)
Dernier enregistrement: 11:03:38

[initOnvifEvents] Initiating onvif connection failed.

Device Firmware

1.2.1 Build 240401 Rel.61067n

Integration Version

5.4.18

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 Proxmox VE

Search for similar issues

Yes

Additional information

No response

@JurajNyiri
Copy link
Owner

Please proceed with following steps:

  1. Enable debug logs and post them
  2. Disable camera entity in Home Assistant Tapo: Cameras control integration. Then configure onvif integration. If it does not work there, open issue with core home assistant.

This integration mostly reuses the functionality inside the onvif core integration.

@gogui63
Copy link
Author

gogui63 commented May 27, 2024

Issue solved... Sorry for the issue, It was on log :

I used 192.168.30.04 instead of 192.168.30.4 (without 0) and now all working fine

@gogui63 gogui63 closed this as completed May 27, 2024
@JurajNyiri JurajNyiri added the Invalid Bug/Enhancement not related to integration or already available. label Jul 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Invalid Bug/Enhancement not related to integration or already available.
Projects
None yet
Development

No branches or pull requests

2 participants