-
Open firmware\ws-dht11\arduino.ino in Arduino IDE and write it to your ESP32 (Make sure you read through the file to change details where the it asks you)
-
Type
node server.js
-
Head to localhost:2467 in your web browser of choice, and you should see a screen similar to the screenshot shown at the start of this readme!
Now you can monitor your class through the web!
If you're new to node.js, (or interacting with ESP32s through node) this might not work for you. Follow the below steps
-
Ensure that Node.js and NPM are installed on your system:
node --version
npm --version
-
In terminal, inside the project directory:
npm init -y
-
This will add a package.json file
-
Install dependencies
npm install express ejs express-ejs-layouts
-
Install development dependencies
npm install --save-dev dotenv nodemon
Shoutout to fellow student Jun Lee for providing helping me out when unsure of how to do something.