Node-RED Particle node keeps sending the very first value

I’m trying to use the node-red-contrib-particle-official.

I’m facing a strange behaviour: the very first value sent is kept on the following messages.

What I have already done:

  1. Created a Particle OAuth client and reported the Client ID and Client Secret to the Particle Publish node.
  2. Populate properties event and payload.
  3. Subscribed to the same event.

Both the Node-RED debug pane and the Particle console list the same value 0.

When sending the messages from the console, the correct value is received.

Am I doing something wrong with the Node-RED node? Thank you for your help!

  • The Node-RED flow

I tried the non-official node-red-contrib-particle with the same configuration and it works fine.

No answers on the forum, so I raised a ticket at

This is almost certainly a bug in the official Particle node. It was a known bug in the Rules Engine implementation and I thought I fixed it when I made the public version but I forgot I backed that change out during testing because it introduced a different problem so the bug is back again. When I get a chance I’ll fix it for real.

1 Like

Hi there, this bug is really blocking the development of solutions with your devices using node-red and wanting to use the official version of nodes.
Is it possible to expedite the release of a patch ?
Thank you very much.

@cashbit Have you tried the non-official node-red-contrib-particle? It works nicely for me.

0.1.6 (2020-11-30)

  • Fixed a bug where a subscribe node would keep using the same value it received on the first event, even if the value changed.

Version 0.1.6 should be live on Node-RED, npm, and Github.

1 Like

It works fine now, thank you!

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.