by Devin Yang
(This article was automatically translated.)

Published - 1 year ago ( Updated - 1 year ago )

I have two Synology NAS at home, and one of the Nas for backup is usually turned off. I’m not sure if turning it on and off every day will hurt the machine, but I’m sure it will hurt the hard drive if it’s not turned off for 24 hours. The hard drive for business is about 5~6 It will be replaced every year, and my Nas is not used usually, and it consumes power when it is turned on.
So at this stage, I only let him automatically start up at a fixed time to receive backup data.
Netizens reminded me that the automatic shutdown part can be set directly from the power schedule. In addition, I found that it may be necessary to pay attention to the SMART detection time of the "task scheduler".


After completing the automatic power-off function, if we want to power on during the power-off period, we can use it to talk.
First of all, I am on standby on the external network (pppoe) through a more power-efficient and more stable thing, that is the Raspberry Pi.
Through the Raspberry Pi, you can easily wake up Nas by executing a bash.
As shown in the following screen, bash is used to wake on LAN through etherwake.

 #!/bin/bash
 /usr/sbin/etherwake -i eth0 00:11:32:7D:E3:AB

Of course, with the above bash, your NAS must enable the "Wake on LAN" function, remember to tick it.

So when I suddenly wanted to use the backup Nas on a whim, I was too lazy to walk up to Nas to and turn it on , or give an instruction in front of the computer to start the computer,
So I always called Siri to "turn on the backup Nas", and Siri did it very obediently.

How to do it? Just set up a "shortcut", "shortcut" is an App provided by Apple😆
https://apps.apple.com/tw/app/%E6%8D%B7%E5%BE%91/id1462947752

Apple's "shortcut" is really easy to use. It beats Android here. I'm not an Apple fans or an Android fans.
Don't fight me with the mobile phone that is easy to use. I use both of them, but my current main mobile phone is Android.
The iPhone is basically only used by me as a bedside flashlight and playing games to open the trumpet. Apple has too many things and is too good at procrastinating.
The push function of the mobile version of the web browser is only ready to support now, and it has been a few years 🤬.

Just look at my shortcut settings, it looks like this, the usage is obvious, connect to my Raspberry Pi to execute the commands on the Raspberry Pi.
Use Siri to say the shortcut name, and Siri will execute it. To put it bluntly, it is to issue remote commands by speaking.
Of course, try to choose a name that is easy for Siri to recognize, so as not to repeat it several times for turn on the Nas with speak. 😂





Tags: Synology siri

Devin Yang

Feel free to ask me, if you don't get it.:)

No Comment

Post your comment

Login is required to leave comments

Similar Stories


git,Synology

Sharing about gitlab's docker settings

My friend wants to study the operation of gitlab. I said that it takes less than ten minutes to install it with docker image. There is also a gitlab package on my Synology Nas that can be installed directly. As a result, either the installation failed, or it was being repaired, or it was already started and could not be used. @@ Also choked by friends...

docker,Synology

How to modify the logging driver of Docker on Synolog NAS

On my Synolog Nas, a strange logging driver named db is running by default, how to modify it to a normal json-file? In Synolog's Nas, his Daemon config file is special, and it is placed in the /var/packages/Docker/etc/ directory. Called dockerd.json.

Synology,haproxy

Use HAProxy to remove the /mail path of the Sysnolgy Mail Station

This article explains the version of DSM7. The Package Center of Synology Nas provides two Mail Servers, one is Synology Mail Server and the other is Synology MailPlus. For me, the advantage of Synology MailPlus is that he can easily specify a domain name in the login portal, but it is limited to a maximum of five accounts, and if there are more accounts, you will have to buy a license. If you use Synoloyg Mail Server, there will be no limit on the number of accounts, but it does not integrate the login portal. If you install the webmail of Mail Station, there will be an additional path of /mail in the directory of the website. Although it is not in the way, but I just do not like it.