Follow the directions below if you already have a Raspbian Jessie OS running on your network and wish to add the Tilt Pi app to it. Be sure to make a backup of your card in case the installation has any conflicts. If you're starting from a new Raspberry PI, I recommend downloading our pre-installed image here. In the picture below, I have installed Tilt Pi on a SD card image for a 3.5" touchscreen available on Ali Express. Please note their may be unknown incompatibilities with other software installations and may require troubleshooting beyond the scope of these instructions.
Using SSH from another computer or from a Raspberry Pi directly, open a command line window to install Node-Red per Raspberry Pi specific Node-Red install instructions for Raspbian Jessie.
Basically, you will copy/paste the following command and press enter. This will take about 15 minutes to complete.
bash <(curl -sL https://raw.githubusercontent.com/node-red/raspbian-deb-package/master/resources/update-nodejs-and-nodered)
yes to installing Raspberry Pi specific nodes.
Set Node-Red to start on system start up.
sudo systemctl enable nodered.service
Install bleacon, an iBeacon scanning node for Node-Red. Note: Tilt uses iBeacon format to broadcast data so any device that can scan for iBeacons can connect to it.
sudo npm install node-red-contrib-bleacon -g
Install dashboard UI for Node-Red.
sudo npm install node-red-dashboard -g
Download Tilt Pi “flow” from Baron Brew GitHub account to Raspberry Pi
wget -O /home/pi/flow.json https://raw.githubusercontent.com/baronbrew/TILTpi/master/flow.json
Reboot Raspberry Pi.
Run downloaded Tilt Pi app/flow in Node-Red:
curl -X POST http://localhost:1880/flows -H "Content-Type: application/json" -H "Node-RED-Deployment-Type: nodes" --data "@/home/pi/flow.json"
In a web browser visit
http://localhost:1880/ui. If this doesn't work, you may need to find the IP address of your Raspberry Pi and go to
X.X.X.X is your Raspberry Pi's IP address.