Widgets/Consumer

Status Widget

Status Widget

A "Consumer" type widget. Status Widget records any incoming value under a given status name, making it visible to the Status Panel. This widget enables monitoring of values from any part of a recipe, including custom widgets and scripts.

When triggered, it updates the status panel with the received value.

 

Inputs

  • status (DataType: Anything) Any event received here will update the named status with the event's value. The status will appear in the Status Panel with the configured name.

Custom Settings

  • Status Name — The name that will be displayed in the Status Panel for this status value.

Status Panel

The Status Panel is the centralized interface for visualizing and managing data sent by Status Widgets. It provides real-time monitoring of all status values in a recipe.


Status Widget Settings

 

Examples

Simple Counter Monitor

This example shows how to monitor the output of a script widget and display its current value in the Status Panel.


Drag the example onto the workspace to explore and experiment!



In this example:

  1. The Button Widget triggers the Script Widget to start counting events
  2. The Script Widget increments an internal counter and outputs the count value
  3. The count value is sent to both:
    • Display Widget for visual feedback
    • Status Widget named "total-events" for monitoring in the Status Panel
  4. The Status Panel shows the current count value in real-time

 

Clock Timer Monitor

This example demonstrates monitoring a clock timer system with multiple status values in the Status Panel.


Drag the example onto the workspace to explore and experiment!



In this example:

  1. The Clock Widget generates events every 100 milliseconds (10 times per second)
  2. The Counter Widget counts each clock event and increments its value
  3. Two Status Widgets monitor different aspects:
    • "clock-status": Shows true when the clock is running, false when stopped
    • "current-count": Displays the current count value in real-time
  4. The Display Widget provides visual feedback of the current count
  5. Start/Stop buttons control the clock operation
  6. The Status Panel shows both status values simultaneously for comprehensive monitoring

 

📌 Additional Notes

  • Multiple Status Widgets can use the same name to create a shared status across different parts of a recipe
  • Status Panel: Double-click status names to edit them inline; changes sync immediately with the Status Widget
  • Data Types: Hover over values in the Status Panel to see their data type (Number, Boolean, String, etc.)
  • The Status Widget requires a name to be configured in its custom settings before it can function
  • Status values are automatically cleaned up when the recipe terminates
  • The Status Panel will show the most recent value received by any Status widget with the same name
  • Centralized Monitoring: The Status Panel provides a unified view of all status values for easier debugging and monitoring