Skip to content
/ PiCast Public

Raspberry Pi turns on led lights to indicate the daily weather forecast by geolocation

License

Notifications You must be signed in to change notification settings

Pi-Cast/PiCast

Repository files navigation

PiCast

Raspberry Pi turns on led lights to indicate the daily weather forecast by geolocation

Usage

Create a .env file in the root directory of your project. Add environment-specific variables on new lines in the form of NAME=VALUE. You will need an API key for Weather Underground and an account with MLAB:

API_KEY=key

MLAB=mongodb://myGithubUsername:myMlabAccount.mlab.com:port/database

In its' own terminal - run the following command to set-up the automatic hourly request and storage of weather data based on your location node weather-index.js.

Make sure to run this step prior to running npm start in its own terminal (next step), failing to do so will result in not receiving any new and current weather data.

After completing prior step - to run using the button listener on raspberry pi: npm start from root directory

PiCast Keys

Forecast key

Temperature key

Raspberry Pi

About

Raspberry Pi turns on led lights to indicate the daily weather forecast by geolocation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published