Install new Raspbian Lite OS on (https://www.raspberrypi.org/downloads/raspbian/)
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf`
# add text to the file
network={
ssid="55C9EA"
psk=*DCTRL_wifi_password*
}
sudo raspi-config
> Interfacing Options
> SSH
export LANGUAGE=en_US.UTF-8
export LANGUAGE=en_US.UTF-8
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8
locale-gen en_US.UTF-8
dpkg-reconfigure locales
LC_MESSAGES=en_US.UTF-8
LC_CTYPE=en_US.UTF-8
LC_ALL=en_US.UTF-8
# edit default hostname “raspberrypi” in the two files, for something cool like dctrl_door_pi_1
sudo nano /etc/hosts
sudo nano /etc/hostname
sudo /etc/init.d/hostname.sh
sudo reboot
now everything should work, so try to login to the pi via ssh
ssh pi@*ip_address_of_the_pi*
# default pi password is “raspberry”
git clone https://github.com/elpinguinofrio/fobDoor.git
sudo apt-get install git
sudo apt-get install python3-pip
sudo pip3 install python-dateutil --upgrade
sudo pip3 install gtts —upgrade
sudo python3 door.py
sudo chown root:root startup.sh
sudo chmod ug+x startup.sh
add line /home/pi/fobDoor/startup.sh &
to /etc/rc.local
file
make project according to http://docs.python-guide.org/en/latest/writing/structure/