调用和风天气api,为瀚文75扩展模块生成天气图片
⚠注意:扩展模块需要刷入 xingrz 的扩展固件,才能正常工作
- 参见快速开始
- 详细的使用说明
- 支持局部刷新(在想了在想了)
- 更多 的中文天气矢量图
-
location直接填入城市名称即可 - 无需填写
loccation,自动获取当前位置 - NEW UI

pip install -r requirements.txt先从hidapiclone源码,然后编译安装
# precondition: create a <build dir> somewhere on the filesystem (preferably outside of the HIDAPI source)
# this is the place where all intermediate/build files are going to be located
cd <build dir>
# configure the build
cmake <HIDAPI source dir>
# build it!
cmake --build .
# install library; by default installs into /usr/local/
cmake --build . --target install
# NOTE: you need to run install command as root, to be able to install into /usr/local/参照快速开始
python UpdateWeather.py# 创建定时任务
crontab -e
# 添加定时任务,每30分钟执行一次,记得这里改成自己的真实路径
*/30 * * * * cd /path/to/UpdateWeather && /path/to/python /path/to/UpdateWeather/UpdateWeather.py
