FORUM CTRLX AUTOMATION
ctrlX World Partner Apps for ctrlX AUTOMATION
06-09-2023 05:58 AM - last edited on 06-13-2023 11:53 AM by CodeShepherd
Hi All,
Im testing connection of Nexo to ctrlX core as the concept using http protocol below.
In the Nexo tightening web.
I activated http protocol.
At my PC (installed Node-red for testing only) using http in & http response to get the feedback.
first thing I just create a http server in node-red to listen data package from Nexo. But it didnt work, have you ever tried this connection before and could share it with me?
Thank you.
06-13-2023 03:50 PM
Hello,
I developed the Node-RED code used in the referenced concept. I am requesting the Nexo tool settings from the person who implemented this on the tools.
Here is a generic version of the flow which accepts HTTP post requests at /node-red/tightening. I am using a custom version of Node-RED which includes some additional packages, so all of the functionality won't work in the flow. You should be able to use this as an example of how to establish an input connection though. You can try first to make the connection using Postman or similar tool.
Using the Node-RED app from ctrlX Store, I can post to the http in node at the following route (http://192.168.1.100/node-red/tightening). If you can make the connection with Postman, I'd try removing the port from the "Page" setting on the Nexo tool. I will post the verified settings when I hear back from my colleague.
Save the attached file as .json and you should be able to upload directly into Node-RED. Otherwise, copy and paste the content.
06-14-2023 11:44 AM
Basically I can create a server in ctrlX core now and can post from Posman or YARC. Its all ok. But when I plug Nexo into ctrlX core then I can not get any feedback data even Nexo shown connected.
06-19-2023 04:59 PM
Unfortunately, I don't have access to a Nexo tool, so maybe someone else can jump in here. I was informed that the connection tests were actually performed on a System350, not a Nexo. My suggestion would be to remove the http://ip_address:port from your page setting and only list the endpoint (/node-red/tightening in my example) and attempt to connect again.
11-14-2023 04:59 PM
Are there any news? Is this still a topic? Or can this topic be closed?