StreamUP

LB Weather Extension

By: WaldoAndFriends

LB Weather Extension

Get Current Weather is an extension for LioranBoard build on top of the OpenWeatherMap API and allows you to fetch the current weather of any place on earth. You can use this information to enhance your overlays with for example the weather of your current location, prefect for IRL streams.

Comes with an optional sample widget!

Features

  • Multiple data points
  • Free API usage
  • Included sample widget

Prerequisites

* Only needed for the sample widget.

Available information

The weather information is outputted to a single stack, the position in the stack is static so use the [position]stackname notation to retrieve the desired piece of information. If you named your stack weather the output will be as follow. The first stack value indicates if the request was successful, so we highly recommend checking [0]weather in an if statement instead of blindly reading out values.

Successful request:

  • [0]weather: Value indicating the request was successful: 1
  • [1]weather: The weather’s description in the language defined during the input
  • [2]weather: The URL for the current weather icon
  • [3]weather: The current temperature. Celsius when metric, Fahrenheit when imperial
  • [4]weather: The feels-like temperature. Celsius when metric, Fahrenheit when imperial
  • [5]weather: The minimum temperature. Celsius when metric, Fahrenheit when imperial
  • [6]weather: The maximum temperature. Celsius when metric, Fahrenheit when imperial
  • [7]weather: The current atmospheric pressure (In hPa)
  • [8]weather: The current humidity (In %)
  • [9]weather: The current wind speed. Meter/sec when metric, miles/hour when imperial
  • [10]weather: The current wind direction in degrees (meteorological)
  • [11]weather: The current amount of clouds overhead (In %)

Failed request:

  • [0]weather: Value indicating the request has failed: 0
  • [1]weather: Short error description
  • [2]weather/[11]weather: Empty values with the same data type as a successful request*

* These are empty instead of non-existent to avoid potential “out of bounds” errors, even though you should check [0]weather before reading any other value from the stack.

Companion video

DISCLAIMER - By downloading this product you agree to not redistribute AND/OR sell it for any profit whatsoever. This product is free and must remain that way. Feel free to completely edit this product and change it for your needs.

Get in touch

Come say hello.