jhmorri2 wrote:I called synology as I have been unable to figure out how to setup the SSL Cert and then the ability to configure audio station to stream to Alexa. I own over 12 Synology devices and sale them all the time. You would think synology would give me a bit more time other than just telling me its in beta so they can't help.
If anyone has gone through the process from start to finish in setting up the SSL Cert, and audio station to stream; please post a step by step and screen shots. Synology knowledge base is useless when it comes to anything more than the easiest way to set it up, and without any issues.
It was a bunch of trial and error for me, but it's actually not difficult when you guess at what they're asking for. I'll preface the steps, however, by staying that the Alexa skill, while functional in the strictest technical definition of the word, is quite primitive, and not actually very useful. Some of this it to be expected with beta software, of course, but I feel like it has a long way to go for primetime.
Setting up Alexa skill for Audio Station:
1) If you have not already, Set up DDNS, which is not a new feature, but having a domain name is a prerequisite for the Alexa skill. If you already have a domain name for your network, or another DDNS appliance, you can skip this step, but if you don't know the answer to this question, you don't.
To set up DDNS, in your DSM desktop, go to Control Panel -> External Access -> DDNS -> Add
Use Synology as the service provider, whatever you would like as your hostname, though I recommend the same thing you're using as your QuickConnect ID if you already have one of these. Otherwise just a word that uniquely describes your DiskStation. Provide your DiskStation username and password, and follow the prompts.
2) If you have not already, create a certificate. This is also not a new feature, but is a prerequisite for the Alexa skill. Alternatively, you could create and install a certificate manually, but I'll assume here that, like most people, you have not.
To create a certificate, go to Control Panel -> Security -> Certificates -> Add -> Add a new certificate -> Get a certificate from Let's Encrypt
In the prompts, provide the information you just entered into the DDNS in step 1.
When asked what services you'd like it associated with, use this new certificate for the "Default" service, which encompasses Audio Station
3) Ensure the OAuth Service is installed on your DiskStation, which is required for authenticating your Amazon account to your NAS.
To do this, open Package Center, search for OAuth Service, and click install. It shouldn't require any kind of special setup.
4) Set up the Alexa skill
Open the Alexa app on your phone, or go to alexa.amazon.com and log in with the same account that your Echo devices are registered with.
Go to Skills, search for DS Audio, install the skill, and you'll be asked to provide your DiskStation's information.
The "host" you enter here should be https://
<the DDNS name you created in step 1>:5001
So, for example, https://mydiskstationname.synology.me:5001
The Alexa app will then use OAuth to verify your certificate and have you log into your NAS. I had some trouble with this step when I was doing it from a desktop PC inside my network, because the DDNS didn't work locally. I expect this was a curiosity of my exotic network configuration, but if you encounter this problem, try repeating step for from your phone without using WiFi, to ensure the app is correctly able to resolve the domain.
That should do it! Saying "Alexa, tell Audio Station to play X" should find the song titled X in your Audio Station music library and play it. The last I checked, there doesn't seem to be any support for artists or genres yet. Tracks play on repeat instead of stopping when they're done. "Play album X" seems to work, but the album plays in shuffle order for some reason. Asking Alexa the name of what's playing doesn't seem to work yet, either, but this whole thing is pretty new, so I'm hopeful there will be some improvement.