A university campus uses digital signage displays across lecture halls, libraries, cafeterias, residences, and administrative buildings. The screens normally show schedules, events, wayfinding information, campus announcements, and other published content.
The university wants to supplement its existing warning channels by displaying official severe-weather alerts on these screens. When an applicable alert is published, the alert must appear in a prominent banner above the content currently running on the players, without requiring changes to each individual content project.
Overview
The tutorial on this page shows how to create a player-level overlay that displays official severe-weather information above any content running on a player. The overlay uses an Elementidata-feed widget to periodically retrieve an Atom feed from the National Weather Service API. Each feed entry includes structured alert information using fields from the Common Alerting Protocol. CAP is an open standard for exchanging all-hazard emergency alerts and public warnings. It provides structured information such as the event, affected area, severity, urgency, certainty, validity period, and message type.
The overlay displays only alerts that meet the configured conditions using a single banner occupying approximately one quarter of the screen. Because the project is configured as a player-level overlay, the banner appears above all other content displayed by the player, including ARYA alerts.
This tutorial demonstrates a digital signage integration intended to supplement official public-warning channels. It is not intended to replace certified life-safety systems, emergency-notification systems, Wireless Emergency Alerts, sirens, radio, or instructions from public authorities.
Architecture
Architecture diagram
The National Weather Service API provides access to forecasts, alerts, observations, and other weather data. The API supports multiple response formats, including CAP and Atom.
An Elementi project is hosted centrally on a web server and configured as a player-level overlay on one or more players. The overlay project contains a data-feed widget that periodically requests an Atom feed from the National Weather Service API. The service returns structured information about the latest alert matching the parameters included in the request.
The widget evaluates the returned entry:
If the entry meets the configured conditions, the widget displays the alert in a prominent banner, otherwise, it displays nothing.
After the configured duration, the widget requests the feed again.
Because the root document has no background and the widget displays no content when an entry is rejected, the player-level overlay remains transparent whenever no qualifying alert is available.
Note:
The National Weather Service API documentation requires requests to identify the application through a User-Agent. Verify that the selected player, widget, or network configuration can access the endpoint as required. For a managed deployment, a local proxy or cache can also provide a controlled request identity and reduce direct requests to the public service.
The parameters in this example have the following purpose:
status=actual requests actual alerts rather than test, exercise, draft, or system messages.
message_type=alert,update filters out the messages of type “cancel”.
severity=Extreme,Severe filters the alerts with a severity of “Extreme” or “Servere”. This configuration excludes advisories and other moderate events while preserving the most significant alerts.
limit=1 limits the response to one entry to get the latest alert.
The nationwide endpoint is convenient for testing because it is likely to return an entry. However, the latest alert across the United States is unlikely to apply to a specific campus. For a real deployment, use the filters supported by the API to restrict the response to the state, zone, area, or point relevant to the campus. For instance, if you want to restrict the feed to United States Air Force Academy, use can use this additional parameter: &zone=COZ084 referring to Northern El Paso County/Monument Ridge/Rampart Range Below 7500 Ft. Consult the National Weather Service API specification for the available alert parameters.
Selected CAP fields
Each Atom entry contains standard Atom elements and CAP-specific elements. The project can use the following values:
Information
Feed element
Suggested use
Title
title
Fallback heading or complete source title
Summary
summary
Main alert information
Event
cap:event
Short banner heading
Area
cap:areaDesc
Affected location
Severity
cap:severity
Filtering and visual appearance
Urgency
cap:urgency
Optional metadata
Certainty
cap:certainty
Optional metadata
Message type
cap:msgType
Filtering of alerts, updates, and cancellations
Expiry
cap:expires
Optional validity information
Depending on the selected feed and event, the summary may contain significantly more text than can be displayed comfortably in a banner. The layout should therefore limit or clip the displayed text rather than reducing the font size until the entire summary fits.
Benefits of this approach
This architecture offers several advantages:
Official weather information is retrieved automatically.
The main signage projects remain unchanged.
One centrally hosted overlay project can serve multiple players.
The overlay works independently of the content-management system used for the main content.
The implementation uses an Elementi data-feed widget without requiring modifications to its code.
The same banner layout can display different alert events dynamically.
The visual appearance can be adapted according to the severity value.
The overlay returns to a transparent state when no qualifying entry is available.
For refresh, enter the time interval for automatic data renewal, for instance 1min.
Go to the “XML Parser” tab and for selector, type entry.
Click the “Test...” button and check that the feed is correctly retrieved and parsed.
Click 🆗.
Use this nationwide URL only while building and testing the project. For operational deployment, replace it with an endpoint filtered for the area relevant to the campus.
Configure the refresh interval
As the feed returns one item at most, set the slide duration to match the data source refresh rate (e.g., 1min) and enable the looping property.
Note:
The National Weather Service API applies reasonable rate limits to preserve service availability. Since each player configured with the overlay makes its own request, for larger deployments, consider increasing the refresh rate or placing a proxy application between the players and the external feed, which can retrieve the official feed once and serve the same response to all the campus players.
Design the alert layout
This tutorial uses one reusable banner layout for all qualifying alerts. The banner occupies approximately 25% of the screen and can be positioned along its upper or lower edge. The remaining content continues to be visible underneath the player-level overlay.
A suggested design is:
Background: solid or nearly opaque
Main heading: alert title – keep the event heading large enough to be read from a distance.
Optional metadata: severity, urgency, certainty, and affected location.
Optional graphic: image selected from value of the cap:severity element.
Here are the steps to follow:
Severe weather alert overlay - widget size
Configure the widget's layout to occupy 25% of the screen:
Click the icon at the right-side of the toolbar to open the general properties of the document.
Set Format to “Custom”.
Set width to 1920 and height to 270.
Click 🆗. The widget's editing area changes to a narrower zone.
Severe weather alert overlay - title layer propertiesSet the alert title.
Click the button on the text layer containing the title placeholder (i.e., [[title]]). The "Layer Properties" dialog opens.
Set the layer position to Left: 280 Top: 16 Width: 1620 Height: 172.
Enable the “Automatic scroll” smart text effect to ensure long titles are entirely displayed. Set number of lines to 2 and optionally increase the display duration to 4 seconds (per line).
Click 🆗.
Severe weather alert overlay - title layer propertiesSet the additional alert details.
Add a new text layer.
Click the button to edit the layer properties.
Set the layer position to Left: 280 Top: 188 Width: 1620 Height: 80.
Enable the “Ping-pong - Right to left” smart text effect to entire text is displayed. Optionally, increase its start delay to 5 seconds.
Go to “Edit Text” tab, select the entire text, and set the font size to 48.
Replace the default text with: Severity: [[severity]] Urgency: [[urgency]] Certainty: [[certainty]] Affected area: [[areaDesc]]
Click 🆗.
Severe weather alert overlay - alert graphic layer propertiesSet the severity graphic
Select the media layer (i.e., [[link]] ) already included in the widget
Click the button to resize it to fit the entire widget area.
Click the button to edit the layer properties.
Configure the layer's URI using the severity field, such as [[severity]].png.
Set its duration to “Indefinite”.
Set media fit to “Meet” and media align to “Left”.
Severe weather alert overlay - alert graphic layer properties - box formatGo to “Box Format” tab
Add a mat background, for instance a yellow background at 80% opacity.
Optionally add some padding to avoid the graphic touching the margins.
Click 🆗.
Add two image files to the project, using filenames that match the values returned by the feed, such as: Severe.png and Extreme.png.
Publish the project to the newly created Publish Location.
Open https://server.example.com/weather-overlay/index.svg in a browser within the same network as the players to verify that it is accessible via HTTP.
Reboot the player to apply the player-level overlay configuration.
The overlay project is loaded independently of the main content. The same centrally hosted project can therefore be configured on multiple campus players.
Optional extensions
Use a shared campus cache
In a deployment with many players, configure a server to retrieve and cache the official feed. Point the players to the cached campus endpoint instead of having every player request the external service directly.
A shared cache can:
Reduce the number of external requests
Apply campus-specific geographic filtering
Provide consistent results to all players
Improve logging and monitoring
Normalise the response for the Elementi project
This extension requires a separately maintained server-side component.
Troubleshooting
No alert appears
Verify that:
The player-level overlay is configured correctly.
The overlay project's index file is accessible from the player.
The player can access the alert endpoint.
The endpoint returns an Atom document.
The widget has completed its configured refresh duration.
The feed is not refreshed
Verify that:
The widget duration or refresh interval is configured correctly.
The player has continuous access to the endpoint.
The service is not returning a rate-limit error.
An intermediary proxy or cache is not retaining the response longer than expected.