A Status display using the Pimoroni Inky pHAT and React
MIT License
A Status display using the Pimoroni Inky pHAT and React
Everything could be running on the Raspberry Pi, or separately. It's up to you!
cd client
virtualenv -p python3 env
source env/bin/activate
pip3 install -r requirements.txt
{
"mqttConfig" : {
"server" : "hostname",
"port" : 8883,
"username" : "username",
"password" : "password",
"clientId" : "statusClient",
"topic" : "statustopic"
},
"inkyphatConfig" : {
"colour" : "red",
"line_one" : "James is currently:",
}
python3 status.py
cd server
npm install
MQTT_HOST=hostname
MQTT_PORT=8883
MQTT_PROTOCOL=ssl
MQTT_USER=username
MQTT_PASS=password
MQTT_ID=statusServer
MQTT_TOPIC=statustopic
HTTP_PORT=9000
HTTP_PASS=superSecret
npm run build
node server