Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WeatherCN

This script will check weather.com.cn every 15 minutes with your location and if it is going to rain, the script will speak in chinese that when it is going to rain. The script will wait until the Weather changed.

Requirement

  1. GPS device (optional)
  2. Download WhereAmI and put the executable binary file to your path This is important if you want to use GPS in macOS
  3. mpg123 sudo apt-get install mpg123 or brew install mpg123
  4. lxml pip install lxml
  5. gtts pip install gtts
  6. urllib3 pip install urllib3 (maybe you have already installed)

Usage

Recommanded

You can use this script in tmux directly

tmux new -s WeatherCN
python3 main.py
<C-b d>

Or in background:

nohup python3 main.py &

About

voice reminder when it is going to rain

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages