I am very sorry for delayed reply. Actually we realized that there wasn’t any relevant files on the Dev Conf folder so it took long time for searching them and we found them finally. Here is the link for the files:
IoTGateway-NodeRed: plugin for XProtect’s management client to connect to an instance of nodered. You can set the address of it under General “Options”. Provided with VS 2022 project and source - optional
VideoOS.NodeRed.Bridge: dll to include in your nodered flow, together with all dependencies: Basically all the VideoOS dlls and autofac.dll. Need to have Dotnet framework installed (I have 4.8)
node-red-xprotect: both the nodes and my app. There is an INSTALL instruction on how to setup nodered and register the xprotect plugins.
You also need edge-js that is as of now compatible with Node.js vs 14.x and not 16 or 18 (yet). Therefore you need NodeJs v14.
I appreciate you posting the material. I’ve had a quick look and this looks so promising. It’s too bad that edge-js as part of this solution isn’t compatible with Node 16 yet. I’m developing on node V16.16 and it would have been nice to just dive in and explore this type of integration.
I suppose I could use NVM and play with the demo but I have other dependencies related to Node 16 on this same project.
You can do a “low-code” integration, sending XProtect Events to Node-Red, by utilizing XProtect Webhooks, and let that trigger a “http in” node in Node-Red.