From 52d3b1196b48378a57331fce5f77cca226f36dd0 Mon Sep 17 00:00:00 2001 From: Arindy Date: Mon, 29 Dec 2025 07:19:21 +0100 Subject: [PATCH] Update README and configuration template to include Weather widget setup details --- README.md | 4 +++- config_template.toml | 5 +++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 00b6d4d..8b382bd 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,8 @@ ArinDash is a customizable terminal dashboard (TUI) written in Go, powered by [` ## Features -- **Clock & Date**: Real-time time and date display. +- **Clock, Date & Calendar**: Real-time time, date, and calendar display. +- **Weather**: Current weather information via OpenWeatherMap. - **Pi-hole Integration**: Monitor your Pi-hole statistics, including query counts and blocked percentages. - **Docker Monitoring**: View the status of your Docker containers. - **HTTP Prober**: Check the availability and status codes of your favorite websites. @@ -43,6 +44,7 @@ ArinDash uses a `config.toml` file for its settings. A template is provided as ` 2. Edit `config.toml` with your specific details: - **Pi-hole**: Set your host and API password. - **WiFi**: Configure your SSID and password for the QR code widget. + - **Weather**: Provide your OpenWeatherMap API key and Location ID. You can find your Location ID in the `city.list.json.gz` from [OpenWeatherMap bulk data](http://bulk.openweathermap.org/sample/). 3. Customize widgets: - **Websites**: Copy `websites_template.json` to `websites.json` and update it with the URLs and icons you want to monitor. diff --git a/config_template.toml b/config_template.toml index 4e5df13..f8a7886 100644 --- a/config_template.toml +++ b/config_template.toml @@ -8,3 +8,8 @@ Password = "generate-an-app-password-in-pi-hole" Auth = "WPA" SSID = "YourSSID" Password = "YourPassword" + +[openWeatherMap] +#ID from http://bulk.openweathermap.org/sample/city.list.json.gz; unzip the gz file and find your city +LocationId = "0000000" +ApiKey = "YourApiKey"