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. 😂
No Comment
Post your comment