Skip to content

Error in Node SWITCH with preset On Payload/Off Payload - Buffer #2191

Description

@Amperum

Current Behavior

When setting the parameters for On payload / Off payload as buffer, when data is received, for example ["0x00","0x31","10","20","4","100"] as ON and ["0x00","0x31","10","20","4","0"] as OFF, then in the dashboard the indicator only switches to the ON status at ["0x00","0x31","10","20","4","100"] , but does not turn off at ["0x00","0x31","10","20","4","0"] , although in the development environment the indicator shows that OFF is performed.

Expected Behavior

In the old version of the dashboard, when buffer-type data arrived at the SWITCH node, the corresponding status was displayed both in the dashboard and in the development environment.

Steps To Reproduce

Even such a simple combination does not work correctly.
Image

Environment

  • Dashboard version:1.30.2
  • Node-RED version: 5.0.4
  • Node.js version:24.19.0
  • npm version:11.17.0
  • Platform/OS: Ubuntu server 24.04.4 LTS
  • Browser:Google Chrome Version 151.0.7922.138 (Official Build) (64-bit)

Have you provided an initial effort estimate for this issue?

I am not a FlowFuse team member

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triageNeeds looking at to decide what to do

    Type

    No type

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions