node-red / node-red/node-red-nodes

Same Serial Port Connected in Two Flow files Not working while disabling one of the flow

Open
#817 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.1k
Forks
612
Avg merge
13h 57m
Merged PRs (30d)
3

Description

Hi Team

I am trying to add COM2 in two flow files Flow1 and Flow2. The data is displayed in both flows initially . But when we disable and enable Flow1 then the Flow2 serial port is not displaying the data though it displays connected .

FLOW1

Screenshot 2021-06-17 at 11 21 48 AM

FLOW2

Screenshot 2021-06-17 at 11 21 52 AM

Initial Debug Message

fa26bb56cd1955edf7a859a34777eec8ad255d80

Disable and enable FLOW2 from postman

Screenshot 2021-06-17 at 11 25 22 AM
e7b80a9f641020fdbd26a054024567a9a39e48f7_2_1284x1000

Debug Message after disable and enable

Screenshot 2021-06-17 at 11 25 38 AM

As u noticed the Flow1 Data is not displaying in the Debug Window though both flows are connected

Node-RED version: v1.2.6
Node.js version: v15.5.0
npm version: 7.3.0
Platform/OS: Windows 10
Browser: Chrome

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue with COM2 assigned to Flow1 and Flow2, then disable and re-enable one flow using the described Windows, Node-RED, and Postman setup. Compare the initial and post-toggle debug output; done means both connected flows continue displaying serial data after either flow is toggled.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
embedded-iot
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.