This IoT project aims to provide an automated way of answering the question "Do i Need to bring an umbrella to work today?".
No more need to check the weather forecast on your computer or phone!
NodeMCU
- Download the code
- Modify
settings.h
(pretty self explanatory - see instructions below) - Open
raincheck.ino
in the Arduino IDE and hitUpload
- The unit will now run the program directly upon boot every time it is powered on
The NodeMCU will connect to your wifi using the SSID and password specified in settings.h
.
Settings in this file are also used to specify the coordinate to lookup weather for, as well as how many hours of the forecast will be considered.
In order to avoid accidentally commiting your wifi credentials and location after updating settings.h
, you can run the following command:
git update-index --assume-unchanged settings.h