Gauge Widget Examples
Example 1: Temperature Gauge (Open-Meteo)
Datasource Setup
- Add datasource.
- Set
Type = HTTP. - Set
Title = weatherBerlin. - Set
URL = https://api.open-meteo.com/v1/forecast?latitude=52.5200&longitude=13.4050¤t_weather=true. - Set
Refresh = 60seconds. - You can enable
Use gatewayif you encounter CORS issues. - Unless you have specific need, do not alter the http method or headers.
- If required, set authentication.
- Save.
Widget Setup
- Add widget.
- Set
Type = Gauge. - Set
Title = Berlin Temperature. - Set
Header Text = Berlin Temp. - Set
Minimum = -20. - Set
Maximum = 45. - Set
Precision = 1. - Set
Unit Text = °C. - Set
Value Path = weatherBerlin.current_weather.temperature. - The
Unit Pathcan be left empty since we have a static unit text. - The
Header Pathcan also be left empty since we have a static header text. - Save.
Expected output: circular gauge with current temperature.
Example 2: Wind Speed Gauge (Open-Meteo)
Datasource Setup
Use the same datasource from Example 1 (weatherBerlin) or add a second one with a new city.
Widget Setup
- Add widget.
- Set
Type = Gauge. - Set
Title = Berlin Wind. - Set
Header Text = Wind Speed. - Set
Minimum = 0. - Set
Maximum = 120. - Set
Precision = 0. - Set
Unit Text = km/h. - Set
Value Path = weatherBerlin.current_weather.windspeed. - The
Unit Pathcan be left empty since we have a static unit text. - The
Header Pathcan also be left empty since we have a static header text. - Save.
Expected output: circular gauge showing live wind speed.