node-red-node-serialport message duplication
还没有人认领这个 Issue。
评估
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 新手友好度
- 35/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 停滞
- 技术栈
- javascript, nodejs
- 领域
- embedded-iot
调研方向
从 node-red-node-serialport 串行控制节点开始,通过向共享同一端口的节点发送两次或更多次 enable 来复现该问题。追踪 enable 请求如何注册或触发 serial-node 输出,然后确认重复的 enable 会产生一条唯一消息,而不是重复消息。
由索引模型根据 Issue 内容生成。
描述
Which node are you reporting an issue on?
node-red-node-serialport serial control node
What are the steps to reproduce?
Just send enable two or more times to control node
What happens?
All serial nodes that have output and are configured for the same port will emit multiple same messages according to number of issued enables
What do you expect to happen?
I expect to emit the unique message only one time
I've tried it with usb serial and with native rs232, both same behaviour.
- Node-RED version: 3.1.9
- node.js version: 20.13.1
- npm version: 10.5.2
- Platform/OS: Ubuntu 24.04 LTS
- Browser: Chrome
- 主要语言
- JavaScript
- 星标
- 1.1k
- 派生
- 612
- 平均合并
- 13 小时 57 分钟
- 30 天内合并 PR
- 3
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
node-red/node-red-nodes 的其他 Issue
-
难度 3/5 1-2 天 新手友好度 58/100
node-red/node-red-nodes#1142 · 11 条评论 ·
-
难度 4/5 3-5 天 新手友好度 45/100
node-red/node-red-nodes#1141 · 15 条评论 ·
-
难度 4/5 3-5 天 新手友好度 45/100
node-red/node-red-nodes#1130 · 4 条评论 ·
-
dependencies
难度 5/5 一周以上 新手友好度 25/100
node-red/node-red-nodes#1121 · 5 条评论 ·
-
upstream
难度 3/5 1-2 天 新手友好度 50/100
node-red/node-red-nodes#1116 · 5 条评论 ·
查看 node-red/node-red-nodes 的全部 Issue
相似的 Issue
-
enhancement
难度 2/5 1-3 小时 新手友好度 70/100
babalae/bettergi-scripts-list#3674 ·
-
难度 2/5 1-3 小时 新手友好度 88/100
vadimdemedes/ink#1029 ·
-
code-quality refactoring
难度 2/5 1-3 小时 新手友好度 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
难度 2/5 1-3 小时 新手友好度 74/100
langchain-ai/deepagents#6450 ·
-
optimization optimization:agents-md-curator
难度 2/5 1-3 小时 新手友好度 86/100
githubnext/gh-aw-cao#13143 ·