Import the weather conditions and forecast from Open Weather Map.
Important:
- the OpenWeather One Call 2.5 API is being closed in June 2024 and being replaced by 3.0.
- You need to subscribe to the updated API by logging into your account at https://openweathermap.org/api
- Then, click the button to subscribe to the One Call API 3.0
- after your new subscription is applied, your existing API tokens will continue to work
- if weathercards aren't appearing, please wait a little longer to ensure the new subscription has been applied
New:
- configure the number of days you want to import and show
- fix windspeed units for metric
- convert to Roam Research extensionAPI to allow Hotkeys via Settings
- minor css tweaks
This is an update of David Eaton's original Weather Forecast SmartBlock, with an archived version of the instructions available at dvargas92495/SmartBlocks#211.
Set your location, API key and preferred units in the Roam Depot settings.
You can trigger via the Command Palette or use in a SmartBlock using the command <%WEATHERCARDS%>. Or, set a hotkey in Roam Research Settings > Hotkeys.
This extension also includes a css file that allows the cards to display in a grid:
You will need an API Key from https://openweathermap.org/api. Make sure to subscribe to the Current Weather Data API.