I have a strange situation that I am looking for help with.
We are implementing Central Door Locking on a Heritage Steam Railway. The solution we are investigating is having a Raspberry Pi with touch screen in the guards compartment. The guard will have buttons to click to close individual or groups of doors, eg. all doors, doors on one side, doors in a carriage.
Each carriage will have its own Raspberry Pi that will receive the commands and then use the GPIO pins to activate the various locks.
We need to discover which carriages are coupled to the train and in what sequence. Discovering the carriages is straight forward as each Rpi on a carriage will know which carriage it is installed in and it registers with the control system when it is connected. What we are having difficulty with is the sequence. This is needed to show the carriage on the GUI.
The network is quite straight forward in that we have our own subnet and each carriage will have its own static IP address. We will runa cat5/6 cable down the train with network switches in each carriage to branch off to the carriage Rpi.
Controller——–Network Switch—–Network Switch
| |
RPi RPi
I have looked at nmap and librenms, both of which do not seem to do the trick. I am also considering Managed Switches which might give me the information I want.
Has anyone got any suggestions
Using nmap and librenms. I hoped that I could extract which MAC address is attached to each port of the network switches. I could then match MAC address to carriage. I could not find the information.
user1616247 is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.