Sharing to you our Revpi +DIO for our container terminal gate kiosk and gate control. It's now 3 years old and still no known issues or downtime for revpi even in the harsh saudi weather.
NodeRed is used for integration and control
Ultrasonic Sensor for Truck Sensor
Relay - Barrier Control