Without the radio or the SMC gateway device, its a bit hard to help much. Also this forum is for Node-RED running on a groov EPIC system, not Raspberry Pis. You might try the official Node-RED forum over at https://discourse.nodered.org/… That said, have a look at this thread (USB to Serial adaptor support for AR1), it shows how to connect USB devices to groov EPIC, it should be similar for a Pi.
So, you hook the USB to the Pi and the radio. Use the serial Node in Node-RED to communicate via the CAI protocol using a Function Node. From there you just need to know the protocol to get the Radio ID sorted. The IP address of the radio should be the same IP address as the Pi since thats what its connected with.
What is your end goal? To replace the SMC Gateway with a Pi?
at the moment its a project at home so I can learn node-red, if all goes well then I would look to replace the SMC with a PI.
With the SMC all nodes are there ready to drag drop onto the workflow plus the programming has been done for connecting a radio.
Is there a way that I can look at the programming code of each node? at the moment my demo SMC doesn’t work I cannot connect to it, I have send it away for repair as I was going compare nodes.
I am totally new to programming (functions), maybe I should find a smaller project first.
They must have done their own nodes and not published them on http://flows.nodered.org
Thats the usual place most people go to download and upload nodes and flows.
Doing a search there for either SMC or Motorola shows nothing.
You would have to reach out to the SMC people to see if they will show you their code.
Most people have it on a github or such to view and modify.
Its a pretty solid project to start with. There a lot of resources for Node-RED projects on a Pi, if you are in it to learn then yeah, starting with something a bit more mainstream might be a good idea and build up to it… But then again, nothing like jumping in the deep end!