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.95k stars 31k forks source link

Synology DSM is not pulling in Cameras from Surveillance Station #129857

Open bradsour opened 2 weeks ago

bradsour commented 2 weeks ago

The problem

Surveillance Station Cameras are not being loaded. I have set up a home_assistant user on my Diskstations and the user has access to the surveillance station application on both Diskstations. At one point previously I did have this working from both Diskstations but I don't recall what version of Home Assistant this was with.

I have attempted to reload the integration to no avail. I attempted to delete the integration and configure it again to no avail. Updating from 2024.6.1 to 2024.10.4 has not helped either. I am getting a user permissions error in my log file that doesn't make sense since I have enabled the user to have access to the Surveillance Station application. I do get the ability to toggle the Home Mode from Surveillance Station.

I do not have 2fa enabled on the diskstations. All other sensors are showing up and are available.

What version of Home Assistant Core has the issue?

2024.10.4

What was the last working version of Home Assistant Core?

No response

What type of installation are you running?

Home Assistant Container

Integration causing the issue

Synology_DSM

Link to integration documentation on our website

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

Diagnostics information

config_entry-synology_dsm-01JBWHJ7D9QRCWYCQRFSD1V7X7.json

Example YAML snippet

No response

Anything in the logs that might be useful for us?

Logger: homeassistant.components.synology_dsm.common
Source: components/synology_dsm/common.py:141
integration: Synology DSM (documentation, issues)
First occurred: 1:16:04 PM (10 occurrences)
Last logged: 4:40:39 PM

Surveillance Station found, but disabled due to missing user permissions

Additional information

I also created a second synology user, but have received the same results.

home-assistant[bot] commented 2 weeks ago

Hey there @hacf-fr, @quentame, @mib1185, mind taking a look at this issue as it has been labeled with an integration (synology_dsm) you are listed as a code owner for? Thanks!

Code owner commands Code owners of `synology_dsm` 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 synology_dsm` 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)


synology_dsm documentation synology_dsm source (message by IssueLinks)

mib1185 commented 2 weeks ago

maybe you encounter https://github.com/home-assistant/home-assistant.io/issues/35049 :thinking:

bradsour commented 2 weeks ago

I did check on that and I have given permissions in Surveillance Station.

On Tue, Nov 5, 2024, 6:47 PM Michael @.***> wrote:

maybe you encounter home-assistant/home-assistant.io#35049 https://github.com/home-assistant/home-assistant.io/issues/35049 🤔

— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/129857#issuecomment-2458423457, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYJM2P3JBZRHJGWJLO7UO3Z7FKHLAVCNFSM6AAAAABRFGVGM6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJYGQZDGNBVG4 . You are receiving this because you authored the thread.Message ID: @.***>

bradsour commented 2 weeks ago

I logged into DSM and Surveillance Station with my home_assistant user and it allowed me to do so. There was no blocking from the Synology side of things.

Below i have included an image of my user in Surveillance Station showing it has Administrative privileges.

image

Forge36 commented 2 weeks ago

What version is your DSM?

bradsour commented 2 weeks ago

I have a 1520+ and a 413j. Neither are reporting cameras.

On Sun, Nov 10, 2024, 7:26 PM Forge @.***> wrote:

What version is your DSM?

— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/129857#issuecomment-2467014218, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYJM2MUGVK6AK64KZ4DVKTZ772TRAVCNFSM6AAAAABRFGVGM6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRXGAYTIMRRHA . You are receiving this because you authored the thread.Message ID: @.***>

Forge36 commented 2 weeks ago

Are you fully up to date?

I'm on a ds416j I upgraded to DSM 7.2.2-72806 And the problem stated. I took another update to DSM 7.2.2-72806 Update 1 and the issue went away.

I had to manually upgrade today, introducing the issue and then a second upgrade resolved the issue. Unclear if it's the second update or the restart/luck on my part.

bradsour commented 2 weeks ago

I am fully up to date, but I've had the issue for some time now. I believe when I upgraded DSM to 7.2. Or maybe even 7.2.1.

On Sun, Nov 10, 2024, 8:15 PM Forge @.***> wrote:

Are you fully up to date?

I'm on a ds416j I upgraded to DSM 7.2.2-72806 And the problem stated. I took another update to DSM 7.2.2-72806 Update 1

I had to manually upgrade today, introducing the issue and then a second upgrade resolved the issue. Unclear if it's the second update or the restart/luck on my part.

— Reply to this email directly, view it on GitHub https://github.com/home-assistant/core/issues/129857#issuecomment-2467048336, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABYJM2KSVYW6VGPYIJWZ37D2AAAKNAVCNFSM6AAAAABRFGVGM6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINRXGA2DQMZTGY . You are receiving this because you authored the thread.Message ID: @.***>

bradsour commented 6 days ago

Is there anything else I can provide to help track this down. It's frustrating that it used to work, but now it doesn't.