Skip to main content
All Collections🔗Connectors and interfacesOn-board equipment
How can I interface Pysae with KUBA ticketing via a WIFI router?
How can I interface Pysae with KUBA ticketing via a WIFI router?
A
Written by Antoine Marin
Updated over a week ago

Contents

Pysae is able to control the on-board ticketing system via a wireless connection based on the use of a WIFI/4G router.

This allows the driver's entry into service on the AVM to be shared with the ticketing system. This limits the number of manipulations the driver has to make on the on-board systems, and saves drivers precious time.

💡Principle

Pooling the driver's service ticket allows the service ticket to be transmitted directly via Pysae to the Kuba ticketing system.

The connector between Pysae and Kuba makes it possible to automatically transmit to the Kuba ticketing console the service entry made by the driver on his Pysae AVM console, so that only one entry is required.

Via the connector, Pysae transmits all the information required to open the agent service on the ticketing system (driver identification) and to start the ticketing system on the service performed (service identification).

✅ Technical requirements

You must have the following equipment:

Kuba ticketing terminal

Smartphone or tablet

  • Mounting bracket

  • Data connection

  • 4G Wifi router (to act as a gateway between the various on-board equipment

📝Transport plan and required fields

Ensure that your transport plans (in GTFS format) are identical in your Pysae and Kuba solutions. It is possible to retrieve the GTFS published in Pysae via the transport plan API.

  • GTFS fields required to communicate between Pysae and KUBA

  • numCond = staffNumber

  • numParc = fleetNumber

  • numCourse = pisCode (value of custom field defined in OP)

  • mneLine = routeShortName

  • mneArret = stopId

  • service = blockId

  • direction = directionId +1

💻Configuration in Pysae

1/ Configuration

Go to the "Integrations" tab at the bottom left.

Click on the "Activate" button in the corresponding box.

2/ Adding the connection IP

The connection IP is the configuration IP address of the 4G routers that will power the connection between Pysae and AEP. You should ask your 4G provider for this address.

3/ Setting the TCP/IP port

The TCP/IP port to be specified depends on your Internet Service Provider (ISP). You should contact your ISP to obtain this information. The default setting is 33333.

4/ Selecting a GTFS field

The GTFS field is the element sent by Pysae to Kuba to identify the service provided by the driver. It is therefore used to launch the SIV on the corresponding service.

We provide several fields (from the GTFS) to exchange with Kuba. You can choose the code according to your topology and your specific needs.

Don't forget to click on the "Save" button.

Did this answer your question?