The system recognizes trains, performs motion analysis with direction determination, and transmits the states in real-time to a central server. This detection occurs locally (“on the edge”) with direct connection via TLS (Transport Layer Security)-secured MQTT protocol. Redundant mechanisms ensure high operational reliability.