Pointer Widget Examples
Example 1: Wind Direction (Berlin)
Datasource Setup
- Add datasource.
- Set
Type = HTTP. - Set
Title = berlinWind. - Set
URL = https://api.open-meteo.com/v1/forecast?latitude=52.5200&longitude=13.4050¤t_weather=true. - Set
Refresh = 60seconds. - Save.
Widget Setup
- Add widget.
- Set
Type = Pointer. - Set
Title = Berlin Wind Dir. - Set
Header Text = Berlin. - Set
Angle Path = berlinWind.current_weather.winddirection. - Set
Value Text Path = berlinWind.current_weather.winddirection. - (Optional) Set
Angle Unit Text = degif you do not want the default°. - Save.
Expected output: compass pointer rotates to current wind direction.
Example 2: Wind Direction (Sydney)
Datasource Setup
- Add datasource.
- Set
Type = HTTP. - Set
Title = sydneyWind. - Set
URL = https://api.open-meteo.com/v1/forecast?latitude=-33.8688&longitude=151.2093¤t_weather=true. - Set
Refresh = 60seconds. - Save.
Widget Setup
- Add widget.
- Set
Type = Pointer. - Set
Title = Sydney Wind Dir. - Set
Header Text = Sydney. - Set
Angle Path = sydneyWind.current_weather.winddirection. - Set
Value Text Path = sydneyWind.current_weather.winddirection. - (Optional) Set
Angle Unit Text = degif you do not want the default°. - Save.
Expected output: live directional pointer for Sydney wind heading.