Skip to content

An app to notify you when the temperature in your region goes out of a specified range.

License

Notifications You must be signed in to change notification settings

sethigeet/temp-track

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Temp-Track

A simple application that fetches the current temperature in the location specified and notifies the user when the temperature in that location goes outside the range specified by the user.

Running the program

  • Create a free account on weatherapi.com and create an API key.
  • Copy the .env.example to .env and paste your API key from weatherapi.com.
  • Install the required dependencies using poetry install.
  • Run the program using poetry run python main.py and follow on screen instructions!

⚠️ NOTE: The text displayed on the terminal refreshes automatically every 10 mins so don't think that the text is not updating! It is a change right in the place of the old text and no new line is printed!

⚠️ NOTE: This project uses the latest version of poetry and there are some breaking changes in how poetry stores its config files so older versions might not work. So, please use the latest version.

Notifiers

Currently, there is only the console notifier which prints to the console from which the program is running but this can be extended to many other things such as sending an email, a push notification or even a text message. The options are limitless!


Feel free to look at the web branch (which is still a WIP) which add a web app for notifying the user instead of the terminal and is hence much more user friendly!

About

An app to notify you when the temperature in your region goes out of a specified range.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages