# Pollen Infoscreen

#### Description

The Pollen Infoscreen is a WebAPI based solution that displays allergy risk based on set location and contaminants. To better tailor the user experience, it is possible to set custom contaminants along with the general allergy risk input via WebAPI.

<p class="callout info">This solution requires active WebAPI data binding and can only be properly run via our PlayerConnector. Is not fully functional in the built-in SceneComposer player.</p>

<p class="callout info">**IMPORTANT**: Please request a new API key to use in the associated script (see <span style="color: rgb(230, 126, 35);">[collapsible block below](https://doc3161en.candera.eu/link/1378#bkmrk-this-app-is-based-on)</span>).</p>

<p class="callout info">For more info on the deployment on HW please check our <span style="color: rgb(230,126,35);">[Target Setup Guide](https://doc3161en.candera.eu/books/target-setup-for-community-edition-raspberry-pi/page/target-setup-and-first-steps).</span></p>

The solution has a resolution of 1280 \* 720 and features an overview scene as well as an insights scene where further contaminants are displayed.

#### Overview scene:

The overview scene features the most important information at one glance. Via clicking the location (in this case Vienna) the user can select different countries and cities. In the top left corner the overview scene shows the general allergy risk (depending on the strongest contaminant that day) and shows the forecast for the upcoming 3 days as well in the box next to it.

<div drawio-diagram="9138"><img src="https://doc3161en.candera.eu/uploads/images/drawio/2026-08/drawing-7-1785828640.png" alt=""/></div>

In the left bottom corner the forecast for the day is shown on a more granular level in 4-hour intervals. In addition to the general information the users can set up to 4 individual contaminants to also have the most relevant ones available at a glance.

**Dynamic Elements:**

- Clock control
- Air Quality – text value
- DayRisk control (4 week days)
- MultihourValue control (bars with 10 levels/images)
- Pollen\_Brief control (level of preselected contaminant, with 4 levels, triggers list of contaminants)
- City Button (triggers location list)
- Insights Button (switches to contaminants list scene)


#### Insights scene

The insights scene features a list of up to 8 available contaminant information available via WebAPI. The list hierarchy is taken over from the WebAPI data and is usually ranked by strongest to weakest contaminant (with the strongest contaminant on the top of the list).

<div drawio-diagram="9139"><img src="https://doc3161en.candera.eu/uploads/images/drawio/2026-08/drawing-7-1785828756.png" alt=""/></div>

<div id="bkmrk-contaminantlisteleme">ContaminantListElement control – List element, composed of other controls:</div>

- ContaminantName control
- 4 x ContaminantLevel

Since we have many similar elements, we can create a template for each type and instance it several times.

#### Controls

Below you can find detail explanations of the individual controls and properties as used for the Pollen Infoscreen solution.

<details id="bkmrk-we-have-a-background"><summary>DayRisk</summary>

<div drawio-diagram="9070"><img src="https://doc3161en.candera.eu/uploads/images/drawio/2026-07/drawing-5-1783689327.png" alt=""/></div>

</details><details id="bkmrk-this-control-shows-t"><summary>PollenBrief</summary>

<div drawio-diagram="9152"><img src="https://doc3161en.candera.eu/uploads/images/drawio/2026-08/drawing-7-1786342950.png" alt=""/></div>

</details><details id="bkmrk-for-the-graph-elemen"><summary>MultihourValue</summary>

<div drawio-diagram="9074"><img src="https://doc3161en.candera.eu/uploads/images/drawio/2026-07/drawing-5-1783689450.png" alt=""/></div>

</details><details id="bkmrk-the-contaminant-leve"><summary>ContaminantLevel</summary>

<div drawio-diagram="9078"><img src="https://doc3161en.candera.eu/uploads/images/drawio/2026-07/drawing-5-1783689537.png" alt=""/></div>

</details><details id="bkmrk-the-contaminant-desc"><summary>ContaminantName</summary>

<div drawio-diagram="9080"><img src="https://doc3161en.candera.eu/uploads/images/drawio/2026-07/drawing-5-1783689570.png" alt=""/></div>

</details><details id="bkmrk-contaminantslistelem"><summary>ContaminantsListElement</summary>

<div drawio-diagram="9144"><img src="https://doc3161en.candera.eu/uploads/images/drawio/2026-08/drawing-7-1786341832.png" alt=""/></div>

</details><details id="bkmrk-this-template-was-de"><summary>Contaminant</summary>

<div drawio-diagram="9145"><img src="https://doc3161en.candera.eu/uploads/images/drawio/2026-08/drawing-7-1786341932.png" alt=""/></div>

</details><details id="bkmrk-the-country-list-but"><summary>Country</summary>

<div drawio-diagram="9146"><img src="https://doc3161en.candera.eu/uploads/images/drawio/2026-08/drawing-7-1786342048.png" alt=""/></div>

</details><details id="bkmrk-the-city-button-temp"><summary>City</summary>

<div drawio-diagram="9147"><img src="https://doc3161en.candera.eu/uploads/images/drawio/2026-08/drawing-7-1786342120.png" alt=""/></div>

</details><details id="bkmrk-contaminants_list-th"><summary>Contaminants\_List</summary>

<div drawio-diagram="9148"><img src="https://doc3161en.candera.eu/uploads/images/drawio/2026-08/drawing-7-1786342190.png" alt=""/></div>

</details><details id="bkmrk-groupbox_list-this-c"><summary>GroupBox\_List</summary>

<div drawio-diagram="9141"><img src="https://doc3161en.candera.eu/uploads/images/drawio/2026-08/drawing-7-1785829056.png" alt=""/></div>

</details>#### Scenes

The app has 2 main scenes, the “Overview” and the “Insights” scene, and can switch between them using the buttons on the bottom bar. The “TopBar” and “BottomBar” scenes are always loaded and visible. For selecting items from lists, there are also two smaller scenes always loaded, and their visibility is controlled by triggering animations: “Location\_Popup” and “ContaminantsList\_Popup”.

<div id="bkmrk-overview-scene-this-"><details><summary>Overview Scene</summary>

<div id="bkmrk-this-scene-is-the-mo" style="text-align: justify;"></div><div id="bkmrk-topleft%3A-here-we-jus" style="text-align: justify;"></div><div id="bkmrk--27"></div><div id="bkmrk-%C2%A0-%C2%A0-%C2%A0-%C2%A0-%C2%A0"><div drawio-diagram="9091"><img src="https://doc3161en.candera.eu/uploads/images/drawio/2026-07/drawing-5-1783689794.png" alt=""/></div>

  
</div><div id="bkmrk--30"></div><div id="bkmrk-topright%3A-here-we-ha" style="text-align: justify;"></div><div id="bkmrk--31"></div><div id="bkmrk-%C2%A0-%C2%A0-%C2%A0-%C2%A0-%C2%A0-1"><div drawio-diagram="9092"><img src="https://doc3161en.candera.eu/uploads/images/drawio/2026-07/drawing-5-1783689805.png" alt=""/></div>

  
</div><div id="bkmrk--34"></div><div id="bkmrk-bottom-left%3A-this-di" style="text-align: justify;"></div><div id="bkmrk--35"></div><div id="bkmrk-%C2%A0-%C2%A0-%C2%A0-%C2%A0-%C2%A0-%C2%A0-%C2%A0-%C2%A0-5"><div drawio-diagram="9093"><img src="https://doc3161en.candera.eu/uploads/images/drawio/2026-07/drawing-5-1783689817.png" alt=""/></div>

  
</div><div id="bkmrk--38"></div><div id="bkmrk-bottom-right%3A-here-t" style="text-align: justify;"></div><div id="bkmrk--39"></div><div id="bkmrk-%C2%A0-%C2%A0-%C2%A0-%C2%A0-%C2%A0-2"><div drawio-diagram="9094"><img src="https://doc3161en.candera.eu/uploads/images/drawio/2026-07/drawing-5-1783689826.png" alt=""/></div>

</div></details></div><div id="bkmrk--42"></div><details id="bkmrk-this-scene-only-cont"><summary>Insights Scene</summary>

<div drawio-diagram="9097"><img src="https://doc3161en.candera.eu/uploads/images/drawio/2026-07/drawing-5-1783689886.png" alt=""/></div>

</details><details id="bkmrk-in-the-top-bar-we-ha"><summary>TopBar Scene</summary>

<div drawio-diagram="9100"><img src="https://doc3161en.candera.eu/uploads/images/drawio/2026-07/drawing-5-1783690113.png" alt=""/></div>

</details><details id="bkmrk-in-the-bottom-bar-we"><summary>BottomBar Scene</summary>

<div drawio-diagram="9151"><img src="https://doc3161en.candera.eu/uploads/images/drawio/2026-08/drawing-7-1786342880.png" alt=""/></div>

</details><details id="bkmrk-this-scene-is-very-s"><summary>ContaminantList\_Popup Scene</summary>

<div drawio-diagram="9149"><img src="https://doc3161en.candera.eu/uploads/images/drawio/2026-08/drawing-7-1786342623.png" alt=""/></div>

</details><details id="bkmrk-this-is-the-largest-"><summary>Location\_popup Scene</summary>

<div drawio-diagram="9150"><img src="https://doc3161en.candera.eu/uploads/images/drawio/2026-08/drawing-7-1786342688.png" alt=""/></div>

</details>#### Other elements

Below you can find more information on the remaining elements not belonging in the controls and scenes chapter.

<details id="bkmrk-this-app-is-based-on"><summary>Associated script (WebAPI)</summary>

<div drawio-diagram="9110"><img src="https://doc3161en.candera.eu/uploads/images/drawio/2026-07/drawing-5-1783690318.png" alt=""/></div>

</details><details id="bkmrk-in-the-%E2%80%9Cglobalstatem"><summary>State Machine</summary>

<div drawio-diagram="9111"><img src="https://doc3161en.candera.eu/uploads/images/drawio/2026-07/drawing-5-1783690333.png" alt=""/></div>

</details><details id="bkmrk-the-only-animations-"><summary>Animations</summary>

<div drawio-diagram="9112"><img src="https://doc3161en.candera.eu/uploads/images/drawio/2026-07/drawing-5-1783690349.png" alt=""/></div>

</details>