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.98k stars 31.02k forks source link

Reolink WiFi doorbell Person, Motion and Visitor sensors don't update for hours #130960

Open Alllfff opened 1 week ago

Alllfff commented 1 week ago

The problem

Reolink WiFi doorbell Person, Motion and Visitor sensors don't update for hours. The Vehicle sensor seems to be updating without issues.

What version of Home Assistant Core has the issue?

core-2024.11.1

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

No response

Diagnostics information

No response

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

Doorbell firmware V3.0.0.4110_2410111119

home-assistant[bot] commented 6 days 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)

starkillerOG commented 3 days ago

@Alllfff any errors in the log?

What I need to resolve this: Please wait untill the doorbell Person, Motion or Visitor sensor does not work anymore. DO NOT RELOAD. Turn on debug logging of the reolink integration and let it do some logging for about 5 mintues while making some Person/Motion/Visitor events, then turn off debug logging and post the restulting log.txt file here. Also while the doorbell sensor is not working, download the diagnostic info. Then reload the integration and download the diagnostic info a second time. post both diagnostics infos and clearly indicate which one is before reloading and after reloading.

See https://www.home-assistant.io/docs/configuration/troubleshooting/#debug-logs-and-diagnostics

BassXT commented 2 days ago

Hello,

I'm having a similiar issue. Person, Pet and Vehicle don't seem to update but the motionsensor does.

