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

Synology integration returns error when adding DSM with VLAN network config #107288

Open
agios opened this issue Jan 5, 2024 · 3 comments
Open
Assignees
Labels
integration: synology_dsm problem in device Issue lies within the device, such firmware, software, or user customization/config

Comments

@agios
Copy link

agios commented Jan 5, 2024

The problem

When trying to add a Synology DSM with a multiple VLAN network configuration the following error eccurs:

image

The problem seems to be that when you have a custom network setup on Synolgy, then the SYNO.DSM.Network call returns an empty interfaces list:

{
  "data": {
    "dns": [
      "192.168.98.1"
    ],
    "gateway": "192.168.98.1",
    "hostname": "nvr",
    "interfaces": [],
    "workgroup": "WORKGROUP"
  },
  "success": true
}

What version of Home Assistant Core has the issue?

core-2023.12.1

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

home-assistant_synology_dsm_2024-01-05T19-29-13.312Z.log

Example YAML snippet

No response

Anything in the logs that might be useful for us?

No response

Additional information

No response

@home-assistant
Copy link

home-assistant bot commented Jan 5, 2024

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)

@moritzvomberg
Copy link

moritzvomberg commented Feb 19, 2024

Confirming this behavior...since days trying to add synology rackstation without success...

in syno log i see a successfull login... in HA logs also ... almost... but thats it...

have the same "missing data error" ... at the end the integration dont integrate :-/

same empty interface list in API query...like the thread creator...any hints regarding syno api?

@mib1185 mib1185 added the problem in device Issue lies within the device, such firmware, software, or user customization/config label Apr 3, 2024
@mib1185
Copy link
Contributor

mib1185 commented Apr 3, 2024

unfortunately, this is a bug in the DSM itself.
we need the list of interfaces - especial their mac addresses - to identify and ignore already configured nas in HA during automatic discovery (ssdp)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
integration: synology_dsm problem in device Issue lies within the device, such firmware, software, or user customization/config
Projects
None yet
Development

No branches or pull requests

4 participants