Upgrade Synology DSM 7.0 with Home Assistant and Conbee II

How to upgrade your DSM to 7.0, and ensuring the correct functionality of your Conbee II Zigbee USB stick for Home Assistant.

Synology Disk Station

( Photo by Alex Cheung )

Synology has recently released an update to the Disk Station Manager software: the new 7.0 version comes packed with new capabilities such as:

  • New storage manager features;
  • Secure Sign In Service with mobile app and hardware key support;
  • General updates and improvements

However, when I read the changelog I was surprised to read that USB devices are no longer supported. This was something surprising for me as I am using a Conbee II USB stick to implement my homemade sensor network, and therefore I did not want to disrupt my setup by upgrading.

Fortunately after some research I found a way to retain this capability. In this article I'll describe how to upgrade the DSM software and retain the ability to use USB devices.

It is worth nothing that the support depends on the inclusion of the appropriate driver modules by Synology in the distribution. These are currently present, albeit unsupported according to Synology, so mileage may vary in the future. Should this change, then I will need to migrate my setup to a different device.

Let's see how we can do it for the time being.

Upgrade DSM to v7.0

Before you can start - you will need to download the update from Synology.

Synology DSM - Control Panel- Update & Restore
Synology DSM - Control Panel- Update & Restore

Once you downloaded the update, click on "Upgrade" and review the notices - you will see that they warn the discontinued support for USB devices. Fear not, and march forward!

Confirm the upgrade process - buckle up and get ready!
Confirm the upgrade process - buckle up and get ready!

And voilá ... the upgrade is now ongoing. Remember to avoid unplugging / switching off your Synology Disk Station during the upgrade to avoid any unnecessary pain.

When the process is complete, you will see the following message. I simply reloaded my browser to check the status.

Restarting the Diskstation
Restarting the Diskstation

In my case I ran into a couple of quirks:

  1. My SSL certificate was removed. This was expected, since I was managing it out of band via a custom installation of Certbot. After some investigation, I figured out that my custom script was relying on commands that are no longer available in DSM 7.0. For example, the correct way to restart nginx (used by the DSM web interface - to pick up the updated certificates) is systemctl restart nginx and not /usr/syno/sbin/synoservicectl --restart nginx like before.
  2. When refreshing the page (after accepting the security warning due to the expired certificate) I noticed that I kept being redirected to the login page even though the upgrade had not completed. I have simply refreshed the page until I saw the completion of the process, then logged in as usual with my credentials.
DSM 7.0 new landing screen
DSM 7.0 new landing screen

Add support for USB devices

In order to achieve this I strongly recommend to follow the approach described by LunaticMunch on Github - in short it relies on creating a startup service for loading the required drivers needed for recognizing correctly the Conbee II stick.

All that is needed is to enable ssh access to your Disk Station, then create the appropriate startup script as described in the repository I linked. Assuming you followed the same approach I described using the Deconz docker container to manage your Zigbee USB dongle, then after loading the drivers you will need to restart your Deconz container so that it can see the device correctly.

After following this approach and restarting the container, my prior configuration was picked up immediately and I was able to work with Home Assistant and my sensors as before the DSM upgrade. That was quick and easy!

I hope you will find this short tutorial useful - let me know if you ran into any problems!

If you liked this article, follow me on Twitter for more updates!

Important: Please DONATE and help me raise funds to support the war refugees from 🇺🇦 Ukraine. Thank you! 🙏🏻


This site uses Akismet to reduce spam. Learn how your comment data is processed.

Comments are moderated so there will be a delay before your comment is published.