Broadcast modes

You can choose between 3 modes in the broadcast tab in JRT Config.

Mode 0 (default mode)

No broadcast

Mode 1

This mode allows you to share the timing, the trackmap, calculator and the dashboard pages on the internet using your own computer as a web server.

Then, people can access for example to the timing page typing the adress http://internetip:8000/timing.html where internetip is your iRacing computer internet IP. To make it works, you have to configure your router to allow TCP connections on the ports 8000 and 8003, and redirecting toward the iRacing computer local IP. To do that, you have to add specific NAT/PAT rules in the network paramaters of your router. You must also configure your iRacing computer with a static IP in your DHCP router parameters.

Mode 2

This mode allows you to share the timing, the dashboard and the trackmap pages on an external webserver.

To work, the webserver have to be able to execute php code, to accept external post requests, and let the php code have write access to the datajson folder.
Some hosts may have security settings that block the php code. If that's the case, you have to ask your host support for a bypass of rules 909111 and 35001.

Follow these steps:

Click on the "Create files to export" button in JRT Config.

Copy files to the webserver

Here is the files and the folders to put on your webserver :

trackmap.html
timing_broadcast.html
dashboard.html
timing.ico
post.php
flag.png
favicon.png
events.html
apple-touch-icon.png
/js
/img
/datajson
/css
/config
/clubs - logo

In addition to the timing and trackmap pages, you have an events.html page that displays some events :

- Entering pitlane
- Exiting pitlane
- Driver swap
- Overtake
- Best lap
- New leader
- Green flag
- Yellow flag
- Checkered flag

To access to the timing, the trackmap, the dashboard and the events pages on your website, enter the adress http://yourwebsite/timing_broadcast.html, http://yourwebsite/trackmap.html, http://yourwebsite/dashboard.html and http://yourwebsite/events.html

JRT Broadcast Timing Example
JRT Broadcast Trackmap Example (wait 5 seconds for the update)
JRT Broadcast Events Example

To define the rate that the data are sent, change the broadcast_pause value. This value is in milliseconds, so 5000 ms pause is equal to a refresh rate of 0.2.

How de update the page settings on the website ?

When you change the page settings locally and want to update it on the website, you have to click again on the "Create files to export" button. Then, just export the config folder to the web server or eventually only the config file corresponding to the page to update.

If your website is protected by a password ?

You may have to specify it in the post.php address, for example : https://user:pass@yourwebsite/post.php

If you want to configure your own web server, you can use those configuration files for Apache made by Saul (thanks to him):

Apache configuration

Mode 3

It is the same than mode 2 but it is adapted for teams. The telemetry data are sent on the web server only if the driver is in the car.

This way, all the drivers of the team get the good fuel infos and estimations on their JRT page if they use it, assuming that the driver also run JRT on his computer. Just the JRT server is required to be run with the good broadcast settings in JRT Config. They don't need to display the JRT pages.

To access to the timing page and the trackmap, you have to add the name of your team in parameter. For example, for my team named "Geko Vortex SimRacing HPD" I will enter this adress :

http://joel-real-timing.com/log_sample/timing_broadcast.html?team=Geko Vortex SimRacing HPD

The team name to enter in parameter can be slightly different because of special caracters, and you will find the exact used in a team.txt file located in the JRT server root folder. And since recent updates, the space is replaced by an underscore '_'.

JRT Broadcast Timing by Team Example
JRT Broadcast Trackmap by Team Example (wait 5 seconds for the update)
JRT Broadcast Events by Team Example


Broadcast logging

You can share your laptimes and fuel infos on your website as long as the webserver have is able to execute php code and also accept external post requests. Each time you run the JRT server, your laptimes and consumption are archived on the datajson folder of your web server.

JRT Logging page example

Your team mates or your spotter can use this page to follow your consumption live. You can also see the old sessions data. You have a link to the iRacing results.

If you have several drivers in the same session, you can select them in the TEAM list.
If you drive in a team and you swap the driver, you will see the name of the new driver in the car : Driver swap example

To use it, follow these steps :

Click on the "Create files to export" button in JRT Config

Copy files to the webserver

Here is the files and the folders to put on your webserver :

log_post.php
log_sessions.html
/js
/datajson
/css