You can configure the Raspberry Pi to autostart your Blynk server when the system starts:
- On your Raspberry Pi, edit the /etc/rc.local file using the nano editor:
pi@raspberrypi:~ $sudonano /etc/rc.local
- Add the following command after the comment, but leave the exit 0 line at the end, then save (Ctrl + O, followed by Enter) the file and Exit (Ctrl + X):
java -jar /home/pi/server-0.33.4.jar -dataFolder /home/pi/Blynk &
Editing the rc.local file
- Enter the following to reboot the Pi:
pi@raspberrypi:~ $sudo reboot