How smart rules work
Piksel evaluates active smart rules on a schedule, approximately every five minutes. You can also trigger evaluation manually from the smart rules interface. During each evaluation, Piksel fetches current weather data for each screen that has coordinates set, checks all active rules for that screen in priority order, and applies the first rule whose condition matches. When a rule is applied, it overrides both the schedule and the default playlist for that screen. When no rule matches, the screen falls back to its active schedule (if any), then to its default playlist. Resolution order: Smart Rule → Schedule → Default playlistCondition types
- Weather
- Temperature
Match against the current weather condition at the screen’s location. Set
Example: Show a hot-drinks promotion playlist whenever the condition is
condition_type to weather and condition_operator to equals, then choose one of the supported condition values:| Value | Description |
|---|---|
clear | Clear sky |
cloudy | Partly or fully overcast |
fog | Foggy conditions |
drizzle | Light drizzle |
rain | Rain |
snow | Snow |
storm | Thunderstorm |
rain.Creating a smart rule
Click New rule
Select the screen the rule applies to and the playlist to switch to when the rule triggers.
Configure the condition
For weather rules, select the weather condition value (for example,
rain).For temperature rules, select the operator and enter a numeric value in Celsius (for example, gt and 30).Set a priority
Enter a priority number. When multiple active rules match at the same time, the one with the highest priority takes effect. The default priority is
10.
