We created a box that shows the windchill temperature of the day. The windchill will be displayed with pants for cold weather and shorts for warm weather. We decided that everything under the 20 degrees celsius is cold and everything above 20 degrees celsius is warm.
But why make this? We all have that moment when we look outside and we can't decide what to wear. This 'What to Weather' box solves that problem.
First the user needs to make an account on the web app. Here they declare their name, NodeMcu ID and a color. The color will be used to show the other users who is wearing what.
After the user has seen what kind of weather it is, they can share what they want to wear with their friends. By turning a button (potentiometer) they can select shorts or pants. By pressing on the big red button the user sees if they should wear shorts or pants. By shaking the box you can see what others are going to wear.
<img src="images/screen.png" alt=“Screenshot website” height="400px">
- Feedback of the windchill
- Sharing with friends what what the user is going to wear
- Colorduino v1.3
- Led Matrix 8x8
- Button
- Tilt Sensor
- Potentiometer
- Make the user able to declare what warm and what cold weather is in the web app
- Add more clothing to send to friends (skirts, dresses)
- Send voice messages
<img src="images/wtwflyer.png" alt=“Flyer product” height="400px">
First clone the repo:
git clone https://github.com/nickrttn/korte-broek-weer.git
After that:
npm install
Create an .env file with these variables:
PORT= portnumber
APIKEY= weather api key
WEATHERMAP_ENDPOINT= weather api url
POLLING_RATE= number of miliseconds in which the api must be called
COUCHDB_ENDPOINT= database endpoint
ENDPOINT= endpoint to api server
Now start up the server:
npm start
See: NodeMCU README