跳到主要内容
版本:0.0.50

LiveWeatherPlugin

Plugin to get realtime weather from OpenWeatherMap.

备注

For smooth weather transitions and rain you need to set EnableWeatherFx to true in extra_cfg.yml.

To get your API key a free account on https://openweathermap.org/ is required.

Configuration

Enable the plugin in extra_cfg.yml

EnablePlugins:
- LiveWeatherPlugin

Example configuration (add to bottom of extra_cfg.yml)

---
!LiveWeatherConfiguration
OpenWeatherMapApiKey: <your api key here>
UpdateIntervalMinutes: 10