项目作者: jjulik

项目描述 :
Client/Server code for building a Keezer with a Raspberry Pi
高级语言: JavaScript
项目地址: git://github.com/jjulik/keezer-pi.git
创建时间: 2017-03-27T02:15:06Z
项目社区:https://github.com/jjulik/keezer-pi

开源协议:MIT License

下载


keezer-pi

Client/Server code for building a Keezer with a Raspberry Pi

Complete setup guide

Download the raspbian lite image and put it on a micro SD card.

Configure keyboard (and enable SSH)

sudo raspi-config

Set the machine name

sudo vi /etc/hosts
sudo vi /etc/hostname

Backup your wpa_supplicant

sudo cp /etc/wpa_supplicant/wpa_supplicant.conf ~/wpa_supplicant.conf.bac

Connect to Wi-Fi

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

Configure Wi-Fi to connect on boot

Set interface wlan0 in dhcpcd.conf

Update Pi

sudo apt-get update
sudo apt-get upgrade

Enable 1 wire interface

Edit /boot/config.txt

Add dtoverlay=w1-gpio

Then reboot the pi

sudo shutdown -r -t 0

Install vim, git, and pip

sudo apt-get install vim, git, pip

Clone the repo

git clone https://github.com/jjulik/keezer-pi.git

Configure keezer-pi

Copy the keezer-pi.config.example to keezer-pi.config

Then edit the settings

Install keezer-pi

sudo ./install.sh

Reboot the pi once more

sudo shutdown -r -t 0

And everything should be working correctly now