- Start mosquitto broker (Should run automatically as a service after first start)
- Copy
nodered_flow.json
as your flow (usually in~/.node-red
folder) - Configure the network to use the static local IP address specified in the arduino sketch (192.168.0.101)
- Setup the wireless card to connect automatically to the local WLAN
- Either configure node-red to start automatically after boot, or start it manually through ssh. Remember to start it with the correct sketch name (e.g. $ node-red nodered_flow.json)
- Add Feather Huzzah ESP8266 to Arduino IDE (board manager URL)
- Get
Adafruit Motor Shield V2
andPubSubClient
Arduiono IDE libraries. - Configure MQTT broker IP, WiFi, and motor port in
sketch.ino
. - Flash the code on to the board