Ensure that you have connected your raspberry PI on the network, you can then check the IP address assigned to the device
command: ifconfig -a | grep 192.168
=> Router IP configuration have common starting IP of 192.168
Copy the downloaded file but make sure you know the IP assigned to the device
command: scp automation_v3.zip pi@192.168.1.109:/home/pi
=> enter the password
Connect to your raspberry device
command: ssh pi@192.168.1.109
=> enter the password
Extract the installer zip file
command: unzip -P password automation_v3.zip -d /home/pi/installation
=> To request for password, I have included contact information below.
Navigate to installation folder
command: cd /home/pi/installation/scripts
Login as root:
command: sudo su
=> ensure that you are in scripts folder
Execute the script file
command: bash starter.sh
=> It will check for existing java on your machine and previous installation
=> It should display “Installation complete” once the process is complete
Navigate to desktop directory of the user you specified and locate the folder automation
command: cd /home/pi/desktop/automation
=> Once you are in directory, notice that there are two files namely: configuration.txt and masterlist.txt, those are the files that you can edit to schedule timer on relay board.
=> Follow this pattern for masterlist configuration. RELAY_POSITION=TIME:TIME-TIME
=> Default mode for configuration.txt is HOURLY but you can change it to MINUTES
=> Check the file /docs/conversion.pdf for proper time input