There are a few different ways to remotely restart a DAKboard Display or DAKboard CPU. Continue reading to learn more.



Use a Smart Plug


There are many smart plugs that can be used to remotely restart a DAKboard device from a smartphone or tablet. Just plug the DAKboard device into the smart plug and by turning the plug off and back on, you can restart your DAKboard device. 


Amazon's smart plug (https://www.amazon.com/dp/B01MZEEFNX) works over wifi and is a good option if you don't already have any smart home devices. Samsung's smart plug (https://www.amazon.com/dp/B07F96JB63) also works well, but you'll need the SmartThings hub for it to connect. 



Connect via SSH


To remotely connect to your Display or CPU, you'll first need to find the IP address of the display. You can find this in the DAKboard settings, under "Displays & Devices". Click the more actions (3 dots) button next to the your device and select "Info". In the popup, you'll see the IP address. 

Keep in mind your computer will need to be connected to the same wifi network as your device. 



On a Mac computer


Open the Terminal program, and type the following command: ssh pi@YOUR_IP_ADDR (replacing YOUR_IP_ADDR with the IP address found above), then press enter.

When prompted for the password, type the password provided and press enter.


Or on a Windows computer:


Open, or download the Putty program (free download at https://www.putty.org). Paste the IP Address found above into the "Host Name or IP Address" field and press the Connect button. When prompted, type the username and/or password.



Then, once logged in, type the following command: sudo reboot and then press enter. This will restart your device and log you out.



Automatically Restart on a Schedule


Lastly, you can configure the DAKboard device to restart daily at a certain time. Use the instructions above to connect to the DAKboard device via SSH. Once connected, type the following command:


sudo nano /etc/cron.d/dakboard


Press enter, then use the arrow keys to go to the bottom of the file, and paste or type in the following on a new line:


* 4 * * * root /sbin/reboot


Then press ctrl-o and then ctrl-x to save and quit. 


This will trigger the DAKboard device to restart daily at 4 AM. Adjust the "4" in the command above to restart at any hour (24 hour time).