Closed P-Verbrugge closed 2 years ago
Updated the id's to not display it completely. :)
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!
(message by CodeOwnersMention)
synology_dsm documentation synology_dsm source (message by IssueLinks)
Extra log error after the above errors, which seems logically. :)
Error fetching 1490M7Nxxxxxx_central data: Error communicating with API: 'NoneType' object has no attribute 'get'
Hi @P-Verbrugge
please enable debug logging, restart HA and provide the home-assistant.log.
To do so add the following to your configuration.yaml
:
logger:
default: info
logs:
homeassistant.components.synology_dsm: debug
synology_dsm: debug
Further if possible please download and provide the diagnostics data for this integration.
Note: it is better to drag the log into the comment (which will add it as an attachment) and not copy paste as it is hard to read logs in GitHub.
one further question - do you have multiple Ip addresses on different network interfaces in same subnet configured? If yes, please have a look into the Synology DSM documentation
Here is my log: homeassistant.log
And the diagnostics: config_entry-synology_dsm-5585b1f91b4f40afac1939fd988b666a.json.txt
Strange thing, is that the problem does not occur on every reboot.
one further question - do you have multiple Ip addresses on different network interfaces in same subnet configured? If yes, please have a look into the Synology DSM documentation
Hmmm. I did experiment with the second ethernet port on my NAS. Both ethernet ports where in the same subnet and used their own IP. I pulled the plug on the second port now. Perhaps that will solve the issue.
If you need a suggestion on how to use both NICs, you can find a hint in the docs 😉 Nevertheless, I will close this topic as it is not a bug in HA. Thx👍
same problem here with Synology DS220+ 2 Bay Desktop NAS - Netzwerkspeicher Gehäuse (10GB RAM), DSM 7.1-42661 Update 2:
Version core-2022.6.7
Installation Type Home Assistant Container
Development false
Supervisor false
Docker true
User root
Virtual Environment false
Python Version 3.9.12
Operating System Family Linux
Operating System Version 5.15.0-40-generic
CPU Architecture x86_64
Timezone Europe/Vaduz
2022-06-28 16:35:46 ERROR (MainThread) [homeassistant.components.binary_sensor] Platform synology_dsm does not generate unique IDs. ID 20A0RLRA47MW4_SYNO.Core.SecurityScan.Status:status already exists - ignoring binary_sensor.dsnas2021_security_status
2022-06-28 16:35:46 ERROR (MainThread) [homeassistant.components.binary_sensor] Platform synology_dsm does not generate unique IDs. ID 20A0RLRA47MW4_SYNO.Core.Upgrade:update_available already exists - ignoring binary_sensor.dsnas2021_update_available
2022-06-28 16:35:46 ERROR (MainThread) [homeassistant.components.binary_sensor] Platform synology_dsm does not generate unique IDs. ID 20A0RLRA47MW4_SYNO.Storage.CGI.Storage:disk_exceed_bad_sector_thr_sata1 already exists - ignoring binary_sensor.dsnas2021_drive_1_exceeded_max_bad_sectors
2022-06-28 16:35:46 ERROR (MainThread) [homeassistant.components.binary_sensor] Platform synology_dsm does not generate unique IDs. ID 20A0RLRA47MW4_SYNO.Storage.CGI.Storage:disk_below_remain_life_thr_sata1 already exists - ignoring binary_sensor.dsnas2021_drive_1_below_min_remaining_life
2022-06-28 16:35:46 ERROR (MainThread) [homeassistant.components.button] Platform synology_dsm does not generate unique IDs. ID 20A0RLRA47MW4_reboot already exists - ignoring button.dsnas2021_reboot
2022-06-28 16:35:46 ERROR (MainThread) [homeassistant.components.button] Platform synology_dsm does not generate unique IDs. ID 20A0RLRA47MW4_shutdown already exists - ignoring button.dsnas2021_shutdown
2022-06-28 16:35:46 ERROR (MainThread) [homeassistant.components.sensor] Platform synology_dsm does not generate unique IDs. ID 20A0RLRA47MW4_SYNO.Core.System.Utilization:cpu_user_load already exists - ignoring sensor.dsnas2021_cpu_load_user
2022-06-28 16:35:46 ERROR (MainThread) [homeassistant.components.sensor] Platform synology_dsm does not generate unique IDs. ID 20A0RLRA47MW4_SYNO.Core.System.Utilization:cpu_total_load already exists - ignoring sensor.dsnas2021_cpu_load_total
2022-06-28 16:35:46 ERROR (MainThread) [homeassistant.components.sensor] Platform synology_dsm does not generate unique IDs. ID 20A0RLRA47MW4_SYNO.Core.System.Utilization:cpu_5min_load already exists - ignoring sensor.dsnas2021_cpu_load_5_min
2022-06-28 16:35:46 ERROR (MainThread) [homeassistant.components.sensor] Platform synology_dsm does not generate unique IDs. ID 20A0RLRA47MW4_SYNO.Core.System.Utilization:cpu_15min_load already exists - ignoring sensor.dsnas2021_cpu_load_15_min
2022-06-28 16:35:46 ERROR (MainThread) [homeassistant.components.sensor] Platform synology_dsm does not generate unique IDs. ID 20A0RLRA47MW4_SYNO.Core.System.Utilization:memory_real_usage already exists - ignoring sensor.dsnas2021_memory_usage_real
2022-06-28 16:35:46 ERROR (MainThread) [homeassistant.components.sensor] Platform synology_dsm does not generate unique IDs. ID 20A0RLRA47MW4_SYNO.Core.System.Utilization:memory_available_swap already exists - ignoring sensor.dsnas2021_memory_available_swap
2022-06-28 16:35:46 ERROR (MainThread) [homeassistant.components.sensor] Platform synology_dsm does not generate unique IDs. ID 20A0RLRA47MW4_SYNO.Core.System.Utilization:memory_available_real already exists - ignoring sensor.dsnas2021_memory_available_real
2022-06-28 16:35:46 ERROR (MainThread) [homeassistant.components.sensor] Platform synology_dsm does not generate unique IDs. ID 20A0RLRA47MW4_SYNO.Core.System.Utilization:memory_total_swap already exists - ignoring sensor.dsnas2021_memory_total_swap
2022-06-28 16:35:46 ERROR (MainThread) [homeassistant.components.sensor] Platform synology_dsm does not generate unique IDs. ID 20A0RLRA47MW4_SYNO.Core.System.Utilization:memory_total_real already exists - ignoring sensor.dsnas2021_memory_total_real
2022-06-28 16:35:46 ERROR (MainThread) [homeassistant.components.sensor] Platform synology_dsm does not generate unique IDs. ID 20A0RLRA47MW4_SYNO.Core.System.Utilization:network_up already exists - ignoring sensor.dsnas2021_network_up
2022-06-28 16:35:46 ERROR (MainThread) [homeassistant.components.sensor] Platform synology_dsm does not generate unique IDs. ID 20A0RLRA47MW4_SYNO.Core.System.Utilization:network_down already exists - ignoring sensor.dsnas2021_network_down
2022-06-28 16:35:46 ERROR (MainThread) [homeassistant.components.sensor] Platform synology_dsm does not generate unique IDs. ID 20A0RLRA47MW4_SYNO.Storage.CGI.Storage:volume_status_volume_1 already exists - ignoring sensor.dsnas2021_volume_1_status
2022-06-28 16:35:46 ERROR (MainThread) [homeassistant.components.sensor] Platform synology_dsm does not generate unique IDs. ID 20A0RLRA47MW4_SYNO.Storage.CGI.Storage:volume_size_used_volume_1 already exists - ignoring sensor.dsnas2021_volume_1_used_space
2022-06-28 16:35:46 ERROR (MainThread) [homeassistant.components.sensor] Platform synology_dsm does not generate unique IDs. ID 20A0RLRA47MW4_SYNO.Storage.CGI.Storage:volume_percentage_used_volume_1 already exists - ignoring sensor.dsnas2021_volume_1_volume_used
2022-06-28 16:35:46 ERROR (MainThread) [homeassistant.components.sensor] Platform synology_dsm does not generate unique IDs. ID 20A0RLRA47MW4_SYNO.Storage.CGI.Storage:volume_disk_temp_avg_volume_1 already exists - ignoring sensor.dsnas2021_volume_1_average_disk_temp
2022-06-28 16:35:46 ERROR (MainThread) [homeassistant.components.sensor] Platform synology_dsm does not generate unique IDs. ID 20A0RLRA47MW4_SYNO.Storage.CGI.Storage:disk_status_sata1 already exists - ignoring sensor.dsnas2021_drive_1_status
2022-06-28 16:35:46 ERROR (MainThread) [homeassistant.components.sensor] Platform synology_dsm does not generate unique IDs. ID 20A0RLRA47MW4_SYNO.Storage.CGI.Storage:disk_temp_sata1 already exists - ignoring sensor.dsnas2021_drive_1_temperature
2022-06-28 16:35:46 ERROR (MainThread) [homeassistant.components.sensor] Platform synology_dsm does not generate unique IDs. ID 20A0RLRA47MW4_SYNO.DSM.Info:temperature already exists - ignoring sensor.dsnas2021_temperature
2022-06-28 16:35:46 ERROR (MainThread) [homeassistant.components.update] Platform synology_dsm does not generate unique IDs. ID 20A0RLRA47MW4_SYNO.Core.Upgrade:update already exists - ignoring update.dsnas2021_dsm_update
The problem
After a reboot HA sometimes comes with the error in the error log that the platform does not generate unique IDs.
What version of Home Assistant Core has the issue?
core-2022.6.4
What was the last working version of Home Assistant Core?
core-2022.5.x
What type of installation are you running?
Home Assistant OS
Integration causing the issue
Synology DSM
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?
Additional information
No response