The Tenki plugin is a delightful addition to your Obsidian workflow, bringing real-time weather updates right into your vault. With Tenki, you can easily display current weather conditions and forecasts for any city in the world. Simply enter your location and API key from weatherapi.com, and you'll be treated to a visually appealing display of weather data. The plugin's design is highly customizable, thanks to its CSS classes, allowing you to tailor the look and feel to suit your preferences. Whether you're planning an outdoor event or simply want to stay on top of changing weather patterns, Tenki has got you covered.
Features
- ✨ Add sunrise and sunset times to forecast tooltips via the astro section of the weather API
How to Use
Hover over any forecast day to see the sunrise and sunset times along with the temperature information.
What's New
The weather API provides astronomical data including sunrise and sunset times for each day. This release exposes that data in the forecast tooltips, allowing you to see at a glance when the sun rises and sets each day.
Technical Details
- Updated
ForecastDayinterface to includeastroobject withsunriseandsunsetfields - Enhanced
extractForecastDatamethod to extract sunrise/sunset times from API response - Updated forecast tooltip to display sunrise and sunset times alongside temperature
Compatibility
- Requires Obsidian 0.16.3+