user mosquitto log_type all connection_messages true log_timestamp true listener 1883 listener 9883 protocol websockets allow_anonymous true # # Ruter MQTT Bridge # connection ruter-central-mqtt-broker address mqtt.stage.transhub.io:8883 bridge_cafile /etc/mosquitto/conf.d/amazon.ca.crt remote_username {MQTT_USERNAME} remote_password {MQTT_PASSWORD} remote_clientid {CLIENT_ID_BASED_ON_VIN} bridge_protocol_version mqttv50 bridge_tls_version tlsv1.2 notifications false cleansession true try_private true start_type automatic restart_timeout 10 keepalive_interval 60 # Subscribe for these topics # topic in/out qos shortroute longroute topic stop_button OUT 1 sensors/ ruter/{operator}/{vehicleid}/sensors/ topic door OUT 1 sensors/ ruter/{operator}/{vehicleid}/sensors/ topic location OUT 0 sensors/gnss/ ruter/{operator}/{vehicleid}/sensors/gnss/ topic odometer OUT 0 sensors/ ruter/{operator}/{vehicleid}/sensors/ topic # OUT 1 sensors/apc_sensors/ ruter/{operator}/{vehicleid}/sensors/apc_sensors/ topic # OUT 0 sensors/telemetry/ ruter/{operator}/{vehicleid}/sensors/telemetry/ topic state IN 1 oi/current_block/ {operator}/ruter/{vehicleid}/oi/current_block/ topic details IN 1 oi/current_vehicle_journey/ {operator}/ruter/{vehicleid}/oi/current_vehicle_journey/ topic expected_call IN 1 oi/current_vehicle_journey/ {operator}/ruter/{vehicleid}/oi/current_vehicle_journey/ topic text IN 1 oi/current_destination_display/ {operator}/ruter/{vehicleid}/oi/current_destination_display/ topic deviation_information IN 1 ei/ {operator}/ruter/{vehicleid}/ei/ topic transfer_information IN 1 ei/ {operator}/ruter/{vehicleid}/ei/ topic due_information IN 1 ei/ {operator}/ruter/{vehicleid}/ei/ topic audio_message IN 1 ei/ {operator}/ruter/{vehicleid}/ei/ topic block OUT 1 di/assignment_attempt/ ruter/{operator}/{vehicleid}/di/assignment_attempt/ topic block IN 1 di/assignment_attempt_rejection/ {operator}/ruter/{vehicleid}/di/assignment_attempt_rejection/ topic destination_display OUT 1 di/override_attempt/ ruter/{operator}/{vehicleid}/di/override_attempt/ topic available_destination_displays IN 1 di/ {operator}/ruter/{vehicleid}/di/ topic operational_message_to_driver IN 1 di/ {operator}/ruter/{vehicleid}/di/ topic api IN 1 pe/vehicle/ {operator}/ruter/{vehicleid}/pe/vehicle/ topic sales_validation OUT 1 pe/ ruter/{operator}/{vehicleid}/pe/ topic diagnostics OUT 1 pe/sales/ ruter/{operator}/{vehicleid}/pe/sales/ topic saleresult OUT 1 pe/sales/ ruter/{operator}/{vehicleid}/pe/sales/ topic validationresult OUT 1 pe/sales/ ruter/{operator}/{vehicleid}/pe/sales/ topic # OUT 0 pe/cardreader_diagnostics/ ruter/{operator}/{vehicleid}/pe/cardreader_diagnostics/ topic dpi_command IN 1 pe/ {operator}/ruter/{vehicleid}/pe/ topic # IN 1 pe/dpi/ {operator}/ruter/{vehicleid}/pe/dpi/ topic dpi_diagnostics OUT 1 pe/ ruter/{operator}/{vehicleid}/pe/ topic dpi_ack OUT 1 pe/ ruter/{operator}/{vehicleid}/pe/ topic doors_individually OUT 1 pe/ ruter/{operator}/{vehicleid}/pe/ topic doorlock OUT 1 pe/ ruter/{operator}/{vehicleid}/pe/ topic activecab OUT 1 pe/ ruter/{operator}/{vehicleid}/pe/ topic tsp IN 1 pe/ {operator}/ruter/{vehicleid}/pe/ topic ack OUT 1 pe/dpi/ ruter/{operator}/{vehicleid}/adt/v2/pe/dpi/