ChirpStack Node-RED nodes

I have just released a ChirpStack Node-RED nodes package, which can be used to received uplinks from ChirpStack (using MQTT) and schedule downlinks using the ChirpStack gRPC API. Instructions on how to use this package can be found here: GitHub - brocaar/node-red-contrib-chirpstack: ChirpStack Node-RED nodes.

1 Like

which node did you choose to insert the device event? I installed the chirpstack package, but I couldn’t find this node. I need your help please!

It uses the MQTT node, which is already provided by Node-RED. While it is aimed at ChirpStack Gateway OS uses, this might be helpful: Node-RED quickstart - ChirpStack open-source LoRaWAN<sup>®</sup> Network Server.

1 Like

So from what I understand, I have to install the geteway OS on my gateway first?

Not my take: you just need to install THIS add-on to integrate with ChirpStack into your existing Node-RED. MQTT node comes with Node-RED already but you do need to configure it to subscribe to your ChirpStack.

I’m trying to install this without too much luck. But I had to upgrade a lot of Node-RED modules (last did that 3 yrs ago :rofl:) so I’m a little behind the times.

Had to put in ticket for IT to retire Win7 virtual server and spin me up a Win10 version. Oops. :crazy_face:

for the configuration of MQTT with chirpstack I did this
image
For the installation I followed the link you gave me, and it gave me these nodes


But I can’t find here the device event node :pensive: :pensive
:pensive:

These are not the nodes provided by https://github.com/brocaar/node-red-contrib-chirpstack/

@brocaar, so I was about to post that I got same result as @Nabila only to realize my mistake: I had previously used Node-RED palette to install a package that’s available from their repository (that’s what the blue nodes are) called chirpstack (lower case) while your nodes are “ChirpStack” (mixed case) installed using npm:

zip_installation

Here are both packages:

Easiest way to see what’s going on is to go to top-right of Node-RED UI, click on “hamburger” and select Manage Palette:

bruh i still dont understand how you manage to install the non-blue shirpstack nodes.im using the npm installer to only get errors

Can you post errors you’re getting?

I can tell you that I first had to get a newer Node.js (which required a newer version of Windows; newest Node.js didn’t support Windows 7) and then I installed most recent nodeRED and everything else was pretty smooth after that, except for what I said about chirpstack vs ChirpStack.

Hello,
I’ve installed new updated chirpstack node-red nodes https://github.com/brocaar/node-red-contrib-chirpstack but can’t make it running?! I did it some time ago, prior update , fallowing the instructions and it was running properly. Now I get enqueue error as shown on the figure.

How can I troubleshoot this error?

Is there any missing instruction for this new updated nodes?
I wander why is changed DevEUI to DevEui?!

best regards,
Nenad

This was version issue! I was using newly published V4.0.0 chirpstack up/downlink nodes with prev version of chirpstack network and app servers.
When installed @chirpstack/node-red-contrib-chirpstack@3.0.1 both, up and downlink messages work smoothly as before.
Anyhow I’m still curious to know how to troubleshoot enqueue error (and other type of errors) when happens.

1 Like

can you send the contrib v3 installation tutorial?

There’s no any special tutorial, you should fallow https://github.com/brocaar/node-red-contrib-chirpstack, just force installation of 3.0.1 version with
npm install @chirpstack/node-red-contrib-chirpstack@3.0.1

and be sure that you properly deleted previously installed version.
Check it with npm list -g if you install it as global
If you still see old version in palette manager do restart Node-red. I use pm2 for that. br

Hi @nensak ,
what version of node.js and node-red are you using? I already forced the installation with npm install @chirpstack/node-red-contrib-chirpstack@3.0.1 , restarted node-red, and I still do not see any of the ChirpStack nodes available. When I search on the “Manage Palette” section, I only see the nodes available from @smartparks but nothing from @chirpstack.
Thank you!


I have solved it after many restarts of node-red.

  1. cd ~/.node-red
  2. ls
  3. cd node_modules
  4. git clone https://github.com/brocaar/node-red-contrib-chirpstack.git
  5. npm i node-red-contrib-chirpstack
  6. node-red restart
  7. Close web session
  8. Reopen. They should appear after restarting node-red.

Make sure you have Node-Red version 3.0.1 and stable version of node.js, which is v16.16.0 as of now.