Streaming Hub 0.1

Statistics workspace

Store derived values and keep them updated from incoming signals.

Alpha
Verified withStreaming Hub: unreleased development buildPlugins: Twitch 1.0.0; Stream Deck 1.1.1

The Statistics workspace connects a source signal to a named value under stats.*. It is useful for counters, current titles, prediction state and other values that should update independently of an automation sequence.

Select a statistic on the left, define its storage in Value settings, then add one or more signal-driven update rules.

Workspace elements

CalloutElementPurpose
1Statistic valuesLists each statistic, its current value, number of update rules and runtime status. Add creates a definition; Remove deletes the selected definition.
2Value settingsEnabled activates the definition. Name is the display label, Key creates its stats.* path, Description documents it, Value type controls conversion, Initial value is the reset value, and Scope chooses session or persistent storage.
3Current valueDisplays the live session or persistent value. Set writes a manual value; Reset restores the configured initial value.
4Update rulesLists the signal-driven rules for the selected statistic. Add and Remove manage rules; the row checkbox enables one rule, while the row actions duplicate or delete it.
5Rule settingsRule name identifies the rule; Source signal selects its trigger; Value source chooses where the incoming value comes from; Incoming value selects or expresses that value; Destination statistic identifies the target; Apply to value chooses Replace or another supported operation.
6PreviewShows the expression Streaming Hub will apply, so you can verify the source path, target path and operation before a signal arrives.
7Conditions and diagnosticsOptional conditions, delivery controls and de-duplication narrow when a rule applies. Diagnostics reports status, last match, last input and last result.
8Encyclopedia browserSearches the registered signal catalog and lets you inspect the source selected for a rule.
9Encyclopedia actionsExport Docs writes reference material; Copy Name, Copy Item Id and Copy Contract Paths copy stable identifiers for authoring.
10Contract referenceShows the selected signal description, capabilities, requirements, inputs and event contract fields.

Statistic paths and scope

The configured key becomes the path used by automations, macros and expressions—for example, stats.prediction_1_points. A session value starts from its initial value when a new session begins. A persistent value is stored with the project data and restored later. See Data and context for how these paths relate to event.*, vars.* and runtime.*.

Build an update rule

  1. Select a statistic, then add a rule.
  2. Choose the source signal. Use the Encyclopedia to inspect its exact contract.
  3. Choose the incoming field or expression and confirm the generated preview.
  4. Select how the value is applied, then use diagnostics to confirm the next matching event.