Skip to content

Live Condition Feedback and Status Display in Blockly for ioBroker #2241

@mamsoft

Description

@mamsoft

Is your feature request related to a problem? Please describe.
When creating scripts in Blockly for ioBroker, debugging complex conditions can become difficult because there is no visual feedback showing whether an "if" condition currently evaluates to true or false. Additionally, live values of variables or datapoints used inside the blocks are not visible within the editor.
As a result, troubleshooting often requires manually adding log outputs or switching between multiple tools and views.

Describe the solution you'd like
It would be very helpful to have optional live status visualization directly inside Blockly, for example:

  • Green highlighting/border when a condition evaluates to true
  • Red highlighting/border when a condition evaluates to false
  • Display of current datapoint or variable values directly on the blocks

If permanent live updates are considered too resource-intensive, an alternative could be a manual "Check values" or "Debug block" button that temporarily evaluates and displays the current states and values.

Describe alternatives you've considered
Currently, the only workaround is manually adding log outputs or debug messages inside the scripts. While this works, it becomes cumbersome for larger Blockly projects and slows down troubleshooting significantly.

Additional context
This feature would greatly improve usability and debugging efficiency, especially for users building complex automation logic in Blockly without directly writing JavaScript.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions