Bathroom occupancy detector Blog Post
- Install PlatfromIO
- Create
ma-stool-config.cpp
file as explained inma-stool-config.h
cd server
pio run
cd slack-bot
- Create
config.json
{
"SLACK_TOKEN": "",
"SLACK_BOT_TOKEN": "",
"SLACK_CHANNEL": "",
"MQTT_SERVER": "",
"MQTT_PORT": ,
"MQTT_USER":"",
"MQTT_PASSWORD": "",
"MQTT_TOPIC": ""
}
app deploy -q app.yaml dispatch.yaml mqtt-worker.yaml