Our mini home-automation suite!
- Clone this repo to your desired machine
- Run sudo ./bootstrap.sh -- optionally pass roles as arguments
- Customize the pillar data in /srv/pillar/common.sls
- Make sure to set static IPs for the raspberry pi
- Set the IP of the Raspberry Pi as your DNS server
- Run sudo salt-call state.highstate
- Settings -> Bluetooth and switch Bluetooth on
- hcitool scan and note the address of your iPhone
- Make sure your phone is awake and discoverable and run:
- sudo bluez-simple-agent -c DisplayYesNo <YOUR_DEV (eg hci0)> <BD_ADDR>
- Tap "Pair" on your iPhone
(5) Add the address of your iPhone to bd_addrs in pillar data (eg /srv/pillar/common.sls) (7) Run sudo salt-call state.highstate
- Go to /home/pi/src/shawmut (or your local) checkout and do a git pull
- Run sudo salt-call state.highstate