Using Weather Plugin

The Player Local Weather Info is a Player Plugin. Once configured and published to the Player, it will fetch weather info every hour and store the retrieved data into the Players' Custom Attributes.

CONTACT US TO ENABLE THIS FEATURE ON YOUR ACCOUNT.

 

Before continuing, make sure you have a Player version of 10.1.0 or higher installed on your device.

Overview Local Weather Info Player Plugin 

Attributes work as a local variable on each Player and can be configured in your general Settings > Custom Attributes.

Select a unique Attribute for each Local Weather Info Player Plugin or just click on create a new App Attribute in the dropdown menu of the Plugin. Current Weather Conditions must be associated with an Attribute in Text format and all Temperature related Conditions must be in a Numeric format.

Weather Conditions are case sensitive and will always be set in lower case to one of these values:

  • clear-day
  • clear-night
  • cloudy
  • fog
  • hail
  • partly-cloudy-day
  • partly-cloudy-night
  • rain
  • sleet
  • snow
  • thunderstorm
  • tornado
  • wind

Player Location

By default, the Player Local Weather Info Plugin will retrieve information based on the player location, but in case this is not available, it is important to set the Fallback location.

Temperature Scale

Select either Celsius or Fahrenheit so the temperature is presented in the desired scale.

Creating Weather based playback rules

Once the Weather Plugin is correctly configured and published, it will retrieve the Weather info and store it on each player attribute. With this it is possible to create custom rules so content is only played when specific weather criteria are matched.

These rules can be added to a specific content item, a playlist item, or when publishing content to your screens.

Using Weather Infos (First time users)

  1. First let’s create a new Player Plugin. On your Content page, click New > Player Plugin > Player Plugins.
  2. Select the plugin Player Local Weather Info.
  3. Enter a name and create a new player attribute for all attributes. First for Weather Condition, then for: Temperature, Minimum temperature, and Maximum temperature. Find the option “Create New Player Attribute” in the dropdown list and define a proper name for the attribute. Set the Location Fallback and the Celsius or Fahrenheit scale, then save the plugin.
  4. Publish the new Automation App to available players. It must appear in the “Automation Loop” area. When the plugin is saved, go to your Player. Look for the "Plugins" menu and Add a Plugin:
  5. Now, we can apply restrictions to images/videos, campaigns, or playlists.

How to apply weather restrictions?

Restrictions are a staple of the content programming. You can set restrictions:

When you want to send your audience a PSA reminding them to drink water on a hot day, publish this message to your player with a restriction to only play when the weather is sunny and the temperature is 30°C or higher.  

  1. Go to publish the message.
  2. Select your Players.
  3. As Playback Restrictions select “Play only when..”
  4. Change the Mode from Visual Mode to Logic Mode.
  5. Scroll down to the attributes and look for the weather attribute.
  6. Set the weather conditions to "is sunny" and confirm with "Done".
  7. Add a second item for the temperature. Scroll down to the temperature attribute and set it to "is greater than or equal to 30". This means 30°C when you have set the attribute to the Celsius temperature scale.
  8. Your result should look like this:
  9. Finish by clicking on the orange Publish button at the bottom of the page.
    Now your message to drink water will only play when the weather is sunny and the temperature is over 30°C.