Here is the log FIle. { "home_assistant": { "installation_type": "Home Assistant OS", "version": "2024.11.3", "dev": false, "hassio": true, "virtualenv": false, "python_version": "3.12.4", "docker": true, "arch": "x86_64", "timezone": "Europe/Berlin", "os_name": "Linux", "os_version": "6.6.54-haos", "supervisor": "2024.11.4", "host_os": "Home Assistant OS 13.2", "docker_version": "27.2.0", "chassis": "vm", "run_as_root": true }, "custom_components": { "smartthinq_sensors": { "documentation": "https://github.com/ollo69/ha-smartthinq-sensors", "version": "0.40.3", "requirements": [ "pycountry>=23.12.11", "xmltodict>=0.13.0", "charset_normalizer>=3.2.0" ] }, "teamtracker": { "documentation": "https://github.com/vasqued2/ha-teamtracker", "version": "0.1", "requirements": [ "arrow", "aiofiles" ] }, "localtuya": { "documentation": "https://github.com/rospogrigio/localtuya/", "version": "5.2.1", "requirements": [] }, "browser_mod": { "documentation": "https://github.com/thomasloven/hass-browser_mod/blob/master/README.md", "version": "2.3.1", "requirements": [] }, "shopping_list": { "documentation": "https://www.home-assistant.io/integrations/shopping_list", "version": "0.7", "requirements": [] }, "seatconnect": { "documentation": "https://github.com/farfar/homeassistant-seatconnect/blob/main/README.md", "version": "1.1.9", "requirements": [ "seatconnect>=1.1.9", "homeassistant>=2021.12.0" ] }, "samsungtv_smart": { "documentation": "https://github.com/ollo69/ha-samsungtv-smart", "version": "0.13.5", "requirements": [ "websocket-client!=1.4.0,>=0.58.0", "wakeonlan>=2.0.0", "aiofiles>=0.8.0", "casttube>=0.2.1" ] }, "bring": { "documentation": "https://github.com/sh00t2kill/HA-Bring-ToDo-List", "version": "1.3.0", "requirements": [] }, "waste_collection_schedule": { "documentation": "https://github.com/mampfes/hacs_waste_collection_schedule#readme", "version": "2.4.0", "requirements": [ "icalendar", "recurring_ical_events", "icalevents>=0.1.26,!=0.1.28", "beautifulsoup4", "lxml", "pycryptodome" ] }, "dwd_weather": { "documentation": "https://github.com/FL550/dwd_weather", "version": "2.1.24", "requirements": [ "simple_dwd_weatherforecast==2.1.13", "markdownify==0.6.5", "suntimes==1.1.2" ] }, "hacs": { "documentation": "https://hacs.xyz/docs/configuration/start", "version": "2.0.1", "requirements": [ "aiogithubapi>=22.10.1" ] }, "robovac": { "documentation": "https://github.com/codefoodpixels/robovac", "version": "1.0.0", "requirements": [] }, "alarmo": { "documentation": "https://github.com/nielsfaber/alarmo", "version": "v1.10.7", "requirements": [] }, "webrtc": { "documentation": "https://github.com/AlexxIT/WebRTC", "version": "v3.6.0", "requirements": [] } }, "integration_manifest": { "domain": "reolink", "name": "Reolink IP NVR/camera", "codeowners": [ "starkillerOG" ], "config_flow": true, "dependencies": [ "webhook" ], "dhcp": [ { "hostname": "reolink*" }, { "macaddress": "EC71DB*" }, { "registered_devices": true } ], "documentation": "https://www.home-assistant.io/integrations/reolink", "iot_class": "local_push", "loggers": [ "reolink_aio" ], "requirements": [ "reolink-aio==0.11.2" ], "is_built_in": true, "overwrites_built_in": false }, "setup_times": { "null": { "setup": 0.0015885112807154655 }, "214e455508e9d63701e75312333beebb": { "wait_import_platforms": -6.943742673844099, "config_entry_setup": 11.181872677057981 }, "5856b7f639381a47a913d05e7d4d3c3f": { "wait_import_platforms": -6.9411191451363266, "config_entry_setup": 11.24981484375894 }, "6779a28bd2acca3758db9d54ae29a7fa": { "wait_import_platforms": -5.36535748001188, "config_entry_setup": 11.276867777109146 } }, "data": { "model": "RLC-811A", "hardware version": "IPC_523128M8MP", "firmware version": "v3.1.0.1643_2402219117", "HTTPS": true, "HTTP(S) port": 443, "WiFi connection": false, "WiFi signal": null, "RTMP enabled": true, "RTSP enabled": true, "ONVIF enabled": true, "event connection": "ONVIF push", "stream protocol": "rtmp", "channels": [ 0 ], "stream channels": [ 0 ], "IPC cams": { "0": { "model": "RLC-811A", "hardware version": "IPC_523128M8MP", "firmware version": "v3.1.0.1643_2402219117", "encoding main": "h264" } }, "capabilities": { "Host": [ "recording", "UID", "reboot", "ftp", "email", "push", "ONVIF", "performance", "RTSP", "firmware", "update", "RTMP" ], "0": [ "audio", "ai_delay", "dayNight", "replay", "isp_bright", "isp_sharpen", "ir_lights", "focus", "zoom", "ai_sensitivity", "isp_satruation", "auto_focus", "motion_detection", "floodLight", "dayNightThreshold", "siren_play", "volume", "md_sensitivity", "isp_contrast", "backLight", "zoom_basic", "siren", "ptz" ] }, "cmd list": { "GetWhiteLed": { "null": 3, "0": 3 }, "GetZoomFocus": { "null": 2, "0": 2 }, "GetAudioCfg": { "null": 1, "0": 1 }, "GetMdAlarm": { "null": 1, "0": 1 }, "GetAiAlarm": { "null": 3, "0": 3 }, "GetIsp": { "null": 1, "0": 1 }, "GetIrLights": { "null": 1, "0": 1 }, "GetEnc": { "null": 1, "0": 1 }, "GetAudioAlarm": { "null": 1, "0": 1 }, "GetAutoFocus": { "null": 1, "0": 1 }, "GetEmail": { "null": 1 }, "GetFtp": { "null": 1 }, "GetPush": { "null": 1 }, "GetRec": { "null": 1 } }, "firmware ch list": [ null ], "api versions": { "GetEvents": 0, "GetWhiteLed": 1, "GetAudioCfg": 1, "GetDeviceAudioCfg": 0, "GetPtzGuard": 0, "GetPtzCurPos": 0, "GetEmail": 1, "GetPush": 1, "GetFtp": 1, "GetRec": 1, "GetAudioAlarm": 1, "GetMdAlarm": 1 }, "abilities": { "3g": { "permit": 0, "ver": 0 }, "abilityChn": [ { "aiTrack": { "permit": 0, "ver": 0 }, "aiTrackDogCat": { "permit": 0, "ver": 0 }, "alarmAudio": { "permit": 6, "ver": 1 }, "alarmIoIn": { "permit": 0, "ver": 0 }, "alarmIoOut": { "permit": 0, "ver": 0 }, "alarmMd": { "permit": 6, "ver": 1 }, "alarmRf": { "permit": 0, "ver": 0 }, "batAnalysis": { "permit": 0, "ver": 0 }, "battery": { "permit": 0, "ver": 0 }, "cameraMode": { "permit": 6, "ver": 0 }, "disableAutoFocus": { "permit": 6, "ver": 1 }, "enc": { "permit": 6, "ver": 1 }, "floodLight": { "permit": 0, "ver": 0 }, "ftp": { "permit": 6, "ver": 6 }, "image": { "permit": 6, "ver": 1 }, "indicatorLight": { "permit": 0, "ver": 0 }, "isp": { "permit": 6, "ver": 1 }, "isp3Dnr": { "permit": 0, "ver": 0 }, "ispAntiFlick": { "permit": 6, "ver": 1 }, "ispBackLight": { "permit": 0, "ver": 0 }, "ispBright": { "permit": 6, "ver": 1 }, "ispContrast": { "permit": 6, "ver": 1 }, "ispDayNight": { "permit": 6, "ver": 1 }, "ispExposureMode": { "permit": 0, "ver": 0 }, "ispFlip": { "permit": 6, "ver": 1 }, "ispHue": { "permit": 0, "ver": 0 }, "ispMirror": { "permit": 6, "ver": 1 }, "ispSatruation": { "permit": 6, "ver": 1 }, "ispSharpen": { "permit": 6, "ver": 1 }, "ispWhiteBalance": { "permit": 6, "ver": 0 }, "ledControl": { "permit": 6, "ver": 1 }, "live": { "permit": 4, "ver": 1 }, "mainEncType": { "permit": 0, "ver": 0 }, "mask": { "permit": 6, "ver": 1 }, "mdTriggerAudio": { "permit": 0, "ver": 0 }, "mdTriggerRecord": { "permit": 0, "ver": 0 }, "mdWithPir": { "permit": 0, "ver": 0 }, "osd": { "permit": 6, "ver": 1 }, "powerLed": { "permit": 0, "ver": 0 }, "ptzCtrl": { "permit": 7, "ver": 2 }, "ptzDirection": { "permit": 1, "ver": 0 }, "ptzPatrol": { "permit": 0, "ver": 0 }, "ptzPreset": { "permit": 0, "ver": 0 }, "ptzTattern": { "permit": 0, "ver": 0 }, "ptzType": { "permit": 0, "ver": 1 }, "recCfg": { "permit": 6, "ver": 1 }, "recDownload": { "permit": 6, "ver": 1 }, "recReplay": { "permit": 6, "ver": 1 }, "recSchedule": { "permit": 6, "ver": 2 }, "shelterCfg": { "permit": 6, "ver": 1 }, "snap": { "permit": 6, "ver": 1 }, "supportAi": { "permit": 6, "ver": 1 }, "supportAiAnimal": { "permit": 0, "ver": 0 }, "supportAiDetectConfig": { "permit": 6, "ver": 1 }, "supportAiDogCat": { "permit": 6, "ver": 1 }, "supportAiFace": { "permit": 0, "ver": 0 }, "supportAiPeople": { "permit": 6, "ver": 1 }, "supportAiSensitivity": { "permit": 6, "ver": 1 }, "supportAiStayTime": { "permit": 6, "ver": 1 }, "supportAiTargetSize": { "permit": 6, "ver": 1 }, "supportAiTrackClassify": { "permit": 0, "ver": 0 }, "supportAiVehicle": { "permit": 6, "ver": 1 }, "supportAoAdjust": { "permit": 0, "ver": 1 }, "supportFLBrightness": { "permit": 6, "ver": 1 }, "supportFLIntelligent": { "permit": 6, "ver": 1 }, "supportFLKeepOn": { "permit": 0, "ver": 0 }, "supportFLSchedule": { "permit": 6, "ver": 1 }, "supportFLswitch": { "permit": 6, "ver": 1 }, "supportGop": { "permit": 0, "ver": 1 }, "supportMd": { "permit": 6, "ver": 1 }, "supportPtzCalibration": { "permit": 0, "ver": 0 }, "supportPtzCheck": { "permit": 0, "ver": 0 }, "supportThresholdAdjust": { "permit": 6, "ver": 1 }, "supportWhiteDark": { "permit": 6, "ver": 1 }, "videoClip": { "permit": 6, "ver": 2 }, "waterMark": { "permit": 6, "ver": 1 }, "white_balance": { "permit": 6, "ver": 0 } } ], "alarmAudio": { "permit": 6, "ver": 1 }, "alarmDisconnet": { "permit": 6, "ver": 1 }, "alarmHddErr": { "permit": 6, "ver": 1 }, "alarmHddFull": { "permit": 6, "ver": 1 }, "alarmIpConflict": { "permit": 6, "ver": 1 }, "auth": { "permit": 6, "ver": 1 }, "autoMaint": { "permit": 6, "ver": 1 }, "cloudStorage": { "permit": 0, "ver": 0 }, "customAudio": { "permit": 1, "ver": 1 }, "dateFormat": { "permit": 6, "ver": 1 }, "ddns": { "permit": 6, "ver": 9 }, "ddnsCfg": { "permit": 6, "ver": 1 }, "devInfo": { "permit": 4, "ver": 1 }, "devName": { "permit": 6, "ver": 2 }, "disableAutoFocus": { "permit": 6, "ver": 1 }, "disk": { "permit": 0, "ver": 0 }, "display": { "permit": 6, "ver": 1 }, "email": { "permit": 6, "ver": 3 }, "emailInterval": { "permit": 6, "ver": 1 }, "emailSchedule": { "permit": 6, "ver": 1 }, "exportCfg": { "permit": 4, "ver": 0 }, "ftpAutoDir": { "permit": 6, "ver": 1 }, "ftpExtStream": { "permit": 6, "ver": 1 }, "ftpPic": { "permit": 0, "ver": 0 }, "ftpSubStream": { "permit": 6, "ver": 1 }, "ftpTest": { "permit": 6, "ver": 0 }, "hourFmt": { "permit": 6, "ver": 2 }, "http": { "permit": 6, "ver": 3 }, "httpFlv": { "permit": 6, "ver": 1 }, "https": { "permit": 6, "ver": 3 }, "importCfg": { "permit": 1, "ver": 0 }, "ipcManager": { "permit": 6, "ver": 1 }, "ledControl": { "permit": 7, "ver": 1 }, "localLink": { "permit": 6, "ver": 1 }, "log": { "permit": 6, "ver": 1 }, "mediaPort": { "permit": 6, "ver": 1 }, "ntp": { "permit": 6, "ver": 1 }, "online": { "permit": 6, "ver": 1 }, "onvif": { "permit": 6, "ver": 3 }, "p2p": { "permit": 6, "ver": 1 }, "performance": { "permit": 4, "ver": 1 }, "pppoe": { "permit": 6, "ver": 0 }, "push": { "permit": 6, "ver": 1 }, "pushSchedule": { "permit": 6, "ver": 1 }, "reboot": { "permit": 1, "ver": 1 }, "recExtensionTimeList": { "permit": 6, "ver": 1 }, "recOverWrite": { "permit": 6, "ver": 1 }, "recPackDuration": { "permit": 6, "ver": 0 }, "recPreRecord": { "permit": 6, "ver": 1 }, "restore": { "permit": 1, "ver": 1 }, "rtmp": { "permit": 6, "ver": 3 }, "rtsp": { "permit": 6, "ver": 3 }, "scheduleVersion": { "permit": 6, "ver": 1 }, "sdCard": { "permit": 6, "ver": 1 }, "showQrCode": { "permit": 6, "ver": 0 }, "simMoudule": { "permit": 6, "ver": 0 }, "supportAudioAlarm": { "permit": 6, "ver": 1 }, "supportAudioAlarmEnable": { "permit": 6, "ver": 1 }, "supportAudioAlarmSchedule": { "permit": 6, "ver": 1 }, "supportAudioAlarmTaskEnable": { "permit": 6, "ver": 1 }, "supportBuzzer": { "permit": 0, "ver": 0 }, "supportBuzzerEnable": { "permit": 0, "ver": 0 }, "supportBuzzerTask": { "permit": 0, "ver": 0 }, "supportBuzzerTaskEnable": { "permit": 0, "ver": 0 }, "supportEmailEnable": { "permit": 6, "ver": 1 }, "supportEmailTaskEnable": { "permit": 6, "ver": 1 }, "supportFtpCoverPicture": { "permit": 6, "ver": 1 }, "supportFtpCoverVideo": { "permit": 6, "ver": 1 }, "supportFtpDirYM": { "permit": 6, "ver": 1 }, "supportFtpEnable": { "permit": 6, "ver": 1 }, "supportFtpPicCaptureMode": { "permit": 6, "ver": 1 }, "supportFtpPicResoCustom": { "permit": 6, "ver": 0 }, "supportFtpPictureSwap": { "permit": 6, "ver": 1 }, "supportFtpTask": { "permit": 6, "ver": 1 }, "supportFtpTaskEnable": { "permit": 6, "ver": 1 }, "supportFtpVideoSwap": { "permit": 6, "ver": 1 }, "supportFtpsEncrypt": { "permit": 6, "ver": 1 }, "supportHttpEnable": { "permit": 6, "ver": 1 }, "supportHttpsEnable": { "permit": 6, "ver": 1 }, "supportOnvifEnable": { "permit": 6, "ver": 1 }, "supportPushInterval": { "permit": 6, "ver": 1 }, "supportRecScheduleEnable": { "permit": 6, "ver": 1 }, "supportRecordEnable": { "permit": 6, "ver": 1 }, "supportRtmpEnable": { "permit": 6, "ver": 1 }, "supportRtspEnable": { "permit": 6, "ver": 1 }, "talk": { "permit": 4, "ver": 1 }, "time": { "permit": 6, "ver": 2 }, "tvSystem": { "permit": 6, "ver": 0 }, "upgrade": { "permit": 1, "ver": 2 }, "upnp": { "permit": 6, "ver": 1 }, "user": { "permit": 6, "ver": 1 }, "videoClip": { "permit": 6, "ver": 2 }, "wifi": { "permit": 0, "ver": 0 }, "wifiTest": { "permit": 6, "ver": 0 } } } }

starkillerOG commented 1 day ago

@BassXT that is the diagnostics info file, also usefull, but I needed a debug log file. please post as log.txt.

Have a look at https://www.home-assistant.io/docs/configuration/troubleshooting/#enabling-debug-logging

BassXT commented 1 day ago

Sorry, I’m not very active on GitHub and don’t really know how to post in the correct format, but I promise to improve.

I had to roll back to Home Assistant 2024.11.2 because my doorbell is triggered through the camera, and my wife will kill me if it continues not to work. I’ll try updating again over the weekend and will collect the logs.

By the way, everything works as expected with the old version.

starkillerOG commented 6 hours ago

@BassXT It works in the old version since the TCP push connection was not implemented there. The new TCP push connection provides faster updates and pushes data for more entities than only the motion/AI sensors. But apperently there is a bug specific to the Reolink WiFi doorbell.

@Alllfff could you provide me with the needed debug log.txt?