It's an application that shows data from sensors connected to the ESP-8266 module. The module monitors the temperature of water in pipes leading from the furnace and the level of gases in a boiler room.
# Clone this repo from github
git clone https://github.com/Habownia/esp-furnace-front.git
cd esp-furnace-front
# Install dependencies
yarn
Copy the .env.local.example file in this directory to .env.local (which will be ignored by Git):
cp .env.local.example .env.local
Fill out the data
MONGO_URI=<your_mongo_uri>
DB_NAME=<your_database_name>
COLLECTION_NAME=<your_collection_name>
NEXTAUTH_SECRET=<your secret>
To generate NEXTAUTH_SECRET you can use https://www.cryptool.org/en/cto/openssl, but openssl is recommended
openssl rand -base64 32
Build the app and enjoy!
yarn build
yarn start
Start developing
yarn dev
- mongodb
- tailwind
- typescript
- daisyui
- chart.js
- react-chartjs-2
- react-icons