ChirpStack Node-RED nodes

Correct, the major versions must match. Thus for ChirpStack v4, you must use the v4 version of the package.

You will also find documentation here:
https://www.chirpstack.io/docs/guides/node-red-integration.html

I saw that porzim posted an issue on github and have got an attention of brocar, so I hope this will be solved soon.

Yes, that is on my list to look into this. I’m not sure if there is an issue, but if there is, I’ll fix it or update the documentation.

Thank you brocaar! Meantime I’ve got the downlink message running on V4 versions! Here are the screens of uplink and downlink messages, using your example flow.

It seams ok, but I wander where are fPort and payload in the event data?

The debug message after the device downlink shows the queue ID that was generated after the enqueue. If you want to see the requested downlink, then you could enable the debug node after the function node, which will then print the payload that goes to the device downlink node.

Thanks, I knew this, but was not clear with question, obviously.
I expected to find payload and fPort in LoraWANframe and event details in downlink message of ChirpStack applications, but with no success?! When looking to screens I sent, the first shows uplink message in both, ChirpStack and Node red, and there all data sent up from node/applications could be found in Node red, fCnt, fPort and data, but when looking in downlink message, there’s no any of them, although they have been created created by example function and shown in debug node, connected to the function.
It means that the downlink node works (as it returns the msgID), but can’t transfer desired data, ie payload, or I don’t know where to look and how to use them?!

This appears to be broken…
Followed theese steps

  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.

and got

npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/node-red-contrib-chirpstack - Not found
npm ERR! 404
npm ERR! 404 ‘node-red-contrib-chirpstack@*’ is not in this registry.
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.

on step 5

I think it should be @chirpstack/node-red-contrib-chirpstack:

Hello… Brocaar. I have success for get data from node rfm95 arduino to chirpstack- nodered (node → chirpstack-nodered). is it possible to reverse ? (chirpstack-nodered → node). I need send message to node from nodered-chripstack

Please see Node-RED integration - ChirpStack open-source LoRaWAN® Network Server documentation, it includes a node for scheduling downlinks.