home-assistant / core

:house_with_garden: Open source home automation that puts local control and privacy first.
https://www.home-assistant.io
Apache License 2.0
73.45k stars 30.69k forks source link

Reolink OnVif camera not working after HA 2024.2.5 or HAOS 12 #111764

Closed jmcollin78 closed 1 month ago

jmcollin78 commented 8 months ago

The problem

Since the update of HA core 2024.2.5 or HAOS 12, the onvif integration don't work.

I have this message:

URL du webhook Reolink inaccessible
Non réception de l'état ONVIF initial de Camera exterieure. La caméra Reolink ne peut probablement pas atteindre l'URL actuelle (locale) de Home Assistant http://192.168.1.64:8123, veuillez configurer une adresse HTTP (locale) sous "Home Assistant URL" dans les paramètres réseau qui pointe vers Home Assistant. Par exemple http://192.168.1.10:8123 où 192.168.1.10 est l'IP de Home Assistant. Assurez-vous également que la caméra Reolink peut accéder à cette URL. Utiliser l'interrogation rapide de l'état de mouvement/AI jusqu'à ce que le premier push ONVIF soit reçu.

Avertissement - 28/02/2024

and many logs errors like:

2024-02-28 22:38:33.081 ERROR (MainThread) [homeassistant.components.reolink.host] Reolink Camera exterieure event long polling subscription lost: Host 192.168.1.122:443: failed to subscribe long_poll: Host 192.168.1.122:443: connection timeout exception.

What version of Home Assistant Core has the issue?

core-2024.2.5

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant OS

Integration causing the issue

Reolink

Link to integration documentation on our website

https://www.home-assistant.io/integrations/reolink/

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

My full configuration:

System Information

version core-2024.2.5
installation_type Home Assistant OS
dev false
hassio true
docker true
user root
virtualenv false
python_version 3.12.1
os_name Linux
os_version 6.1.73-haos-raspi
arch aarch64
timezone Europe/Paris
config_dir /config
Home Assistant Community Store GitHub API | ok -- | -- GitHub Content | ok GitHub Web | ok GitHub API Calls Remaining | 5000 Installed Version | 1.34.0 Stage | running Available Repositories | 1407 Downloaded Repositories | 44
Home Assistant Cloud logged_in | false -- | -- can_reach_cert_server | ok can_reach_cloud_auth | ok can_reach_cloud | ok
Home Assistant Supervisor host_os | Home Assistant OS 12.0 -- | -- update_channel | stable supervisor_version | supervisor-2024.02.0 agent_version | 1.6.0 docker_version | 24.0.7 disk_total | 457.7 GB disk_used | 23.3 GB healthy | true supported | true board | rpi4-64 supervisor_api | ok version_api | ok installed_addons | Home Assistant Google Drive Backup (0.112.1), Samba share (12.3.0), InfluxDB (5.0.0), Glances (0.21.0), Let's Encrypt (5.0.15), NGINX Home Assistant SSL proxy (3.8.0), SQLite Web (4.1.2), AppDaemon (0.16.4), Piper (1.5.0), Whisper (1.0.2), Mosquitto broker (6.4.0), Zigbee2MQTT (1.35.3-1), Studio Code Server (5.15.0)
Dashboards dashboards | 7 -- | -- resources | 24 views | 43 mode | storage
Recorder oldest_recorder_run | 25 février 2024 à 08:02 -- | -- current_recorder_run | 28 février 2024 à 21:05 estimated_db_size | 576.77 MiB database_engine | sqlite database_version | 3.44.2
Sonoff version | 3.6.0 (8dd8af9) -- | -- cloud_online | 9 / 9 local_online | 9 / 9 debug | failed to load:
home-assistant[bot] commented 8 months ago

Hey there @starkillerog, mind taking a look at this issue as it has been labeled with an integration (reolink) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `reolink` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign reolink` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


reolink documentation reolink source (message by IssueLinks)

jmcollin78 commented 8 months ago

Update : i think my message is not clear. The camera and the Reolink integration seems to works fine. Only the Onvif integration on this camera which was working like a charm before the update is broken.

home-assistant[bot] commented 8 months ago

Hey there @hunterjm, mind taking a look at this issue as it has been labeled with an integration (onvif) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `onvif` can trigger bot actions by commenting: - `@home-assistant close` Closes the issue. - `@home-assistant rename Awesome new title` Renames the issue. - `@home-assistant reopen` Reopen the issue. - `@home-assistant unassign onvif` Removes the current integration label and assignees on the issue, add the integration domain after the command. - `@home-assistant add-label needs-more-information` Add a label (needs-more-information, problem in dependency, problem in custom component) to the issue. - `@home-assistant remove-label needs-more-information` Remove a label (needs-more-information, problem in dependency, problem in custom component) on the issue.

(message by CodeOwnersMention)


onvif documentation onvif source (message by IssueLinks)

edmsoares commented 7 months ago

Hello. I also have a few Reolink cameras and they are working fine with 2023.3.3 despite some eventual failures like "[homeassistant.components.onvif] Fetch snapshot image failed from , falling back to FFmpeg" but I enabled webhooks. I'm using the HA docker container.

Note: in version 2023.4.0, I notice this error to be happening too often: "[homeassistant.components.onvif] Fetch snapshot image failed from , falling back to FFmpeg; Unknown error: All connection attempts failed" but camera video stream and snapshot still work.

issue-triage-workflows[bot] commented 4 months ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.

jmcollin78 commented 4 months ago

Still an issue

issue-triage-workflows[bot] commented 1 month ago

There hasn't been any activity on this issue recently. Due to the high number of incoming GitHub notifications, we have to clean some of the old issues, as many of them have already been resolved with the latest updates. Please make sure to update to the latest Home Assistant version and check if that solves the issue. Let us know if that works for you by adding a comment 👍 This issue has now been marked as stale and will be closed if no further activity occurs. Thank you for your contributions.