Client/Server code for building a Keezer with a Raspberry Pi
Download the raspbian lite image and put it on a micro SD card.
sudo raspi-config
sudo vi /etc/hosts
sudo vi /etc/hostname
sudo cp /etc/wpa_supplicant/wpa_supplicant.conf ~/wpa_supplicant.conf.bac
wpa_passphrase "network_name" "passphrase" | sudo tee -a /etc/wpa_supplicant/wpa_supplicant.conf > /dev/null
Then go edit the wpa_supplicant.conf to not have the password
wpa_cli -i wlan0 reconfigure
Check with
ifconfig wlan0
Set interface wlan0 in dhcpcd.conf
sudo apt-get update
sudo apt-get upgrade
Edit /boot/config.txt
Add dtoverlay=w1-gpio
Then reboot the pi
sudo shutdown -r -t 0
sudo apt-get install vim, git, pip
git clone https://github.com/jjulik/keezer-pi.git
Copy the keezer-pi.config.example to keezer-pi.config
Then edit the settings
sudo ./install.sh
Reboot the pi once more
sudo shutdown -r -t 0
And everything should be working correctly now