Skip to content

Latest commit

 

History

History

pc_basestation

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Setting up a new RPI Basestation

  1. Clone this library into the desktop folder on the raspberry pi.

  2. Install libraries using the command pip3 install -r "rpi_list.txt".

  3. Update the crontab to run the python script on reboot using the command crontab -e and adding the following line: "@reboot sleep 30 && /usr/bin/python3 ~/Desktop/Biomass/pc_basestation/gateway.py >> ~/Desktop/Biomass/pc-basestation/cronlog.log"

  4. If you want to restart the raspberry pi daily copy the following line using sudo crontab -e: "0 */12 * * * /sbin/shutdown -r"