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.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 json OUT 1 signon/ ruter/{operator}/{vehicleid}/itxpt/ota/signon/ topic json OUT 1 signoff/ ruter/{operator}/{vehicleid}/itxpt/ota/signoff/ topic json OUT 0 avl/ ruter/{operator}/{vehicleid}/itxpt/ota/avl/ topic +/json OUT 1 apc/ ruter/{operator}/{vehicleid}/itxpt/ota/apc/ topic +/json OUT 1 telemetry/ ruter/{operator}/{vehicleid}/itxpt/ota/telemetry/ topic json OUT 1 infohub/dpi/diagnostics/ ruter/{operator}/{vehicleid}/itxpt/ota/dpi/diagnostics/ topic json OUT 1 infohub/dpi/emergency/ ruter/{operator}/{vehicleid}/itxpt/ota/dpi/emergency/ topic json OUT 1 stopsignal/ ruter/{operator}/{vehicleid}/itxpt/ota/stopsignal/ topic json IN 1 infohub/dpi/externaldisplay/ {operator}/ruter/{vehicleid}/itxpt/ota/dpi/externaldisplay/ topic json IN 1 infohub/dpi/audio/ {operator}/ruter/{vehicleid}/itxpt/ota/dpi/audio/ topic json IN 1 infohub/madt/notification/ {operator}/ruter/{vehicleid}/itxpt/ota/madt/notification/ topic json IN 1 tsp/ {operator}/ruter/{vehicleid}/itxpt/ota/tsp/ topic json OUT 1 infohub/sales/diagnostics/ ruter/{operator}/{vehicleid}/itxpt/ota/sales/diagnostics/ 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 # IN 1 pe/dpi/ {operator}/ruter/{vehicleid}/pe/dpi/ topic api IN 1 pe/vehicle/ {operator}/ruter/{vehicleid}/pe/vehicle/ topic dpi_diagnostics OUT 1 pe/ ruter/{operator}/{vehicleid}/pe/ topic dpi_command IN 1 pe/ {operator}/ruter/{vehicleid}/pe/ topic door OUT 1 sensors/ ruter/{operator}/{vehicleid}/sensors/ topic vehicledirection OUT 1 pe/ ruter/{operator}/{vehicleid}/pe/ topic weather OUT 0 sensors/ ruter/{operator}/{vehicleid}/sensors/ topic fire OUT 1 sensors/alarm/ ruter/{operator}/{vehicleid}/sensors/alarm/ topic ack OUT 1 pe/dpi/ ruter/{operator}/{vehicleid}/adt/v1/pe/dpi/